get_metric_output_by_id
Important
Some or all of this functionality is available as part of a preview release. The content and the functionality are subject to change.
get_metric_output_by_id(metric_id: int) -> DataFrame
Parameters:
- metric_id (int): ID of the metric output to be retrieved.
Description:
Gets metric output by its metric ID from the ComputedESGMetrics table in the ComputedESGMetrics lakehouse. You can use this function to store each metric output as a separate metric table.
Returns:
DataFrame
: Computed metric output DataFrame.
Raises:
ValueError
: If the metric ID isn't found.
Example usage:
metrics_manager = MetricsManager()
metric_output_df = metrics_manager.get_metric_output_by_id(metric_id=1)