PathShortener#

class polpo.preprocessing.path.PathShortener(init_index=-1, last_index=None)[source]#

Bases: PreprocessingStep

Shorten path.

Parameters:
  • init_index (int) – Initial index for concatenation.

  • last_index (int) – Last index for concatenation.