0 votes
1 view
in Data Science by (13.1k 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.