DataThink Development
  • Modules

On this page

  • Task 13: Controlling categorical variables (factors)
    • Background
    • Reading
    • Tasks

task-13

Task 13: Controlling categorical variables (factors)

Background

When we are visualizing data with categorical variables, we have to deal with character strings as groupings. The problem with summarizing categorical data in a table or a plot is how to order the groups. Using the concept of Factors allows us to dictate the order of these groupings for presentation. We will revisit the stock data from a previous task to create a table and a plot that has the months correctly labeled and ordered.

  • Back or Course Website

Reading

This reading will help you complete the tasks below.

  • o Python for Data Science - Categorical Data

Tasks