Skip to content

Commit e6f6a23

Browse files
committed
remove lightgbm re-name until later
1 parent 42ce1a5 commit e6f6a23

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ads/opctl/operator/lowcode/common/transformations.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# Copyright (c) 2023, 2024 Oracle and/or its affiliates.
44
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/
55

6-
import re
76
from abc import ABC
87

98
import pandas as pd
@@ -98,8 +97,8 @@ def run(self, data):
9897
def _remove_trailing_whitespace(self, df):
9998
return df.apply(lambda x: x.str.strip() if x.dtype == "object" else x)
10099

101-
def _normalize_column_names(self, df):
102-
return df.rename(columns=lambda x: re.sub("[^A-Za-z0-9_]+", "", x))
100+
# def _normalize_column_names(self, df):
101+
# return df.rename(columns=lambda x: re.sub("[^A-Za-z0-9_]+", "", x))
103102

104103
def _set_series_id_column(self, df):
105104
self._target_category_columns_map = {}

0 commit comments

Comments
 (0)