Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre How Periodic the Data is? | Analyzing Data
Analyzing and Visualizing Real-World Data

bookHow Periodic the Data is?

Okay, now we know that the dataset contains about 2 years of data. But how periodic is the data? Do we have daily or less periodic data? Let's find out by inspecting several consecutive values.

123456789
# Loading the library import pandas as pd # Reading the data df = pd.read_csv('https://codefinity-content-media.s3.eu-west-1.amazonaws.com/72be5dde-f3e6-4c40-8881-e1d97ae31287/shops_data3.csv') df['Date'] = pd.to_datetime(df['Date'], dayfirst = True) # Inspecting the first 5 records of the 'Date' column print(df['Date'].head())
copy

For the following question, feel free to edit the code above, if needed.

question mark

What is the frequency or periodicity of the data we are analyzing?

Select the correct answer

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 4

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

Awesome!

Completion rate improved to 3.45

bookHow Periodic the Data is?

Glissez pour afficher le menu

Okay, now we know that the dataset contains about 2 years of data. But how periodic is the data? Do we have daily or less periodic data? Let's find out by inspecting several consecutive values.

123456789
# Loading the library import pandas as pd # Reading the data df = pd.read_csv('https://codefinity-content-media.s3.eu-west-1.amazonaws.com/72be5dde-f3e6-4c40-8881-e1d97ae31287/shops_data3.csv') df['Date'] = pd.to_datetime(df['Date'], dayfirst = True) # Inspecting the first 5 records of the 'Date' column print(df['Date'].head())
copy

For the following question, feel free to edit the code above, if needed.

question mark

What is the frequency or periodicity of the data we are analyzing?

Select the correct answer

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 4
some-alt