code: def _boot_kwds(self, kwds, rix):
      for k in kwds:
          v = kwds[k]
  
          # This is only relevant for ndarrays
          if not isinstance(v, np.ndarray):
              continue
  
          # Handle 1d vectors
          if (v.ndim == 1) and (v.shape[0] == len(rix)):
              kwds[k] = v[rix]
  
          # Handle 2d arrays
          if (v.ndim == 2) and (v.shape[0] == len(rix)):
              kwds[k] = v[rix, :]
  
      return kwds
  
imports: import pandas
  import numpy
  import patsy
  from statsmodels.base.model import LikelihoodModelResults
  from statsmodels.regression.linear_model import OLS
  from collections import defaultdict
label_desc: Use image node_id 15 for calling the MICEData obj's underlying member method code with example usage: obj._boot_kwds(kwds, rix) and returns: kwds