tsfresh
tsfresh copied to clipboard
calculate_relevance_table() does not work with y in form of numpy.ndarray
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):
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