How to do the opposite of this?
I have a list of namedtuples that I built by iterating a pandas dataframe:
list = []
for currRow in dataframe.itertuples():
list.append(currRow)
How to convert this list of namedtuples into a list of tuples? Note that itertuples() returns namedtuples.