To access values using row labels you may use DF._______ (DF means Dataframe) code example Example: slice dataframe dwpwnding on column value not emty df = df[df['EPS'].notna()]