awslabs / awslabs/python-deequ

Better handling for categoricalSorter in CategoricalRangeRule and FractionalRangeRule

Open
#107 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Jupyter Notebook
Stars
826
Forks
158
Avg merge
9d 22h
Merged PRs (30d)
3

Description

**Is your feature request related to a problem? Please describe.**
In order to fix #70 and enable support for Deequ 2.x on #100, we performed a workaround (forcing the usage of a reference to the default `categorySorter`), instead of properly supporting this feature and exposing this argument to the Python API.

**Describe the solution you'd like**
Ideally, we wouldn't need to force the usage of the default `categorySorter` and expose this argument in the Python API to let users choose what they want.

**Describe alternatives you've considered**
Maybe we could implement an interface — similar to what we already do with ScalaFunction2 — that maps a Python function to the Scala counterpart. That said, I'm not sure how the handling of non-primitive types (such as `DistributionValue`) should happen on the Python side. Ideas are welcome here 😃

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.