Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get index number pandas dataframe

df.index[df['BoolCol'] == True].tolist()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #index #number #pandas #dataframe
ADD COMMENT
Topic
Name
5+2 =