-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
Pandas.items in Python2 vs Python3 #13918
Comments
Series has never had an |
if you want to submit a PR and see if anything breaks that would be great. |
I thought The implementation is currently:
I would simply propose removing the compat check (or not having it at all). |
@richlewis42 as I said, you can try removing it and see what happens (you prob also need to fix a test) |
This seems like a good idea to me. Can we do the same for |
Inconsistency between python2 and 3 - python2 has no
items
method (but does haveiteritems
). Shouldn'titems
anditeritems
be the same?Code Sample, a copy-pastable example if possible
Expected Output
<zip object at 0x11dc1f6c8>
python 2:
AttributeError: 'Series' object has no attribute 'items'
output of
pd.show_versions()
(python2)The text was updated successfully, but these errors were encountered: