What is the best way to save list to a file and load id on pandas?

How to save and load list like this so I can load in other place

Index(['province_BANTEN', 'province_DKI JAKARTA', 'province_JAWA BARAT',
       ...
       'lending_count_l3', 'lending_cumcount_l2', 'lending_cumcount_l3'],
      dtype='object', length=341)

I try to save to csv df.to_csv("model_column.csv"), but AttributeError: 'Index' object has no attribute 'to_csv'

Is there any better Idea to save that

Answer

Maybe construct a new dataframe:

df = pd.DataFrame(index=df)
df.to_csv("model_column.csv")