Closed king-michael closed 6 years ago
Series don't have the attribute .notna()
with old pandas versions (0.20.3).
Its introduced in 0.21
as alias for .notnull()
upgrade to at least : 0.21
(not test which version is the minimum)
pip install pandas --upgrade
.notnull()
.notna()
is an alias for .notnull()
so we move :
.isna()
=> .isnull()
and .notna()
=> .notnull()
so it will work with older versions
Solution:
add minimum requirement in setup.py
install_requires=[... , 'pandas>=0.21', ...]
Problem:
AttributeError: 'Series' object has no attribute 'notna'