Track 14 · Lesson 4 of 12
DataFrames and loading data
Load a CSV file into a pandas DataFrame, inspect its shape, columns and types, and select the columns you need.
You will be able to
- Create a DataFrame from a dictionary of lists
- Load a CSV file with pd.read_csv, including files with unusual separators or extra lines
- Inspect data with head, shape, columns, dtypes, info and describe
- Select one column as a Series and several columns as a DataFrame
Included with a Formula Quest membership
It has 3 graded exercises with feedback, hints and solutions. Python Quest is included in Formula Quest memberships that cover Python; membership and billing are managed on Formula Quest.
View Formula Quest memberships
Tracks 1 and 2, the first lesson of every track, the playground and the dataset library are free.