pandas · Lesson 3.3 · Pro

Renaming, dropping and chaining

Tidy a table's columns, then write the whole clean-up as one readable chain.

In this lesson

  1. rename
  2. drop
  3. Tidy column names in one go
  4. Method chaining