So my question is very straightforward why do we have to save the 'df .reindex() into another dataframe ‘df2’ before reindexing the columns. Does this mean the df.reindex() does not work on the original dataframe?
This is given in the topic ‘Reindexing objects’
Type your question above this line.
Course: https://www.educative.io/collection/10370001/5982561936343040
Lesson: https://www.educative.io/collection/page/10370001/5982561936343040/4778217102639104