-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
BUG: Cannot index frozenset
elements from a pd.Series or pd.DataFrame
#35747
Labels
Indexing
Related to indexing on series/frames, not to indexes themselves
Regression
Functionality that used to work in a prior pandas version
Milestone
Comments
jolespin
added
Bug
Needs Triage
Issue that has not been reviewed by a pandas team member
labels
Aug 15, 2020
dsaxton
added
Indexing
Related to indexing on series/frames, not to indexes themselves
Regression
Functionality that used to work in a prior pandas version
and removed
Bug
Needs Triage
Issue that has not been reviewed by a pandas team member
labels
Aug 16, 2020
Yea that would make a lot of sense. I think it flattens whatever iterable is in there even if it’s hashable but I haven’t looked at the source code.
…
|
Is there an install I can use with the update in the referenced Issue? If not, I can just downgrade my version. |
From the discussion it looks like the plan is to revert the change that caused this regression and perhaps backport to 1.1.0, but I don't know when that will happen. |
I think that there is agreement on restoring the 1.0.5 behaviour, but that is not the same as reverting the PR cc @jbrockmendel |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Indexing
Related to indexing on series/frames, not to indexes themselves
Regression
Functionality that used to work in a prior pandas version
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
(optional) I have confirmed this bug exists on the master branch of pandas.
Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.
Code Sample, a copy-pastable example
Problem description
In previous versions, I was able to use
frozenset
objects as the elements of the index. These are great objects to have for network analysis where I use as edges in my pd.Series and pd.DataFrameExpected Output
I should be able to index using these objects.
Output of
pd.show_versions()
pandas v1.1.0
The text was updated successfully, but these errors were encountered: