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
I think it's pretty harmless; DataFrame already has .iteritems(), but of course Series.values is a property, not a function call, so duck-typing isn't 100% possible. But good enough, I suppose.
Note that list(df) is the same as what would be df.keys()
While learning Pandas this kind of method is useful to move from the well-understood dict structure to the more powerful DataFrame. As a pandas novice this kind of mental mapping would be much appreciated.
Return a list of column names.
The text was updated successfully, but these errors were encountered: