labeling#
2026-03-11
19 min read time
Applies to Linux
- pylibhipdf.labeling.Inclusive#
alias of
inclusive
- pylibhipdf.labeling.label_bins(Column input, Column left_edges, inclusive left_inclusive, Column right_edges, inclusive right_inclusive, Stream stream=None, DeviceMemoryResource mr=None) Column#
Labels elements based on membership in the specified bins.
For details see
label_bins().Parameters#
- inputColumn
Column of input elements to label according to the specified bins.
- left_edgesColumn
Column of the left edge of each bin.
- left_inclusiveInclusive
Whether or not the left edge is inclusive.
- right_edgesColumn
Column of the right edge of each bin.
- right_inclusiveInclusive
Whether or not the right edge is inclusive.
- streamStream | None
CUDA stream on which to perform the operation.
- mrDeviceMemoryResource | None
Device memory resource used to allocate the returned column’s device memory.
Returns#
- Column
Column of integer labels of the elements in input according to the specified bins.