factly / hunting

Hunting is data profiling exposed as REST API. It is built on top of Pandas Profiling & Polars.
4 stars 1 forks source link

Allow to query number of samples for saved/prefetched datasets #18

Open 100mi opened 2 years ago

100mi commented 2 years ago

Description

Assuming a dataset profile is already prefetched, with complete description. If someone need required samples different number of samples then we are not supporting that feature.

In the below example, the dataset is prefetched, but on the second go if we need only 5 samples then the fetching mechanism has no query logic supported to filter out required number of samples :

Screenshot 2022-11-22 at 12 47 47 PM

As we are already providing query param for samples, we should atleast allow flexibility for user to make this query.