code: def fit_transform(self, data):
      n_categories = np.max(data, axis=0) + 1
      self.index_shifts = np.cumsum(n_categories) - n_categories[0]
      return self.transform(data)
  
file_path: neupy/examples/mlp/mix_categorical_numerical_inputs.py
imports: import numpy
  from sklearn.model_selection import train_test_split
  from sklearn.datasets import make_classification
  from sklearn.metrics import accuracy_score
  from neupy import layers, algorithms, utils
label_desc: Use image node_id 1 for calling the ConvertCategorical obj's underlying member method code with example usage: obj.fit_transform(data) and returns: self