You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation says Series.items(), Series.iteritems() are equivalent to DataFrame.items() for DataFrames, but they're not. Instead, they are equivalent to DataFrame.iterrows()
I think this is more a semantic discussion about what "equivalent" means here, but feel free to propose a better description of the relation between Series.items() and DataFrame.items()
jorisvandenbossche
changed the title
Documentation says Series.items(), Series.iteritems() are equivalent to DataFrame.items(), but they're not.
DOC: Documentation says Series.items(), Series.iteritems() are equivalent to DataFrame.items(), but they're not.
Aug 12, 2019
Documentation says
Series.items()
,Series.iteritems()
are equivalent toDataFrame.items()
for DataFrames, but they're not. Instead, they are equivalent toDataFrame.iterrows()
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.items.html
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Series.iteritems.html
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.items.html
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.iterrows.html
The text was updated successfully, but these errors were encountered: