EXPAND ALL
- Home
- About Pixie
- Installing Pixie
- Using Pixie
- Tutorials
- Reference
Takes the passed in value(s) and bin them to the nearest multiple of a bin.
The value rounded down to the nearest multiple of bin.
Variable | Type | Description |
---|---|---|
value | INT64 / TIME64NS / FLOAT64 | The value to bin. |
bin | INT64 / TIME64NS | The bin value to clip to. |
# bin column b to multiples of 50df.a = px.bin(df.b, 50)