...

/

Section 1: Brand Analysis

Section 1: Brand Analysis

In this lesson, the impact of a brand name on consumer purchasing behavior is discussed.

We'll cover the following...

Exploring the data

The data files for both October &andNovember are very large in size so for this exercise, the data for only October will be selected and used. Let’s review and analyze what data is stored in which format.

The following code reads the CSV data file and prints the DataFrame.

Note: The code in this chapter is not runnable due to memory constraints. Please run them locally along with each lesson.

Press + to interact
import pandas as pd
df = pd.read_csv("2019-Oct.csv") # Reading the data from file
print(df)
widget

According to the output, there are nine columns in the DataFrame, which are described below:

  • event_time ...