Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

part of list into dataframe

# 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']) 
 
PREVIOUS NEXT
Tagged: #part #list #dataframe
ADD COMMENT
Topic
Name
8+2 =