read in pandas code example
Example 1: read_csv separator
import pandas as pd
df = pd.read_csv('data.csv',sep=';')
# also working
df = pd.read_csv('data.csv',delimiter=';')
Example 2: read a csv file in pandas
you should be in the same dir as .py file
df = pd.read_csv('your_file_name.csv')
Example 3: read_csv
>>> pd.read_csv('data.csv')
Example 4: reading a dataset in python
From Datacamp