Skip to content

Commit 0b00e54

Browse files
committed
KIT-2530 Fix deprecation: pandas-dev/pandas#41486
1 parent a68b0db commit 0b00e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ai_data_preprocessing_queue/Steps/regex_replacement.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ def _prepare_pre_processor_data(preprocessorData: str) -> pandas.DataFrame:
4040
csv["sort"] = csv[2]
4141

4242
# sort
43-
return csv.sort_values("sort", inplace=False).drop("sort", "columns")
43+
return csv.sort_values("sort", inplace=False).drop("sort", axis=1)

0 commit comments

Comments
 (0)