SyntaxFix
Write A Post
Hire A Developer
Questions
To answer the original question on how to get the index as an integer for the desired selection, the following will work :
df[df['A']==5].index.item()