code: def test_cluster(self, mock_handler):
      df = pd.DataFrame(
          {
              "Age": [58, 59, 62, 59, 87, 29, 54, 87],
              "Income": [
                  77769,
                  81799,
                  74751,
                  74373,
                  17760,
                  13157,
                  76500,
                  42592,
              ],
              "SpendingScore": [
                  0.7913287771988531,
                  0.7910820467274178,
                  0.7026569520102857,
                  0.7656795619984281,
                  0.3487775484305076,
                  0.8470341025128374,
                  0.7851978501165687,
                  0.3552896820382753,
              ],
              "Savings": [
                  6559.8299230048315,
                  5417.661426197439,
                  9258.992965034067,
                  7346.334503537976,
                  16869.507130301474,
                  3535.5143522162816,
                  6878.884248553975,
                  18086.287157859304,
              ],
          }
      )
  
      self.set_handler(
          mock_handler, name="pg", tables={"jewellery": df}
      )
  
      # create project
      self.run_sql("create database proj;")
  
      # create predictor
      self.run_sql(
          """
              CREATE MODEL proj.my_pycaret_cluster_model
              FROM pg
                  (SELECT Age, Income, SpendingScore, Savings FROM jewellery)
              PREDICT Savings
              USING
                engine = 'pycaret',
                model_type = 'clustering',
                model_name = 'kmeans',
                setup_session_id = 123;
          """
      )
      self.wait_predictor("proj", "my_pycaret_cluster_model")
  
      # run predict
      ret = self.run_sql(
          """
              SELECT m.Cluster
              FROM pg.jewellery as t
              JOIN proj.my_pycaret_cluster_model AS m;
          """
      )
  
      assert ret["Cluster"].iloc[0] == "Cluster 0"
  
file_path: mindsdb/mindsdb/integrations/handlers/pycaret_handler/test/test_pycaret.py
imports: import importlib
  import time
  from unittest.mock import patch
  import pandas
  import pytest
  from mindsdb_sql import parse_sql
  from tests.unit.executor_test_base import BaseExecutorTest
label_desc: Use image node_id 6 for calling the TestPyCaret obj's underlying member method code with example usage: obj.test_cluster(mock_handler) without return types