class_docstr: Imputed Data
  
  This class should not be instantiated directly.
  Instead, it is returned when ImputationKernel.impute_new_data() is called.
  For parameter arguments, see ImputationKernel documentation.
class_docstr_tok: ["Imputed","Data","This","class","should","not","be","instantiated","directly",".","Instead",",","it","is","returned","when","ImputationKernel.impute_new_data","(",")","is","called",".","For","parameter","arguments",",","see","ImputationKernel","documentation","."]
docstr: Returns the non-categorical imputed variable indexes.
docstr_tok: ["Returns","the","non-categorical","imputed","variable","indexes","."]
code: def _get_num_vars(self, subset: Optional[List] = None):
      """Returns the non-categorical imputed variable indexes."""
  
      num_vars = [
          v
          for v in self.imputation_order
          if v not in self.categorical_variables
      ]
  
      if subset is not None:
          subset = self._get_var_ind_from_list(subset)
          num_vars = [v for v in num_vars if v in subset]
  
      return num_vars
  
imports: import numpy
  from .compat import pd_DataFrame
  from .utils import _t_dat, _t_var_list, _t_var_dict, _ensure_iterable, _dict_set_diff, _assign_col_values_without_copy, _slice, _subset_data
  from itertools import combinations
  from typing import Dict, List, Union, Any, Optional
  from warnings import warn
label_desc: Use image node_id 16 for calling the ImputedData obj's underlying member method code with example usage: obj._get_num_vars(subset) and returns: num_vars