Skip to content

TST: DataFrame.mad with nullable dtype #43170

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 3 commits into from
Aug 23, 2021

Conversation

jbrockmendel
Copy link
Member

def test_mad_nullable_integer():
# GH#33036
df = DataFrame(np.random.randn(100, 4).astype(np.int64))
df2 = df.astype("Int64")
Copy link
Member

Choose a reason for hiding this comment

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

Should this work with the any_signed_int_ea_dtype fixture?

Copy link
Member Author

Choose a reason for hiding this comment

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

good idea, updated

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Aug 23, 2021
@mroeschke mroeschke added this to the 1.4 milestone Aug 23, 2021
@mroeschke mroeschke merged commit 8814de9 into pandas-dev:master Aug 23, 2021
@mroeschke
Copy link
Member

Thanks @jbrockmendel

@jbrockmendel jbrockmendel deleted the tst-33036 branch August 23, 2021 23:12
feefladder pushed a commit to feefladder/pandas that referenced this pull request Sep 7, 2021
* TST: DataFrame.mad with nullable dtype

* Use any_signed_int_ea_dtype
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: DataFrame.mad(axis=1) not working for nullable integer dtype
2 participants