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
1D Slicing with above numpy arra..print[5,15,25,35]
Home
NumPy
1D Slicing with above numpy arra..print[5,15,25,35]
+2
votes
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
1D Slicing with above numpy arra..print[5,15,25,35]
slicing
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 4, 2021
by
sharadyadav1986
print(‘\n second upto last : ‘,num[1:])
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
+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 is slicing?
asked
May 10, 2023
in
Python Flask
by
john ganales
slicing
0
votes
Q: In Python what is slicing?
asked
Jan 1, 2021
in
Python
by
SakshiSharma
#slicing-python
slicing
Python-questions-answers
+2
votes
Q: Print 5 zeros in NumPy
asked
Jul 3, 2021
in
NumPy
by
sharadyadav1986
numpy-print
+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
+1
vote
Q: use numpy to generate array of 25 random numbers sampled from a standard normal distribution
asked
Jul 8, 2021
in
NumPy
by
rajeshsharma
generate-array
+1
vote
Q: Print reshape devide into array like 2 array with 5 values
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
print-reshape
0
votes
Q: A motorboat covers 25 km upstream and 39 km downstream by travelling at the same speed for 8 hours. On another occasion with the same speed, it covers 35 km upstream and 52 km downstream in 11 hours
asked
Oct 31, 2019
in
Other
by
MBarbieri
+2
votes
Q: print row 1 column 1 output will 5
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
print-row
...