labeling#

pylibcudf.labeling.label_bins(Column input, Column left_edges, bool left_inclusive, Column right_edges, bool right_inclusive) 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_inclusivebool

Whether or not the left edge is inclusive.

right_edgesColumn

Column of the right edge of each bin.

right_inclusivebool

Whether or not the right edge is inclusive.

Returns:
Column

Column of integer labels of the elements in input according to the specified bins.