python pandas read_csv first column as index code example Example: pandas read csv df = pd.read_csv('data.csv')