I have an imported xls file as pandas dataframe, there are two columns containing the coordinates that I will use to merge the dataframe with others that have geolocation data. df.info () shows 8859 records, the coordinate columns have records "8835 non-null float64".
I want to view 24 rows (which I assume are null), with all the column entries, to see if one of the other columns (street address city) can be used to manually add coordinates for these 24 entries. I.e. return dataframe for the column in df. ['Easting'] where isnull or NaN
I adapted the method given here as shown below:
df.loc[df['Easting'] == NaN]
But return an empty framework (0 rows Γ 24 columns), which does not make sense (for me). Trying to use Null or Non null does not work because these values ββare undefined. What am I missing?
source
share