Pandas read .csv and set index column

I have a problem when I read a .csv and set the 'Column A' as index column.

df = pd.read_csv(index_col = 'Column A')
print(df.colums)

However, I cannot access 'Column A' anymore. I still want to use it as one column to access its date.

Can anyone help?


Solution 1:

I found this is very straightforward: just setting index as a column.

df['index1'] = df.index