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 reshape devide into array like 2 array with 5 values
Home
NumPy
Print reshape devide into array like 2 array with 5 values
+1
vote
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
Print reshape devide into array like 2 array with 5 values
print-reshape
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 9, 2021
by
rajeshsharma
Print reshape devide into array like 2 array with 5 values
Ans: print(‘\nreshaped array’,num.reshape(2,5))
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
+2
votes
Q: 1D Slicing with above numpy array..print[5,15]
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
1d-slicing
+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
+1
vote
Q: What is 2d indexing? define one ex : num = np.array([1,2,3],[4,5,6],[7,8,9])
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
2d-indexing
+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 zeros with 2 rows and 3 columns ?
asked
Jul 3, 2021
in
NumPy
by
sharadyadav1986
print-numpy
+2
votes
Q: print row 1 column 1 output will 5
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
print-row
+2
votes
Q: Print 5 zeros in NumPy
asked
Jul 3, 2021
in
NumPy
by
sharadyadav1986
numpy-print
+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
+2
votes
Q: Print row 2 column 2 output will 9
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
print-row
...