0

I am trying to do EDA and running below code data = data[~data.age.isnull()].copy()

Getting error as "AttributeError: 'numpy.int64' object has no attribute 'isnull'" Please help me if anybody knows. Thanks

I tried to convert the values but still did not get a perfect solution. What I am missing?

  • Likely, `data` is a Series/1D-array, and `data.age` return an element. What gives `type(data)`? – mozway Mar 28 '22 at 12:26

0 Answers0