code: def update_mask(self, other: SplitCondition) -> np.ndarray:
      if other.operator == gt:
          column_mask = (
              self.values[:, other.splitting_variable]
              <= other.splitting_value
          )
      elif other.operator == le:
          column_mask = (
              self.values[:, other.splitting_variable]
              > other.splitting_value
          )
      else:
          raise TypeError(
              "Operator type not matched, only {} and {} supported".format(
                  gt, le
              )
          )
  
      return self.mask | column_mask
  
imports: from operator import gt, le
  from typing import Any, List, Optional, Union
  import numpy
  import pandas
  from .errors import NoSplittableVariableException
  from .splitcondition import SplitCondition
label_desc: Use image node_id 13 for calling the CovariateMatrix obj's underlying member method code with example usage: obj.update_mask(other) and returns: unknown