Skip to content

DEPR: __array_wrap__ #45517

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 1 commit into from
Jan 21, 2022
Merged

Conversation

jorisvandenbossche
Copy link
Member

Follow-up on #45451 to deprecate the method, so we can actually remove it again in the future.

@jorisvandenbossche jorisvandenbossche added the Deprecate Functionality to remove in pandas label Jan 21, 2022
@jorisvandenbossche jorisvandenbossche added this to the 1.5 milestone Jan 21, 2022
Copy link
Member

@jbrockmendel jbrockmendel left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -2075,6 +2075,12 @@ def __array_wrap__(
Series implements __array_ufunc_ so this not called for ufunc on Series.
"""
# Note: at time of dask 2022.01.0, this is still used by dask
warnings.warn(
Copy link
Contributor

Choose a reason for hiding this comment

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

hmm i guess this is internal so DeprecationWarning is ok

@jreback jreback merged commit 461772a into pandas-dev:main Jan 21, 2022
@jorisvandenbossche jorisvandenbossche deleted the depr-array-wrap branch January 22, 2022 09:06
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants