pandas slice rows rage code example Example: slice dataframe dwpwnding on column value not emty df = df[df['EPS'].notna()]