labeling#
- pylibcudf.labeling.label_bins(
- Column input,
- Column left_edges,
- inclusive left_inclusive,
- Column right_edges,
- inclusive right_inclusive,
- stream=None,
- DeviceMemoryResource mr=None,
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.