Специфическая колонка панд -капельна
df.dropna(subset=['column1','column2'], inplace=True)
M.U
df.dropna(subset=['column1','column2'], inplace=True)
df = df[df['EPS'].notna()]
df.dropna() #drop all rows that have any NaN values
df.dropna(how='all')
df = df[df['EPS'].notna()] #instead of dropping, take another DF with non-na values
df.dropna(subset = ['column1', 'column2'], inplace = True)
# Returns a new DataFrame omitting rows with null values
df4.na.drop().show()
# +---+------+-----+
# |age|height| name|
# +---+------+-----+
# | 10| 80|Alice|
# +---+------+-----+