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

TEST: cut() with nullable Int64 dtype #51384

Merged
merged 6 commits into from Feb 16, 2023
Merged

Conversation

kkangs0226
Copy link
Contributor

@mroeschke mroeschke added Testing pandas testing functions or related to the test suite cut cut, qcut NA - MaskedArrays Related to pd.NA and nullable extension arrays labels Feb 14, 2023

def test_cut_with_nullable_int64():
# GH 30787
series = Series([0, 1, 2, 3, 4, np.nan, 6, 7], dtype="Int64")
Copy link
Member

Choose a reason for hiding this comment

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

can you set pd.NA here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've updated the test!

@phofl phofl added this to the 2.0 milestone Feb 16, 2023
@phofl phofl merged commit 32f1fad into pandas-dev:main Feb 16, 2023
@phofl
Copy link
Member

phofl commented Feb 16, 2023

thx @kkangs0226

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cut cut, qcut NA - MaskedArrays Related to pd.NA and nullable extension arrays Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unexpected behavior in cut() with nullable Int64 dtype
3 participants