how to find if an index is perfectly sequenced pandas code example Example: slice dataframe dwpwnding on column value not emty df = df[df['EPS'].notna()]