CatToOneHot.fit_transform CatToOneHot.fit_transform(data_mat: np.array, dobj: DataObject | None)[source] Fits and transform.