Skip to content

Commit

Permalink
Update data.py (#1283)
Browse files Browse the repository at this point in the history
* Update target_array check in data.py
  • Loading branch information
v1docq committed Apr 15, 2024
1 parent cd915a8 commit 0bdece1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fedot/core/data/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def from_numpy_time_series(cls,
"""
if isinstance(task, str):
task = Task(TaskTypesEnum(task))
if not target_array:
if target_array is None:
target_array = features_array
return array_to_input_data(features_array, target_array, idx, task, data_type)

Expand Down

0 comments on commit 0bdece1

Please sign in to comment.