

def get_train_vars(self, X):
    'Gets the DataFrame and returns only columns\n           that should be used in fitting / predictions'
    if (self.train_variables is None):
        return self
    else:
        return X[self.train_variables]

dataset/ETHPy150Open anaderi/lhcb_trigger_ml/hep_ml/uboost.py uBoostBDT.get_train_vars/VarMisuse@26/64 `X`->`self`