Skip to content

Fix AttributeError when binning an all-null Number column - #818

Open
santhreal wants to merge 2 commits into
wireservice:masterfrom
santhreal:fix/bins-all-null-number-column
Open

Fix AttributeError when binning an all-null Number column#818
santhreal wants to merge 2 commits into
wireservice:masterfrom
santhreal:fix/bins-all-null-number-column

Conversation

@santhreal

@santhreal santhreal commented Jul 18, 2026

Copy link
Copy Markdown

Table.bins hits AttributeError when all-null Number column. This PR fixes the regression with a focused test covering the case.

bins assumed Min/Max were Decimals; all-null columns now return a single null bin, and non-Number columns raise DataTypeError like sibling APIs.
Drop ceremonial bin_names/order_by; pivot alone is enough when Min/Max are None.
@santhreal santhreal closed this Jul 28, 2026
@jpmckinney jpmckinney reopened this Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants