Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MorrisNein committed Jan 30, 2023
1 parent b147e33 commit d1747f5
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 @@ -635,7 +635,7 @@ def is_column_name_suitable_for_index(column_name: str) -> bool:
candidate_idx_cols = [columns_to_use[0], columns[0]]
if index_col is None:
defined_index = define_index_column(candidate_idx_cols)
if define_index_column is not None:
if defined_index is not None:
index_col = defined_index
logger.message(f'Used the column as index: "{index_col}".')

Expand Down

0 comments on commit d1747f5

Please sign in to comment.