how to remove Nan and keep just empty box in the dataframe code example Example: python remove nan rows df = df[df['my_var'].notna()]