code: def test_category_data_type(self):
      X = np.random.rand(self.rows, 3)
      X = pd.DataFrame(X, columns=[f"f{i}" for i in range(3)])
      y = np.random.randint(0, 2, self.rows)
  
      X["f1"] = X["f1"].astype("category")
  
      automl = AutoML(
          results_path=self.automl_dir,
          total_time_limit=1,
          algorithms=["CatBoost"],
          train_ensemble=False,
          explain_level=0,
          start_random_models=1,
      )
      automl.fit(X, y)
  
file_path: mljar-supervised/tests/tests_automl/test_data_types.py
imports: import os
  import unittest
  import tempfile
  import json
  import numpy
  import pandas
  import shutil
  from supervised import AutoML
  from numpy.testing import assert_almost_equal
  from sklearn import datasets
  from supervised.exceptions import AutoMLException
label_desc: Use image node_id 2 for calling the AutoMLDataTypesTest obj's underlying member method code with example usage: obj.test_category_data_type() without return types