0 votes
1 view
in Data Science by (17.6k points)

Is that any way that I can get first element of Seires without have information on index.

For example,We have a Series

    import pandas as pd







prints out SUBJECTS:

    print (SUBJECTS[SUBJECTS.initials==key]['ID'])

    145    146

    Name: ID, dtype: int64

How can I get the value here 146 without using index 145?

Thank you very much

Please log in or register to answer this question.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
2 answers
Welcome to Intellipaat Community. Get your technical queries answered by top developers !