PANDAS menjatuhkan nilai yang hilang untuk kolom apa pun
df = df.dropna(axis = 1)
Xerothermic Xenomorph
df = df.dropna(axis = 1)
# making new data frame with dropped NA values
new_data = df.dropna(axis = 0, how ='any')
# Drop rows which contain any NaN value in the selected columns
mod_df = df.dropna( how='any',
subset=['Name', 'Age'])
df = df[pd.notnull(df['RespondentID'])]
# Drop the missing value present in the "RespondentID" column
df = df.dropna(how = 'all')
df = df.dropna()