-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
API/BUG: Categorical.is_dtype_equal doesn't compare to Series #16659
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
Labels
Milestone
Comments
yep [30] should be True. |
funnycrab
added a commit
to funnycrab/pandas
that referenced
this issue
Jun 11, 2017
This is a fix attempt for issue pandas-dev#16659.
4 tasks
funnycrab
added a commit
to funnycrab/pandas
that referenced
this issue
Jul 22, 2017
This is a fix attempt for issue pandas-dev#16659.
funnycrab
added a commit
to funnycrab/pandas
that referenced
this issue
Sep 25, 2017
This is a fix attempt for issue pandas-dev#16659.
funnycrab
added a commit
to funnycrab/pandas
that referenced
this issue
Nov 12, 2017
This is a fix attempt for issue pandas-dev#16659.
Looks like this is fixed in 0.22.0 (so really probably fixed in 0.21.x): In [2]: pd.__version__
Out[2]: '0.22.0'
In [3]: c1 = pd.Categorical(['a', 'b'])
In [4]: c2 = pd.Categorical(['a', 'b'])
In [5]: s = pd.Series(c1)
In [6]: c1.is_dtype_equal(c2)
Out[6]: True
In [7]: c1.is_dtype_equal(s)
Out[7]: True Could still use a test to prevent regression though. |
if u can put up a test would be great |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
xref #16639
I think
[30]
should be true?The text was updated successfully, but these errors were encountered: