Course Content
Analyzing and Visualizing Real-Life Data
2. Preprocessing Data: Part II
Analyzing and Visualizing Real-Life Data
Superficial Analysis
Welcome to the third section of the course! Here, you will use the pandas
library to analyze data by answering specific questions.
Let's start with some basic information. We are going to analyze and visualize data on store sales. First, we need to determine how many stores we are working with. We can use the .describe()
method of pandas
to show the main descriptive statistics on numerical columns.
Also, we can use the .unique()
method of pandas
to get only unique values of a certain column.
For the following question, feel free to edit the code above if necessary.
What is the number of unique stores in the df
dataframe?
Select the correct answer
Everything was clear?