I am trying to create a loop to create a loop that helps me drop any columns with a certain amount of missing values. Can someone help me?
for col in df:
"""Delete columns with over 200 missing values"""
if df[col].isnull().sum() > 200:
pd.DataFrame.drop(col)