code: def add_to_data(self, shaps):
      with self.mutex:
          if self.data.get("intercept") is None:
              self.data["intercept"] = shaps[0].intercept
          results = [shap.result[shap.result.B != 0] for shap in shaps]
          if self.data.get("result") is not None:
              result = pd.concat([self.data["result"]] + results)
          else:
              result = pd.concat(results)
          self.data["result"] = result
  
imports: import pandas
  import numpy
  from .._resource import Resource
label_desc: Use image node_id 1 for calling the DatasetShapleyValuesResource obj's underlying member method code with example usage: obj.add_to_data(shaps) without return types