DEPR: deprecate Index.is_object by bang128 · Pull Request #50227 · pandas-dev/pandas (original) (raw)

Hi @bang128 I think you're getting quite close. The issues that I see are:

1: doc/source/whatsnew/v2.0.0.rst
There are some artifacts in doc/source/whatsnew/v2.0.0.rst likely from a git rebase. Can you fix those.

2: failures
In general you need to go through the test logs above (click the "details" button) to see which errors have been raised. I can see these, which need to be fixed in one test log:

FAILED pandas/tests/series/methods/test_describe.py::TestSeriesDescribe::test_numeric_result_dtype[complex] - TypeError: a must be an array of real numbers
FAILED pandas/tests/series/methods/test_describe.py::TestSeriesDescribe::test_numeric_result_dtype[complex64] - TypeError: a must be an array of real numbers
FAILED pandas/tests/series/methods/test_describe.py::TestSeriesDescribe::test_numeric_result_dtype[complex128] - TypeError: a must be an array of real numbers

Looks like something related to the treatment of complex numbers. I'm not able to run these tests right now, but if you could attempt to solve them, I can take a closer look tonight and help you fix them, if you haven't been able to before.

There may be others, I haven't checked all test failures.