Session Ready
Exercise

Exploring laptop prices

We walked through an example in the video of surface-level data analysis of categorical variables. Here, you'll perform a similar task first-hand. Taken from the same pre-loaded laptops dataset, you'll work with three separate brands: Acer, Asus, and Toshiba.

You'll produce some initial information about the dataset, create a countplot of the companies, and analyze the relationship of each against the price in euros.

All of the usual packages have been imported for you. We've also gone ahead and imported the seaborn package as sns for you, which we'll use for visualization.

Instructions 1/3
undefined XP
  • 1
  • 2
  • 3
  • Get some initial information about the data using the info() function; here you can see the null values and data types quite easily.