Convert a dataframe to list of tuples

Viewed 17909

I have a python pandas dataframe df like this:

a  b
1  3
3  6
5  7
6  4
7  8

I want to transfer it to a list:

[(1,3),(3,6),(5,7),(6,4),(7,8)]

Thanks.

3 Answers
Related