code: def cumsum_shift_mult(array, dims):
      """Apply cumsum and shift to all axes in dims."""
      array = cumsum_mult(array, dims)
      array = roll_mult(array, 1, dims)
  
      arrayshape = array.shape
      indarr = []
      for ind in range(len(arrayshape)):
          indarr = indarr + [range(arrayshape[ind])]
  
      for dimind in dims:
          slicearr = indarr[:]
          slicearr[dimind] = [0]
          array[makeinds(slicearr)] = 0
  
      return array
  
imports: import collections
  from functools import partial
  import numpy
  from scipy.sparse.linalg import svds
  from sklearn.base import BaseEstimator, TransformerMixin
  from sktime.dists_kernels.base import BasePairwiseTransformerPanel
label_desc: Use image node_id 7 for calling a global function with example usage: cumsum_shift_mult(array, dims) and returns: array