Skip to content

TST: DataFrame.mad with nullable dtype#43170

Merged
mroeschke merged 3 commits intopandas-dev:masterfrom
jbrockmendel:tst-33036
Aug 23, 2021
Merged

TST: DataFrame.mad with nullable dtype#43170
mroeschke merged 3 commits intopandas-dev:masterfrom
jbrockmendel:tst-33036

Conversation

@jbrockmendel
Copy link
Copy Markdown
Member

def test_mad_nullable_integer():
# GH#33036
df = DataFrame(np.random.randn(100, 4).astype(np.int64))
df2 = df.astype("Int64")
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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