📌  相关文章
📜  列表的一部分进入数据框 - Python 代码示例

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

代码示例3
# Create datafrae from student list but skip column 'Age' i.e. only with 2 columns
dfObj = pd.DataFrame.from_records(students, exclude=['Age'], columns = ['Name' , 'Age', 'City'], index=['a', 'b', 'c'])