Skip to content

ENH: implement Series.diff for nullable dtypes #37779

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

Closed
arw2019 opened this issue Nov 12, 2020 · 2 comments
Closed

ENH: implement Series.diff for nullable dtypes #37779

arw2019 opened this issue Nov 12, 2020 · 2 comments
Labels
Enhancement ExtensionArray Extending pandas with custom dtypes or arrays. NA - MaskedArrays Related to pd.NA and nullable extension arrays Needs Triage Issue that has not been reviewed by a pandas team member

Comments

@arw2019
Copy link
Member

arw2019 commented Nov 12, 2020

xref #28385 (comment)

@arw2019 arw2019 added Enhancement Needs Triage Issue that has not been reviewed by a pandas team member ExtensionArray Extending pandas with custom dtypes or arrays. NA - MaskedArrays Related to pd.NA and nullable extension arrays labels Nov 12, 2020
@phofl
Copy link
Member

phofl commented Nov 15, 2020

Actually that was already implemented. Executing the example on master yields

pd.Series([1, 2, 3], dtype="Int16").diff()
0    <NA>
1       1
2       1
dtype: Int16

@mroeschke
Copy link
Member

Since this was implemented, I think this issue should be good to close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement ExtensionArray Extending pandas with custom dtypes or arrays. NA - MaskedArrays Related to pd.NA and nullable extension arrays Needs Triage Issue that has not been reviewed by a pandas team member
Projects
None yet
Development

No branches or pull requests

3 participants