公用程式函數
重要
這其中部分或所有的功能會做為預覽版本的一部分來提供。 內容和功能隨時可能變更。
此參考介紹了 Environmental,Social,and Governance metrics (預覽版) 功能中的實用程式函數。 這些功能的 UtilitiesForMetrics 筆記本中提供了 這些函數定義。
MetricsManager 類
類參考:MetricsManager
描述 MetricsManager 類旨在管理度量定義、標籤和計算輸出。 它提供了對可持續性指標的指標定義、標籤和計算執行 CRUD 操作的方法。
建構函數 MetricsManager()
參數:無
描述:使用指標表的預定義架構初始化 MetricsManager 類,並載入或初始化必要的 DataFrame。
方法
- compute_and_save_metric_output
- create_metric_definition
- delete_metric_definition
- delete_metric_output
- get_all_metric_definition_ids
- get_all_metric_identifiers_by_sustainability_area
- get_metric_definition_by_id
- get_metric_definition_by_metric_name
- get_metric_id_by_metric_name
- get_metric_output_by_id
- update_metric_definition