float object has no attriubte isnull code example
Example: 'numpy.float64' object has no attribute 'isnull'
for element in my_series:
if type(element) == float and pd.isna(element):
print('do A')
else:
print('do B')
for element in my_series:
if type(element) == float and pd.isna(element):
print('do A')
else:
print('do B')