freeCodeCamp/curriculum/challenges/italian/08-data-analysis-with-python/data-analysis-with-python-c.../reading-data-csv-and-txt.md

1.0 KiB

id title challengeType videoId dashedName
5e9a093a74c4063ca6f7c162 Lettura di dati CSV e TXT 11 ViGEv0zOzUk reading-data-csv-and-txt

--description--

Invece di usare notebooks.ai come mostrato nel video, puoi usare Google Colab.

Altre risorse:

--question--

--text--

Come faresti per importare il file CSV data.csv e salvarlo in un DataFrame usando il modulo Pandas?

--answers--

import pandas as pd
df = pd.csv("data.csv")

import pandas as pd
df = pd.read_csv("data.csv")

import pandas as pd
pd.read_csv("data.csv")

import pandas as pd
df = pd.csv_reader("data.csv")

--video-solution--

2