Skip to content

Commit

Permalink
Merge pull request #330 from kayjan/feature/tree-diff-dataframe
Browse files Browse the repository at this point in the history
Feature/tree diff dataframe
  • Loading branch information
kayjan authored Nov 13, 2024
2 parents da6793a + f4d021c commit 0053187
Show file tree
Hide file tree
Showing 5 changed files with 280 additions and 110 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.22.3] - 2024-11-14
### Added:
- Tree Helper: `get_tree_diff_dataframe` to get tree differences in pd.DataFrame for customised processing and handling.
### Changed:
- Tree Helper: Get tree diff logic to be faster to compare all attribute list and data at once (for attr diff).
- Tree Helper: Get tree diff logic to be faster to add suffix at the end (for path diff).
Expand Down Expand Up @@ -699,7 +703,8 @@ ignore null attribute columns.
- Utility Iterator: Tree traversal methods.
- Workflow To Do App: Tree use case with to-do list implementation.

[Unreleased]: https://github.com/kayjan/bigtree/compare/0.22.2...HEAD
[Unreleased]: https://github.com/kayjan/bigtree/compare/0.22.3...HEAD
[0.22.3]: https://github.com/kayjan/bigtree/compare/0.22.2...0.22.3
[0.22.2]: https://github.com/kayjan/bigtree/compare/0.22.1...0.22.2
[0.22.1]: https://github.com/kayjan/bigtree/compare/0.22.0...0.22.1
[0.22.0]: https://github.com/kayjan/bigtree/compare/0.21.3...0.22.0
Expand Down
10 changes: 8 additions & 2 deletions bigtree/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.22.2"
__version__ = "0.22.3"

from bigtree.binarytree.construct import list_to_binarytree
from bigtree.dag.construct import dataframe_to_dag, dict_to_dag, list_to_dag
Expand Down Expand Up @@ -40,7 +40,13 @@
tree_to_polars,
yield_tree,
)
from bigtree.tree.helper import clone_tree, get_subtree, get_tree_diff, prune_tree
from bigtree.tree.helper import (
clone_tree,
get_subtree,
get_tree_diff,
get_tree_diff_dataframe,
prune_tree,
)
from bigtree.tree.modify import (
copy_and_replace_nodes_from_tree_to_tree,
copy_nodes,
Expand Down
Loading

0 comments on commit 0053187

Please sign in to comment.