CatToId.fit CatToId.fit(data_mat: np.array, dobj: DataObject | None)[source] Method to implement to fit transformation.