class_docstr: Derivative slope transformer.
class_docstr_tok: ["Derivative","slope","transformer","."]
docstr: Transform X.
docstr_tok: ["Transform","X","."]
code: def _transform(self, X, y=None):
      """Transform X."""
      num_cases, num_dim = X.shape
      output_df = pd.DataFrame()
      for dim in range(num_dim):
          dim_data = X.iloc[:, dim]
          out = self.row_wise_get_der(dim_data)
          output_df["der_dim_" + str(dim)] = pd.Series(out)
  
      return output_df
  
imports: import numpy
  import pandas
  from joblib import Parallel, delayed
  from sktime.datatypes import convert_to
  from sktime.transformations.base import BaseTransformer
  from sktime.transformations.panel.segment import RandomIntervalSegmenter
  from sktime.utils.pandas import df_map
label_desc: Use image node_id 1 for calling the DerivativeSlopeTransformer obj's underlying member method code with example usage: obj._transform(X, y) and returns: output_df