Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Loading the Data | Preprocessing Data: Part I
Analyzing and Visualizing Real-World Data

bookLoading the Data

Welcome to the course! Here, you will work with the sales data from 45 stores of a retail chain. Let's begin by loading and previewing the data.

Note

Remember to load the CSV file, use the .read_csv() method from the pandas library.

12345678
# 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_data_init.csv') # Viewing the data print(df)
copy

For the following questions, feel free to edit the code above if necessary.

1. How many rows does the df dataset have?

2. How many columns does the df dataset have?

question mark

How many rows does the df dataset have?

Select the correct answer

question mark

How many columns does the df dataset have?

Select the correct answer

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 1

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

Awesome!

Completion rate improved to 3.45

bookLoading the Data

Desliza para mostrar el menú

Welcome to the course! Here, you will work with the sales data from 45 stores of a retail chain. Let's begin by loading and previewing the data.

Note

Remember to load the CSV file, use the .read_csv() method from the pandas library.

12345678
# 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_data_init.csv') # Viewing the data print(df)
copy

For the following questions, feel free to edit the code above if necessary.

1. How many rows does the df dataset have?

2. How many columns does the df dataset have?

question mark

How many rows does the df dataset have?

Select the correct answer

question mark

How many columns does the df dataset have?

Select the correct answer

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 1
some-alt