0

I got a pandas DataFrame of a table I have imported from an Access database. Some of the values in that Access table are empty. As I was playing with the data frame, I stumbled into this situation: The type of the data in a specific box (row, column) does not match a the corresponding boolean statement.

type(df.loc['3000', 'email'])
>>> NoneType
type(df.loc['3000', 'email']) == None
>>> False

Tried several ways but it seems like the data is printed out as None but isn't actually None. Any idea why? What is actually imported for empty boxes? What will be a True equality statement? Thank you.

David
  • 1
  • 1

0 Answers0