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
Print 5 zeros in NumPy
Home
NumPy
Print 5 zeros in NumPy
+2
votes
asked
Jul 3, 2021
in
NumPy
by
sharadyadav1986
Print 5 zeros in NumPy
numpy-print
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 3, 2021
by
sharadyadav1986
arr = np.zeros(5)
print(‘single arrya’,arr)
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
+1
vote
Q: using ravel() we can combine arrays into single
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
numpy-print
+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: 1D Slicing with above numpy array..print[5,15]
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
1d-slicing
+2
votes
Q: How to print zeros with 2 rows and 3 columns ?
asked
Jul 3, 2021
in
NumPy
by
sharadyadav1986
print-numpy
+1
vote
Q: Print reshape devide into array like 2 array with 5 values
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
print-reshape
+2
votes
Q: print row 1 column 1 output will 5
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
print-row
0
votes
Q: Explain numpy.zeros in Python
asked
May 17, 2022
in
Python
by
sharadyadav1986
numpy
zeroes
+2
votes
Q: Print the probabilty arr = [0.23, 0.09, 1.2, 1.24, 9.99] using fix() this example of fuzzy logic or probability
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
probability
+1
vote
Q: print value who divide by 2 and remain is 0.
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
convert-boolean
+1
vote
Q: Print number from 1 to 10 using arange() function
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
print-arange
...