pd.read_csv first column as index 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')