drop rows where column value is Na in pandas code example Example: python remove nan rows df = df[df['my_var'].notna()]