Dataset Search and Statistics
A 3-step recipe with Hugging Face. We can help you get access.
Recipe · 3 steps
Dataset Search and Statistics
with Hugging Face
Search a dataset split and pull descriptive statistics for the same split.
- Resolve the dataset's first subset and split to use as the search and statistics target.
- Run a full-text search across the resolved split and return the matching rows.
- Retrieve descriptive statistics for the columns of the resolved split to contextualize the search matches.
What you'll need to have ready
- hfToken: Hugging Face access token used as a Bearer credential.
- dataset: The dataset id on the Hugging Face Hub.
- query: Full-text search query string to run against the split.
- length: Number of matching rows to return (max 100).
For your developer
Arazzo workflow hugging-face:dataset-search-and-statistics, 3 operations: getSplits → searchRows → getStatistics. Specs on APIs.io.