Droping null values of column in pandas code example Example: dropping nan in pandas dataframe df.dropna(subset=['name', 'born'])