Skip to content

Commit

Permalink
hotfix: revert assert to info log
Browse files Browse the repository at this point in the history
  • Loading branch information
paxcema committed Nov 29, 2023
1 parent 366037e commit caabc4c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dataprep_ml/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from dataprep_ml.base import StatisticalAnalysis, DataAnalysis

__version__ = '0.0.19'
__version__ = '0.0.20'
__name__ = "dataprep_ml"


Expand Down
3 changes: 2 additions & 1 deletion dataprep_ml/cleaners.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,8 @@ def _timeseries_edge_case_detection(data: pd.DataFrame, timeseries_settings: Dic

if timeseries_settings.get('window', None) is not None:
window = timeseries_settings.get('window', 0)
assert len(data) >= window, "Window size is greater than input data length: increase input data length."
if len(data) < window:
log.info("Window size is greater than input data length: strongly recommend to increase input data length.")

return

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dataprep-ml"
version = "0.0.19"
version = "0.0.20"
description = "Automated dataframe analysis for Machine Learning pipelines."
authors = ["MindsDB Inc. <[email protected]>"]
license = "GPL-3.0"
Expand Down

0 comments on commit caabc4c

Please sign in to comment.