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

bookChecking Columns

Let's take a look at the intermediate results.

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

So far, there are three columns left that have an object data type. Let's examine the 'CPI' column by displaying five random values.

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_data1.csv') # Inspecting the 'CPI' column print(df['CPI'].sample(5))
copy
question mark

What is wrong with the 'CDI' column?

Select the correct answer

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 6

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

Awesome!

Completion rate improved to 3.45

bookChecking Columns

Swipe um das Menü anzuzeigen

Let's take a look at the intermediate results.

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

So far, there are three columns left that have an object data type. Let's examine the 'CPI' column by displaying five random values.

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_data1.csv') # Inspecting the 'CPI' column print(df['CPI'].sample(5))
copy
question mark

What is wrong with the 'CDI' column?

Select the correct answer

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 6
some-alt