how to label idex value in python code example Example: slice dataframe dwpwnding on column value not emty df = df[df['EPS'].notna()]