flatten a dataframe df to a list,df.values.flatten()