docstr: [Get categorical & numerical columns]
  
  Args:
      x_test
  
  Return:
      category_columns
      numerical_columns
docstr_tok: ["[","Get","categorical","&","numerical","columns","]","Args",":","x_test","Return",":","category_columns","numerical_columns"]
code: def num_cat_variables(self):
      """[Get categorical & numerical columns]
  
      Args:
          x_test
  
      Return:
          category_columns
          numerical_columns
      """
      is_cat = np.array([dt.kind == "O" for dt in self.data.dtypes])
      cat_cols = self.data.columns.values[is_cat]
      num_cols = self.data.columns.values[~is_cat]
      return cat_cols, num_cols
  
file_path: explainx/lib/models/transformer_default.py
imports: import numpy
  import pandas
  from sklearn.preprocessing import LabelEncoder
  from typing import Dict, List, Union
  from sklearn.impute import SimpleImputer
label_desc: Use image node_id 2 for calling the defaultTransformer obj's underlying member method code with example usage: obj.num_cat_variables() and returns: cat_cols,  num_cols