class_docstr: Converts category features to int features by mapping to the category codes.
code: def _transform(self, X: DataFrame) -> DataFrame:
      return self.convert_category_to_int(X)
  
file_path: autogluon/features/src/autogluon/features/generators/label_encoder.py
imports: import copy
  import logging
  from pandas import DataFrame
  from autogluon.common.features.types import R_CATEGORY, S_TEXT_AS_CATEGORY
  from .abstract import AbstractFeatureGenerator
label_desc: Use image node_id 2 for calling the LabelEncoderFeatureGenerator obj's underlying member method code with example usage: obj._transform(X) and returns: self