how to delete row if it contains all nan for speified columns code example Example: drop if nan in column pandas df = df[df['EPS'].notna()]