# Create Buckets

We can categorize or bucket the numeric values into a set of ‘buckets’ like below.

![](/files/-M4oN9yFXDCpUwrlVzpS)

This is called ‘bucketing’ or ‘binning’. The basic idea is to assign each numeric value to one of the ‘buckets’ based on given conditions or rules.

## How to Access?

![](/files/-M4oN9yFXDCpUwrlVzpS)

## How to Use?

![](/files/-M4oN9yHMR_qKs_ow6H0)

There are various ways to create the buckets.

* Equal Length
* Equal Frequency (Quantile)
* Manual
* K-Means Clustering
* Outlier Detection

Take a look at this post for more details.

* [Creating Buckets or Clusters for Numeric Column Values in Exploratory](https://blog.exploratory.io/creating-buckets-or-clusters-for-numeric-column-values-in-exploratory-d04901b32d35)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.exploratory.io/data-wrangling/buckets.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
