0

I'm using pandas and trying to select all the rows with a nan in it from a column. I've tried the following, but no joy, where am I going wrong?

aa.loc[((aa['_merge'] == 'right_only') & (aa['Context Interpretation'] == np.nan))]

aa.loc[((aa['_merge'] == 'right_only') & (aa['Context Interpretation'] == 'nan'))]
Spatial Digger
  • 1,883
  • 1
  • 19
  • 37

0 Answers0