Skip to content

Commit c47174d

Browse files
committed
Update feature_warning.py to use concat instead of append.
1 parent e875ec7 commit c47174d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/feature_engineering/feature_type/handler/feature_warning.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ def _process(self) -> pd.DataFrame:
280280
f"Details: '{name}' should return a DataFrame "
281281
f"with columns: {expected_columns}."
282282
)
283-
result_df = result_df.append(handler_result)
283+
result_df = pd.concat([result_df, handler_result])
284284
result_df.reset_index(drop=True, inplace=True)
285285
return result_df
286286

0 commit comments

Comments
 (0)