Schema.
set_index
Sets the index. Handles setting a new index, updating the index, or removing the index.
new_index (str) – Name of the new index column. Must be present in the Schema. If None, will remove the index.