Sets the index column of the DataFrame. Adds the ‘index’ semantic tag to the column and clears the tag from any previously set index column.

Setting a column as the index column will also cause any previously set standard tags for the column to be removed.

Clears the DataFrame’s index by passing in None.


new_index (str) – The name of the column to set as the index