Skip to content
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

BUG: DataFrame.shift(axis=1) with EADtype #53832

Merged
merged 2 commits into from
Jun 26, 2023

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

Following this we can simplify the Manager/Block/EA methods since they will only ever get axis=0

@mroeschke mroeschke added Algos Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff ExtensionArray Extending pandas with custom dtypes or arrays. labels Jun 26, 2023
@mroeschke mroeschke added this to the 2.1 milestone Jun 26, 2023
@mroeschke mroeschke merged commit 2668932 into pandas-dev:main Jun 26, 2023
39 checks passed
@mroeschke
Copy link
Member

Thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the ref-shift branch June 26, 2023 17:51
Daquisu pushed a commit to Daquisu/pandas that referenced this pull request Jul 8, 2023
* BUG: DataFrame.shift(axis=1) with EADtype

* GH refs, final
@phofl
Copy link
Member

phofl commented Aug 25, 2023

Thoughts about deprecating this first? This is not great for Dask for example, since users won't be able to use older versions of dask with the new pandas version since the default for us is None which will raise

cc @jbrockmendel

@jbrockmendel
Copy link
Member Author

No objection to doing this as a deprecation first (i.e. #54818)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Algos Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff ExtensionArray Extending pandas with custom dtypes or arrays.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants