AttributeError: 'numpy.float64' object has no attribute 'pct_change' 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')