-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexError: cannot do a non-empty take from an empty axes. #988
Comments
Hi @hn2 ! I am using import tsfresh
from tsfresh.feature_extraction import ComprehensiveFCParameters
from tsfresh.examples.robot_execution_failures import load_robot_execution_failures
if __name__ == "__main__":
df, y = load_robot_execution_failures()
print(tsfresh.extract_features(df, column_id="id", column_sort="time",
default_fc_parameters=ComprehensiveFCParameters())) |
I have this problem when using Pandas version 2.0. It works when I use version 1.3.5. |
I am facing this problem with Maybe it has something to do with number of unique IDs? With 200 rows, I have 16-17 unique IDs (works), with 220 rows it goes up to 19-20 (doesn't work). I still haven't found anything else that seems suspicious. |
@dor132 , @morestart, @hn2 - has one of you a reproducible example with the data for me? Anything I can use for debugging? Thank you! Or does anyone maybe have the full stacktrace? |
@nils-braun Yes. |
This error occurs when using EfficientFCParameters or ComprehensiveFCParameters (not MinimalFCParameters).
Error does not occur when pandas version is 1.3.5. However this is an old version and is not compatible with other python packages.
Can you please resolve the issue making it work with later panda versions such as 1.4.3?
The text was updated successfully, but these errors were encountered: