[python] Pandas convert dataframe to array of tuples