The function time_scale_template returns a table with time scale information in either wide or long format.
Parameters
Name
Type
Description
Default
wide_format
bool
The wide_format parameter determines the format of the output table. If wide_format is set to True, the table will be transposed.
False
engine
str
The engine parameter is used to specify the engine to use for generating a date summary. It can be either โpandasโ or โpolarsโ. - The default value is โpandasโ. - When โpolarsโ, the function will internally use the polars library for generating the time scale information.