BUG: DataFrame(MaskedRecords) inconsistent with Series behavior #38399
Labels
API - Consistency
Internal Consistency of API/Behavior
Bug
Constructors
Series/DataFrame/Index/pd.array Constructors
Milestone
Example based on tests.frame.test_constructors.TestDataFrameConstructors.test_constructor_mrecarray, which has comment "Ensure mrecarray produces frame identical to dict of masked arrays from GH3479"
I would expect these two to match.
Note that
alt["masked1_float"]._values
is a masked_array, so that is non-lossy (thoughalt["masked1_float"]
's repr does not make that obvious).expected["masked1_float"]._values
is a regular ndarray, so that is lossy.The text was updated successfully, but these errors were encountered: