class_docstr: Return the matrix profile and index profile for each time series of a dataset.
  
  Example of use:
  # Xt = MatrixProfile(m).transform(X)
  X, a pandas DataFrame, is the the dataset.
  m, an integer, is the desired subsequence length to be used.
  Xt is the transformed X, i.e., a pandas DataFrame with the same number
  of rows as X, but each row has the matrix profile for the
  corresponding time series.
class_docstr_tok: ["Return","the","matrix","profile","and","index","profile","for","each","time","series","of","a","dataset",".","Example","of","use",":","#","Xt","=","MatrixProfile","(","m",")",".transform","(","X",")","X",",","a","pandas","DataFrame",",","is","the","the","dataset",".","m",",","an","integer",",","is","the","desired","subsequence","length","to","be","used",".","Xt","is","the","transformed","X",",","i.e.",",","a","pandas","DataFrame","with","the","same","number","of","rows","as","X",",","but","each","row","has","the","matrix","profile","for","the","corresponding","time","series","."]
docstr: Return the matrix profile for each single time series of the dataset.
  
  Parameters
  ----------
  X : 3D np.ndarray of shape = [n_instances, n_dimensions, series_length]
      panel of time series to transform
  y : ignored argument for interface compatibility
  
  Returns
  -------
  Xt : pandas.DataFrame in nested_univ mtype format
      Dataframe with the n_instances rows as the input.
      The number of columns equals the number of subsequences
      of the desired length in each time series.
docstr_tok: ["Return","the","matrix","profile","for","each","single","time","series","of","the","dataset",".","Parameters","--","--","--","--","--","X",":","3D","np.ndarray","of","shape","=","[","n_instances",",","n_dimensions",",","series_length","]","panel","of","time","series","to","transform","y",":","ignored","argument","for","interface","compatibility","Returns","--","--","--","-","Xt",":","pandas.DataFrame","in","nested_univ","mtype","format","Dataframe","with","the","n_instances","rows","as","the","input",".","The","number","of","columns","equals","the","number","of","subsequences","of","the","desired","length","in","each","time","series","."]
code: def _transform(self, X, y=None):
      """Return the matrix profile for each single time series of the dataset.
  
      Parameters
      ----------
      X : 3D np.ndarray of shape = [n_instances, n_dimensions, series_length]
          panel of time series to transform
      y : ignored argument for interface compatibility
  
      Returns
      -------
      Xt : pandas.DataFrame in nested_univ mtype format
          Dataframe with the n_instances rows as the input.
          The number of columns equals the number of subsequences
          of the desired length in each time series.
      """
      # Input checks
      n_instances = X.shape[0]
      Xt = pd.DataFrame(
          [_stomp_self(X[i], self.m) for i in range(n_instances)]
      )
      return Xt
  
file_path: sktime/sktime/transformations/panel/matrix_profile.py
imports: import numpy
  import pandas
  from sktime.transformations.base import BaseTransformer
label_desc: Use image node_id 2 for calling the MatrixProfile obj's underlying member method code with example usage: obj._transform(X, y) and returns: Xt