TimeNearestSelector Class
Defines the time nearest selector with rounding to different time granularities.
Intialize with time granularity.
- Inheritance
-
TimeNearestSelector
Constructor
TimeNearestSelector(_granularity: TimeGranularity, enable_telemetry: bool = True)
Parameters
- _granularity
- enable_telemetry
default value: True
Methods
process |
Enrich customer data with public data using the specified aggregator. |
process
Enrich customer data with public data using the specified aggregator.
process(env: RuntimeEnv, customer_data: TimeData, public_data: TimeData, aggregator: Aggregator, join_keys: list | None = None, debug: bool = False)
Parameters
Returns
A tuple of altered customer data class instance, altered public data class instance, and a list of join key pairs.
Return type
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for