Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on August 15, 2023 10:03AM
Likes: 1
Replies: 5
Hi,
It is currently not possible to calculate a single metric or check via the Dataiku API while this is possible via the GUI. The following APIs exists:
dataset.compute_metrics()
dataset.run_checks()
but they will calculate all enabled metrics/checks which may take a lot of time. So this idea is to provide an API to allow running a single metric or a single check. Thanks
Thanks for the feedback @Turribeach
! Acknowledging receipt and we will let you know here if we move forward with development.
Katie
Hi @Aymeric
Thanks for following up, yes, you can now compute a singular Data Quality rule (and it's underlying metric) via the python API, see documentation here:
However, no change has been made to the metrics API, so if you wanted to compute a metric that is not associated with a DQ rule, you'd still need to compute all at once.
I'm going to mark this product idea as delivered, as it seems the goal was more around checks/rules. If, however, you are still interested in computing metrics one at a time via the python API, please submit another product idea so we can track that separately.
Katie
Thatr's great Katie, that indeed is what we were after! In which version exactly was this new functionality added?
@Turribeach apologies for the delay, if you havent already sorted it out, it was released in 12.6.0 :)