Skip to content
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

multi_target_levels_forecasting is not working #628

Closed
nicl-nno opened this issue Apr 5, 2022 · 0 comments · Fixed by #1145
Closed

multi_target_levels_forecasting is not working #628

nicl-nno opened this issue Apr 5, 2022 · 0 comments · Fixed by #1145
Assignees
Labels
bug Something isn't working cases New examples of the framework application

Comments

@nicl-nno
Copy link
Collaborator

nicl-nno commented Apr 5, 2022

The example produces the following error:

Traceback (most recent call last):
File "D:/Projects/CompositeAutoML/cases/multi_target_levels_forecasting.py", line 103, in
run_multi_output_case(path_file, vis=True)
File "D:/Projects/CompositeAutoML/cases/multi_target_levels_forecasting.py", line 82, in run_multi_output_case
data = InputData.from_csv(path, target_columns=target_columns, columns_to_drop=['date'])
File "D:\Projects\CompositeAutoML\fedot\core\data\data.py", line 53, in from_csv
data_frame = data_frame.drop(columns_to_drop, axis=1)
File "D:\Projects\CompositeAutoML\venv_new\lib\site-packages\pandas\util_decorators.py", line 311, in wrapper
return func(*args, **kwargs)
File "D:\Projects\CompositeAutoML\venv_new\lib\site-packages\pandas\core\frame.py", line 4901, in drop
return super().drop(
File "D:\Projects\CompositeAutoML\venv_new\lib\site-packages\pandas\core\generic.py", line 4150, in drop
obj = obj._drop_axis(labels, axis, level=level, errors=errors)
File "D:\Projects\CompositeAutoML\venv_new\lib\site-packages\pandas\core\generic.py", line 4185, in _drop_axis
new_axis = axis.drop(labels, errors=errors)
File "D:\Projects\CompositeAutoML\venv_new\lib\site-packages\pandas\core\indexes\base.py", line 6018, in drop
raise KeyError(f"{labels[mask]} not found in axis")
KeyError: "['date'] not found in axis"

@nicl-nno nicl-nno added bug Something isn't working cases New examples of the framework application labels Apr 5, 2022
@kasyanovse kasyanovse linked a pull request Aug 16, 2023 that will close this issue
@kasyanovse kasyanovse self-assigned this Aug 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cases New examples of the framework application
Projects
Development

Successfully merging a pull request may close this issue.

2 participants