Construct a Bucketized Column
Construct a bucketized column, representing discretized dense input. Buckets include the left boundary, and exclude the right boundary.
column_bucketized(source_column, boundaries)
source_column |
A one-dimensional dense column, as generated by |
boundaries |
A sorted list or list of floats specifying the boundaries. |
A bucketized column.
ValueError: If source_column
is not a numeric column, or if it is not one-dimensional.
ValueError: If boundaries
is not a sorted list or list.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.