Skip to content

ENH: move DataError from core/base.py to error/__init__.py per GH27656 #47047

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 21, 2022

Conversation

dataxerik
Copy link
Contributor

@dataxerik dataxerik commented May 18, 2022

@jreback jreback added this to the 1.5 milestone May 19, 2022
@@ -150,6 +150,7 @@ Other enhancements
- Added ``validate`` argument to :meth:`DataFrame.join` (:issue:`46622`)
- A :class:`errors.PerformanceWarning` is now thrown when using ``string[pyarrow]`` dtype with methods that don't dispatch to ``pyarrow.compute`` methods (:issue:`42613`)
- Added ``numeric_only`` argument to :meth:`Resampler.sum`, :meth:`Resampler.prod`, :meth:`Resampler.min`, :meth:`Resampler.max`, :meth:`Resampler.first`, and :meth:`Resampler.last` (:issue:`46442`)
- Moved :class:`DataError` from ``pandas.core.base`` to ``pandas.errors`` (:issue:`27656`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not necessary as there isn't a visible user change (pandas.core is considered private). so you can re-word to say its now exposed in pandas.errors or just omit the note is ok too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the feedback, I've reworded the note

@jreback jreback added the Error Reporting Incorrect or improved errors from pandas label May 21, 2022
@jreback jreback merged commit c6b7685 into pandas-dev:main May 21, 2022
@jreback
Copy link
Contributor

jreback commented May 21, 2022

thanks @dataxerik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Error Reporting Incorrect or improved errors from pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants