Bin Code | Vantage Analytics Library - Bin Code - Vantage Analytics Library

Vantage Analytics Library User Guide

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Lake
Product
Vantage Analytics Library
Release Number
2.2.0
Publication Date
June 2025
Content Type
User Guide
Publication ID
B700-4030-110K
ft:locale
en-US
ft:lastEdition
2025-07-02
dita:mapPath
ibw1595473364329.ditamap
dita:ditavalPath
iup1603985291876.ditaval
ft:sourceId
dita
dita:id
zyl1473786378775
Product Category
Teradata Vantage

Use the Bin Code transformation to replace a continuous numeric column with a categorical one. The Bin Code transformation produces ordinal values (that is, numeric categorical values where order is meaningful such as a data column).

You can choose equal-width bins, equal-width bins with a specified range, bins with a specified width, evenly distributed bins, or bins with specified boundaries.

If you specify a range or boundaries, values less than the minimum value go into bin 0 and values greater than the maximum value go into bin n+1, where n is the ordinal number of bin that contains the maximum value.