📜  列表到数据框 - Python 代码示例

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

代码示例6
# import pandas as pd 

import pandas as pd 
# list of strings 
lst = ['fav', 'tutor', 'coding', 'skills']
# Calling DataFrame constructor on list 
df = pd.DataFrame(lst) 
print(df)