7  Manipulating columns

Learning objectives

7.1 Context

On day 1 we learned to deal with tabular data. Sometimes we have many variables and we might only want to work with a subset of them.

7.2 Manipulation of variables

7.2.1 Selecting columns

LO: selecting columns

7.2.2 Renaming and reshuffling columns

LO: renaming and reshuffling columns

7.2.3 Creating new columns

LO: creating new columns

7.3 Summary

Key points