📅  最后修改于: 2022-03-11 14:46:54.202000             🧑  作者: Mango
# 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'])