pandas dropna based on 3 columns code example Example: dropping nan in pandas dataframe df.dropna(subset=['name', 'born'])