📌  相关文章
📜  如何在python代码示例中将列表转换为数据框

📅  最后修改于: 2022-03-11 14:46:32.595000             🧑  作者: Mango

代码示例4
L = ['Thanks You', 'Its fine no problem', 'Are you sure']

#create new df 
df = pd.DataFrame({'col':L})
print (df)

                   col
0           Thanks You
1  Its fine no problem
2         Are you sure