SigmaAnalytics & Tech
C2PythonBeginnerAbout 110 min to complete

DataFrames

Command of the two-dimensional labelled table you will use for the rest of this course.

Notebook

About 110 minutes to complete

Enrol to read the notebook and download it to run.

What this module covers

Command of the two-dimensional labelled table you will use for the rest of this course.

By the end of it

  • Create DataFrames from dicts, lists of records, arrays, and files
  • Inspect with .head, .info, .describe, .shape, .dtypes
  • Add, modify, and drop columns, including with .assign for chaining
  • Apply axis correctly in a two-dimensional context
  • Manipulate the index: set_index, reset_index, sort_index
  • Choose between vectorised operations, .apply, and .map
  • Combine DataFrames and understand column-wise alignment
  • Build a clean, chained analysis pipeline