Skip to content

Commit

Permalink
πŸ”– 0.10.6 (#179)
Browse files Browse the repository at this point in the history
* Fix "DeprecationWarning: np.find_common_type is deprecated." from pandas (due to numpy 1.25 update)

* πŸ”– 0.10.6
  • Loading branch information
pwwang authored Jun 29, 2023
1 parent f681bab commit 6247c3c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 0.10.6

- πŸ› Fix "DeprecationWarning: np.find_common_type is deprecated" from pandas (due to numpy 1.25 update)

## 0.10.5

- 🎨 Allow starts to be set as a tuple
Expand Down
6 changes: 4 additions & 2 deletions pipen/proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,9 +589,11 @@ def _compute_input(self) -> Mapping[str, Mapping[str, Any]]:

# try match the column names
# if none matched, use the first columns
rest_cols = out.data.columns.difference(out.type, False)
# rest_cols = out.data.columns.difference(out.type, False)
rest_cols = [col for col in out.data.columns if col not in out.type]
len_rest_cols = len(rest_cols)
matched_cols = out.data.columns.intersection(out.type)
# matched_cols = out.data.columns.intersection(out.type)
matched_cols = [col for col in out.data.columns if col in out.type]
needed_cols = [col for col in out.type if col not in matched_cols]
len_needed_cols = len(needed_cols)

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.10.5"
__version__ = "0.10.6"
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.10.5"
version = "0.10.6"
description = "A pipeline framework for python"
authors = [ "pwwang <[email protected]>",]
license = "MIT"
Expand Down

0 comments on commit 6247c3c

Please sign in to comment.