TimePublicData Class
Represents a public dataset with time.
Initialize with columns.
- Inheritance
-
TimePublicDataTimePublicData
Constructor
TimePublicData(cols: List[str] | None, enable_telemetry: bool = True)
Parameters
Name | Description |
---|---|
cols
Required
|
column name list which the user wants to enrich |
enable_telemetry
|
whether to send telemetry Default value: True
|
Methods
extend_time_column |
Extend time column into datetime format if necessary. |
filter |
Filter datetime. |
extend_time_column
Extend time column into datetime format if necessary.
extend_time_column()
filter
Filter datetime.
filter(env: SparkEnv | PandasEnv, min_date: datetime, max_date: datetime)
Parameters
Name | Description |
---|---|
env
Required
|
|
min_date
Required
|
|
max_date
Required
|
|