normalizecollabels¶
Purpose¶
Removes duplicate keys from a categorical variable and consolidates removed keys into a common key.
Format¶
-
x_meta =
normalizecollabels
()¶ - Parameters
x – data.
columns (Mx1 scalar or string) – The names or indices of the date columns in X to normalize.
- Returns
x_norm (NxK dataframe) – Data with normalized categorical variables
Remarks¶
The normalizecollabels()
procedure is useful when cleaning and merging categorical variables.