hpipy.extensions.RandomForestIndex.smooth_index#

RandomForestIndex.smooth_index(order=3, in_place=False)#

Smooth the index.

Parameters:
  • order (list[int] | int, optional) – Smoothing order. Defaults to 3.

  • in_place (bool, optional) – Smooth in place or return new object. Defaults to False.

Returns:

Smoothed index or new smoothed index object.

Return type:

Self | pd.Series