Skip to content

Commit

Permalink
πŸ”– 0.11.1 (#181)
Browse files Browse the repository at this point in the history
* Dismiss warning for fillna method for pandas 2.1

* πŸ”– 0.11.1

* Fix channel.expand_dir() may add new column

* Update CHANGELOG.md
  • Loading branch information
pwwang authored Oct 9, 2023
1 parent a581093 commit 8eaf661
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion pipen/channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down
2 changes: 1 addition & 1 deletion pipen/proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion pipen/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Provide version of pipen"""

__version__ = "0.11.0"
__version__ = "0.11.1"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>",]
license = "MIT"
Expand Down

0 comments on commit 8eaf661

Please sign in to comment.