I have gathered my data into a pivot table of the following form :

```
movie_id  1     2     3     4     5     ...  
user_id                                 ...                              
1          1.0   0.0   1.0   0.0   0.0  ...   
2          1.0   NaN   NaN   NaN   NaN  ...   
3          NaN   NaN   NaN   NaN   NaN  ...   
4          NaN   NaN   NaN   NaN   NaN  ...
5          1.0   0.0   NaN   NaN   NaN  ...  
6          1.0   NaN   ....
.          .....
.
.
943

```

What i need is my (user\_id) index to change its numbering from 1-943 to 943-1886 so that i can run some algortihms later, in which the movie ids will be different than the user ids. Is that possible in some way?

edited console:

```
movie_id  1     2     3     4     5     ...   943 
944       1.0   0.0   1.0   0.0   0.0  ...   0.0   
945       1.0   0.0   0.0   0.0   0.0  ...   0.0   
946       0.0   0.0   0.0 
.
.
.

```