Skip to content

Commit d0bde76

Browse files
committed
fix
1 parent 02267d5 commit d0bde76

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ads/opctl/operator/lowcode/anomaly/model/anomaly_dataset.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
merge_category_columns,
1111
)
1212
from ads.opctl.operator.lowcode.common.data import AbstractData
13-
from ads.opctl.operator.lowcode.common.data import AbstractData
1413
from ads.opctl.operator.lowcode.anomaly.utils import get_frequency_of_datetime
1514
from ads.opctl import logger
1615
import pandas as pd

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def run(self, data):
5858
clean_df = self._format_datetime_col(clean_df)
5959
clean_df = self._set_multi_index(clean_df)
6060

61-
if self.preprocessing.enabled:
61+
if self.preprocessing and self.preprocessing.enabled:
6262
if self.name == "historical_data":
6363
if self.preprocessing.steps.missing_value_imputation:
6464
try:

0 commit comments

Comments
 (0)