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","."]
code: def __init__(self, m=10):
      self.m = m  # subsequence length
      super().__init__()
  
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 1 to create a new MatrixProfile object from inherited base classes: BaseTransformer with example: obj = MatrixProfile(m)