How to change the name of the rows of a dataframe?

Viewed 15

I have a dataframe something like this:

enter image description here

But I don't want the dates to appear there. I prefer the usual names like 1,2,....56.

How can I solve this?

Help please

1 Answers

If you are using python and pandas, you can try:

df.reset_index(drop=True)
Related