We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
numfocus
Learn more about funding links in repositories.
Report abuse
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
core.ops has a check elif is_categorical_dtype(y) and not is_scalar(y):.
core.ops
elif is_categorical_dtype(y) and not is_scalar(y):
AFAICT the only case with is_categorical_dtype that is scalar is "category". Am I missing a non-trivial case?
is_categorical_dtype
"category"
The text was updated successfully, but these errors were encountered:
this is prob not used any longer, the is_categorical_dtype is enough.
Sorry, something went wrong.
In the tests this gets hit by df.dtypes == 'category'
df.dtypes == 'category'
can u make a comment to that effect in the code and tests
Yah, planning to handle the categorical_dtype case in core.ops after pinning down the canonical behavior in #19513 and debugging #19524.
No branches or pull requests
core.ops
has a checkelif is_categorical_dtype(y) and not is_scalar(y):
.AFAICT the only case with
is_categorical_dtype
that is scalar is"category"
. Am I missing a non-trivial case?The text was updated successfully, but these errors were encountered: