woodwork.datatable.DataTable.set_time_index¶
-
DataTable.
set_time_index
(time_index)[source]¶ Set the time index column. Adds the ‘time_index’ semantic tag to the column and clears the tag from any previously set index column
- Parameters
time_index (str) – The name of the column to set as the time index.
- Returns
DataTable with the specified time index column set.
- Return type
woodwork.DataTable