标签:for pre value span das style python values class
import pandas as pd df = pd.DataFrame({‘a‘:[1,3,5,7,4,5,6,4,7,8,9], ‘b‘:[3,5,6,2,4,6,7,8,7,8,9]}) df
df1 = df.values.tolist()
df1
df2 = [tuple(x) for x in df.values] df2
标签:for pre value span das style python values class
原文地址:https://www.cnblogs.com/xiaolan-Lin/p/11954945.html