Metrics Dataset using DSS Python API
Hello,
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?
Answers
-
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,067 Neuron
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.