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

book
Data Types

Great! The dataset appears to be large enough, with 6435 rows and 8 columns. Let's check the data types of the columns in the df dataframe.

# 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')

# Checking columns types
print(df.dtypes)
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') # Checking columns types print(df.dtypes)
copy

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

question mark

Which of the following data types are present in the df dataframe?

Select the correct answer

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 1. Capítulo 2
some-alt