pandas.DataFrame.itertuples — pandas 0.16.2 documentation (original) (raw)

DataFrame.itertuples(index=True)

Iterate over rows of DataFrame as tuples, with index value as first element of the tuple