SyntaxFix
Write A Post
Hire A Developer
Questions
>>> myseries[myseries == 7] 3 7 dtype: int64 >>> myseries[myseries == 7].index[0] 3
Though I admit that there should be a better way to do that, but this at least avoids iterating and looping through the object and moves it to the C level.