I'm loading a excel file with pandas and iterating it's rows checking if the 'Status' Column is not NULL and I'm getting an error AttributeError: 'str' object has no attribute 'isnull', I also tried isna(), is None.
Code:
data = read_excel('ExcelFile.xlsx')
results = {
}
for index, row in data.iterrows():
if row['Status'].isnull():
print('NULL')
DataFrame:
ID Status
0 0 Success
1 1 NaN