Metrics Dataset using DSS Python API

Level 1
Metrics Dataset using DSS Python API


I am using the DSS Python API from DSS Notebooks in order to enable metrics like min, max, distinct null values per column and I would like to generate a table based on these metrics. I am able to enable and generate metrics. I am missing the way to generate the metrics dataset using the API in order to store the data in table and process it further.

I was able to do it through the UI using the wheel icon and choosing to "Create dataset from metrics data" but I need to use the API for automating it. 

Did anyone tried something similar and there is any available examples that I can leverage? 






0 Kudos
1 Reply

Hi, there are some samples on how to create datasets via the API here:

I suggest you create the dataset manually and then inspect it's properties so that you can use them in the create_dataset() call. 

0 Kudos