-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
WARN: PerformanceWarning for non-pyarrow fallback #46732
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
Conversation
doc/source/whatsnew/v1.5.0.rst
Outdated
@@ -95,6 +95,7 @@ Other enhancements | |||
- :meth:`pd.concat` now raises when ``levels`` is given but ``keys`` is None (:issue:`46653`) | |||
- :meth:`pd.concat` now raises when ``levels`` contains duplicate values (:issue:`46653`) | |||
- Added ``numeric_only`` argument to :meth:`DataFrame.corr`, :meth:`DataFrame.corrwith`, and :meth:`DataFrame.cov` (:issue:`46560`) | |||
- A :class:`errors.PerformanceWarning` is now thrown when using with ``string[pyarrow]`` dtype with methods that don't dispatch to ``pyarrow.compute`` methods (:issue:`42613`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"when using with" is awkward. supposed to be "when using XYZ with"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, changed
@@ -331,6 +333,7 @@ def _maybe_convert_setitem_value(self, value): | |||
|
|||
def isin(self, values): | |||
if pa_version_under2p0: | |||
fallback_performancewarning(version="2") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you check that we are producing this in tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Testing this now with tm.assert_produces_warning
hmm lots of warnings not being caught
|
Hello @mroeschke! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2022-04-14 01:47:43 UTC |
doc/source/whatsnew/vX.X.X.rst
file if fixing a bug or adding a new feature.