Challenge
Tehtävä
Swipe to start coding
- Import the
pandas
with thepd
alias. - Read the
csv
file. - Show the first five rows of the
df
.
Ratkaisu
9
1
2
3
4
5
6
7
8
# Import the pandas
import pandas as pd
# Read the file
df = pd.read_csv('https://codefinity-content-media.s3.eu-west-1.amazonaws.com/783d7288-e86b-4b89-9966-a2fe97995277/section_3_dataset_upd.csv')
# Show the first five fows of the df
print(df.head())
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 4. Luku 3
9
1
2
3
4
5
6
7
8
# Import the pandas
import ___
# Read the file
df = ___.___('https://codefinity-content-media.s3.eu-west-1.amazonaws.com/783d7288-e86b-4b89-9966-a2fe97995277/section_3_dataset_upd.csv')
# Show the first five fows of the df
___(___)
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme