Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
use numpy to generate array of 25 random numbers sampled from a standard normal distribution
Home
NumPy
use numpy to generate array of 25 random numbers sampled from a standard normal distribution
+1
vote
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
use numpy to generate array of 25 random numbers sampled from a standard normal distribution
generate-array
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 8, 2021
by
rajeshsharma
use numpy to generate array of 25 random numbers sampled from a standard normal distribution
print(‘\n random number 25\n ‘,np.random.rand(25))
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: Write a function to generate N samples from a normal distribution and plot them on the histogram.
asked
Oct 28, 2022
in
Python
by
SakshiSharma
python
function
plot
histogram
+1
vote
Q: How to use of reshape ex.1 starting value is 1 and ending value is 50, print 10 integer random numbers
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
print-array
+2
votes
Q: 1D Slicing with above numpy arra..print[5,15,25,35]
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
slicing
+2
votes
Q: How to Print Range Between random number 2 row and 3 cols integers random numbers
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
print-range
+2
votes
Q: How to Print Range Between 1 To 100 and show 4 integers random numbers
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
print-array
+2
votes
Q: How to Print Range Between 1 To 15 and show 4 integers random numbers
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
print-range
print-array
+2
votes
Q: What is 1d indexing? define one ex : num = np.array([5,15,25,35])?
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
1d-indexing
0
votes
Q: What are the different ways to generate random numbers?
asked
Sep 7, 2022
in
Python
by
sharadyadav1986
python
generate-random-number
0
votes
Q: What is the process to generate random numbers in C programming language?
asked
Mar 17, 2020
in
C Plus Plus
by
SakshiSharma
#c-language-random-number
0
votes
Q: Explain how can you generate random numbers in Python?
asked
Jan 1, 2021
in
Python
by
SakshiSharma
#python-random-number-generation
Python-questions-answers
...