Python Quest

Track 14 · Lesson 3 of 12

pandas Series

Use a pandas Series — a labelled column of values — for vectorised calculations, counting categories and quick summaries.

About 40 minIntermediate4 exercises

You will be able to

  • Create a Series from a list or dictionary and read its index, values and dtype
  • Access values by label and by position
  • Explain how pandas aligns two Series by label in arithmetic
  • Count categories with value_counts and summarise numbers with describe
  • Handle missing values (NaN) in counts and averages

Included with a Formula Quest membership

It has 4 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.