I see that in your question, you wanted a cosmetic touch up on the display. To do that, you can set all the index to empty string as below. You get exactly the output you wanted in the question.
import pandas as pd
d = {'indexes': [1, 2], 'col2': [3, 4]}
df = pd.DataFrame(data=d)
d = df.copy(deep=True)
d.index = ([','.join('') for i in range(len(d))])
display(d)

Note:
- Whether you want to do a deepcopy is up to you. I did cause just doing a
d = df
, you will see it also change the index of df.
- Alternatively, you can just use df, set the index to '' and then reset_set it after.