BUG: ser.to_frame().all() inconsistent with ser.all() with CategoryDtype #36076
Labels
API - Consistency
Internal Consistency of API/Behavior
Nuisance Columns
Identifying/Dropping nuisance columns in reductions, groupby.add, DataFrame.apply
Numeric Operations
Arithmetic, Comparison, and Logical operations
Reduction Operations
sum, mean, min, max, etc.
Milestone
Based on tests.frame.test_analytics.test_any_all_np_func
Whats happening here is the DataFrame case is calling
self.values
which casts to int64 (avoidable with 2D EAs...).If instead we refactor (xref #35881) to operate blockwise, this block is ignored, so we end up getting the result we'd get on an empty DataFrame, i.e. True. (xref #28900 ignoring failures is a footgun).
Expected Behavior: as long as have ignore_failures,
df.all()
should beTrue
The text was updated successfully, but these errors were encountered: