getting Unnamed: 0 column when creating csv code example Example: pandas read csv unamed:o pd.read_csv(file_name, index_col=0)