Skip to content

Conversation

jbrockmendel
Copy link
Member

@jbrockmendel jbrockmendel commented Sep 26, 2025

xref #42349

Motivated by the discussion on yesterday's dev call about #62423, I think we eventually need something to indicate "treat this sequence as a scalar". That can either be pa.scalar if we eventually require pyarrow or pd.Scalar that this PR implements.

This PR implements a deprecation in Categorical comparisons as an example of a motivating use case. If we decide to go down this road, handling for it will need to be added in a bunch of places, kind of like lib.item_from_zerodim.

Update In case it wasn't obvious, this is definitely not for 3.0.

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.

1 participant