tsfresh icon indicating copy to clipboard operation
tsfresh copied to clipboard

calculate_relevance_table() does not work with y in form of numpy.ndarray

Open nicolasj92 opened this issue 2 years ago • 1 comments

The problem: The function feature_selection.relevance.calculate_relevance_table() is supposed to support numpy.ndarray as y argument. This causes an attribute error though because numpy.ndarray does not have the sort_index function that is called in line 164 of https://github.com/blue-yonder/tsfresh/blob/main/tsfresh/feature_selection/relevance.py

Anything else we need to know?:

Environment:

I think this issue does not depend on the environment.

  • Python version:
  • Operating System:
  • tsfresh version:
  • Install method (conda, pip, source):

nicolasj92 avatar Sep 14 '22 12:09 nicolasj92

Facing the same error. Details regarding my environment

  • Python version: 3.7

  • Operating System: Windows 10

  • tsfresh version: 0.19.0

  • Install method (conda, pip, source): conda

mariokrous avatar Sep 18 '22 17:09 mariokrous