📅  最后修改于: 2022-03-11 14:46:16.900000             🧑  作者: Mango
代码示例4
import pandas as pd
lst = [1,2,3]
df = pd.DataFrame([lst])
df.columns =['col1','col2','col3']
df
to get this:
col1 col2 col3
0 1 2 3