difference#

difference(target, props)[source]#

Subtracts elements 1:N in props from element 0

Parameters:
  • target (OpenPNM dict) – The object to which the model is associated

  • props (list) – A list of dict keys containing the values to operate on. If the first element is A, and the next are B and C, then the results is A - B - C.