User Tools

Site Tools


pandas_notes

What packages does pandas depend on?

EmptyDataError

Instead of

pandas.io.common.EmptyDataError

use

pandas.errors.EmptyDataError

data point | as of pandas 1.1.2, pandas.io.common.EmptyDataError does not work.

Ref:-

assert_frame_equal

Instead of

from pandas.util.testing import assert_frame_equal

use

from pandas.testing import assert_frame_equal

data point:

Using from pandas.util.testing import assert_frame_equal in pandas 1.1.2, I get

FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead.
pandas_notes.txt · Last modified: 2022/04/06 16:33 by raju