소스 뷰어
import numpy as np

rng = np.random.default_rng()

print( "1", rng.integers(0, 10, 3) )
print( "2", rng.integers(0, 10, 3, endpoint=True) )
print( "3", rng.random(3) )
print( "4", rng.standard_normal(3) )
print( "5", rng.uniform(1, 10, 3) )
print( "6", rng.normal(5, 2, 3) )
1 [3 5 5]
2 [6 5 2]
3 [0.41557125 0.83242958 0.33545783]
4 [-0.69408035  1.01791191  1.41988691]
5 [8.71954517 5.91896136 4.32095566]
6 [6.95802076 2.45223811 5.72320872]
The Kernel crashed while executing code in the current cell or a previous cell. 

Please review the code in the cell(s) to identify a possible cause of the failure. 

Click <a href='https://aka.ms/vscodeJupyterKernelCrash'>here</a> for more info. 

View Jupyter <a href='command:jupyter.viewOutput'>log</a> for further details.