Const
Constants used to create the full vocabulary of the dataset.
create_full_vocab(days_in_week, minutes, as_multiindex=True)
Create the full vocabulary of the dataset.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
days_in_week
|
int
|
Number of days in the week. |
required |
minutes
|
int
|
Number of minutes to discretize the hours by. |
required |
as_multiindex
|
bool
|
Whether to return a multiindex or a list of strings. |
True
|
Returns:
Type | Description |
---|---|
MultiIndex | list[str]
|
The full vocabulary of the dataset. Either a MultiIndex or a list of strings. |