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
if we don’t know last number of position how to show it by pragmatically ?
Home
NumPy
if we don’t know last number of position how to show it by pragmatically ?
+2
votes
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
if we don’t know last number of position how to show it by pragmatically ?
number-position
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 4, 2021
by
sharadyadav1986
num = np.array([5,15,25,35]) if not added
print(‘\n last indexing done by -1 position : ‘,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: Print first position, last position and 2nd and 3rd position
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
print-numpy
+2
votes
Q: how to identified last number of numpy array?
asked
Jul 4, 2021
in
NumPy
by
sharadyadav1986
numpy-array
+1
vote
Q: What will you do if you don’t get this position?
asked
Oct 24, 2019
in
Interview Question
by
AdilsonLima
#interview
#interviewquestions
#interviewquestionandanswer
+1
vote
Q: If we stored five elements or data items in an array, what will be the index address or the index number of the array's last data item?
asked
Jan 20, 2021
in
C Plus Plus
by
SakshiSharma
#array-data-item
#array-item
c-plus-plus-array
+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
0
votes
Q: Where can we test the apple iPhone apps if we don’t have an iOS device?
asked
Nov 7, 2022
in
Swift
by
Robin
apple-iphone
swift
0
votes
Q: When we don't record the adhoc changes of hardware/software, it is called the
asked
May 22, 2019
in
Other
by
Derya
#infrastructure
#code
0
votes
Q: How is it possible to know the number of rows returned in the result set?
asked
Jun 22, 2019
in
PHP
by
SakshiSharma
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
0
votes
Q: What happens if You don't Override the Mapper methods and keep them as it is?
asked
Jun 20, 2023
in
HDFS
by
john ganales
mappermethods
...