diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 4f0b5515..dc349db0 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## 0.11.1 + +- Dismiss warning for fillna method for pandas 2.1 +- Fix channel.expand_dir() may add new column + ## 0.11.0 - Add Dockerfile for codesandbox diff --git a/pipen/channel.py b/pipen/channel.py index 978df973..fb6e25c8 100644 --- a/pipen/channel.py +++ b/pipen/channel.py @@ -191,7 +191,7 @@ def expand_dir( reverse, ).iloc[:, 0] ret = pandas.concat([data] * expanded.size, axis=0, ignore_index=True) - ret.loc[:, col_loc] = expanded.values + ret.iloc[:, col_loc] = expanded.values return ret.reset_index(drop=True) diff --git a/pipen/proc.py b/pipen/proc.py index d69eede7..3618574f 100644 --- a/pipen/proc.py +++ b/pipen/proc.py @@ -583,7 +583,7 @@ def _compute_input(self) -> Mapping[str, Mapping[str, Any]]: out.data = pandas.concat( (req.output_data for req in self.requires), # type: ignore axis=1, - ).fillna(method="ffill") + ).ffill() make_df_colnames_unique_inplace(out.data) diff --git a/pipen/version.py b/pipen/version.py index d0a729d5..78f3023c 100644 --- a/pipen/version.py +++ b/pipen/version.py @@ -1,3 +1,3 @@ """Provide version of pipen""" -__version__ = "0.11.0" +__version__ = "0.11.1" diff --git a/pyproject.toml b/pyproject.toml index 2be1621f..ae93e758 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.masonry.api" [tool.poetry] name = "pipen" -version = "0.11.0" +version = "0.11.1" description = "A pipeline framework for python" authors = [ "pwwang ",] license = "MIT"