Does anyone could help?
Please show a full code example where you get this warning.
Either the warning is coming from another library, and then you can ignore it. Or either you are importing from pandas.util.testing import assert_frame_equal yourself, and then you can change it with from pandas.testing import assert_frame_equal
I've got the same error a moment ago when importing Seaborn. I've previous notebooks where this working fine, and the only variable changed since then is the new version of Pandas now moved into the 1.X side.
I'd assume that future warning is due to Pandas then, with Seaborn referencing some that will be sooner dismissed.
I cannot see an harm in the short term, but somebody managing the Seaborn package should update the reference.
This is happening with Seaborn 0.10, the most recent available as far as I can tell.
Yes, on the short term, this is nothing to worry about (although annoying to see), as it are warnings not errors.
But it's seaborn that will need to update their imports to fix this (and I see you already opened an issue there).
Going to close this issue, as there is no action to be taken by pandas.
I was having the same issue, and agree it is not a pandas issue. I was able to resolve this issue by making sure pandas was version 1.0.4, seaborn was 0.10.1, and statsmodels was 0.11.1.
I had the same issue. Resolved it.
Just open in editor
C:\Users\Amber\AppData\Local\Programs\Python\Python37\Lib\site-packages\pandas_datareader\compat_init_.py
Replace:
from pandas.util.testing import assert_frame_equal
with
from pandas.testing import assert_frame_equal
Just remove the 'cmap' from the seaborn.heatmap or you could use the solutions in the comments above.
Most helpful comment
I had the same issue. Resolved it.
Just open in editor
C:\Users\Amber\AppData\Local\Programs\Python\Python37\Lib\site-packages\pandas_datareader\compat_init_.py
Replace:
from pandas.util.testing import assert_frame_equalwith
from pandas.testing import assert_frame_equal