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

DEPR: DataFrame(MaskedRecords) #40363

Merged
merged 3 commits into from Mar 15, 2021

Conversation

jbrockmendel
Copy link
Member

@jbrockmendel jbrockmendel commented Mar 11, 2021

@simonjayhawkins simonjayhawkins added the Deprecate Functionality to remove in pandas label Mar 14, 2021
@jreback jreback added this to the 1.3 milestone Mar 15, 2021
@jreback jreback added the Reshaping Concat, Merge/Join, Stack/Unstack, Explode label Mar 15, 2021
@@ -993,10 +993,19 @@ def test_constructor_maskedrecarray_dtype(self):
np.ma.zeros(5, dtype=[("date", "<f8"), ("price", "<f8")]), mask=[False] * 5
)
data = data.view(mrecords.mrecarray)
result = DataFrame(data, dtype=int)

with tm.assert_produces_warning(FutureWarning):
Copy link
Contributor

Choose a reason for hiding this comment

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

normally would want a separate test, but ok

@jreback jreback merged commit 7839305 into pandas-dev:master Mar 15, 2021
@jbrockmendel jbrockmendel deleted the depr-maskedrecords branch March 15, 2021 00:55
JulianWgs pushed a commit to JulianWgs/pandas that referenced this pull request Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deprecate Functionality to remove in pandas Reshaping Concat, Merge/Join, Stack/Unstack, Explode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: DataFrame(MaskedRecords) inconsistent with Series behavior
3 participants