Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
items method only exists in python3 #17213
Code Sample, a copy-pastable example if possible
for k, c in df.items(): ...
This works on python3 and fails on python2. This seems like a natural thing to do to have easy duck-typing between dataframes and dicts of iterables.
Either the docs should be updated to flag this as a python3 only feature or
It looks like the initial shim came in via 16dbeab .
As a side-note,
it does not raise.