We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 423f3a8 commit 429eb68Copy full SHA for 429eb68
numpy/random-numbers/uniform-normal.py
@@ -0,0 +1,11 @@
1
+import numpy as np
2
+
3
+random_arr = np.random.random(size=1000)
4
+mean = np.mean(random_arr)
5
+standard_deviation = np.std(random_arr)
6
+print(mean, standard_deviation)
7
8
+other_arr = np.random.normal(size=1000)
9
+mean = np.mean(other_arr)
10
+standard_deviation = np.std(other_arr)
11
0 commit comments