code: def _calc_checksum(X):
      if isinstance(X, pd.DataFrame):
          checksum = round(
              sum([sum([sum(x) for x in X[c]]) for c in X.columns]), 6
          )
      else:
          checksum = round(sum(X), 6)
      return checksum
  
file_path: sktime/sktime/transformations/series/tests/test_augmenter.py
imports: import numpy
  import pandas
  import pytest
  from sktime.datasets import load_basic_motions
  from sktime.transformations.series import augmenter
label_desc: Use image node_id 2 for calling a global function with example usage: _calc_checksum(X) and returns: checksum