-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
CLN/DEPR: remove Block._holder, deprecated Block.is_categorical #40571
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
Conversation
@@ -227,7 +218,13 @@ def _can_hold_na(self) -> bool: | |||
@final | |||
@property | |||
def is_categorical(self) -> bool: | |||
return self._holder is Categorical | |||
warnings.warn( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there something that actually tests this warning?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, its a DeprecationWarning, just for eg pyarrow
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
right but shouldn't we assert it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm ping on green
ping |
Small correction: for fastparquet |
No description provided.