index_col=0 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: readv csv pandas
>>> pd.read_csv('data.csv')
import pandas as pd
df = pd.read_csv('data.csv',sep=';')
# also working
df = pd.read_csv('data.csv',delimiter=';')
>>> pd.read_csv('data.csv')