The pandas.np module is deprecated and will be removed from pandas in a future version. Import numpy

The pandas.np module is deprecated and will be removed from pandas in a future version. Import numpy directly instead from pandas import np

The reason for this is because I am still using from pandas import np
and it seems to be upgraded

pip install --upgrade pandas

Then make corresponding changes according to the prompts returned by the console. Here I am prompting import numpy instead from pandas import np... So comment out that sentence and transpose import numpy

Related Posts