Releases: kayjan/bigtree
Releases · kayjan/bigtree
0.9.5
2023-07-13
Added
- Misc: Added init files, add link to discussions to README and pyproject, add sphinx coverage shortcuts.
Fixed
0.9.4
2023-06-18
Added
- Tree Constructor:
list_to_tree_by_relation
anddataframe_to_tree_by_relation
method to allow duplicate intermediate nodes (default is false). - DAG Exporter: Added
node_shape
parameter indag_to_dot
export function for easier way to customize node shape. - Misc: More test cases.
- Misc: Added security instructions on how to raise vulnerabilities.
- Misc: Added Calendar workflow to documentation.
Changed
- Tree Constructor:
add_dict_to_tree_by_name
method rename argument frompath_attrs
toname_attrs
. - Misc: Modified contributing instructions.
Fixed
- Tree Exporter:
tree_to_dot
to handle cases when not all nodes haveedge_attr
. - DAG Exporter:
dag_to_dot
to perform dictionary copy to prevent style from being overridden for child nodes. - Tree Constructor:
dataframe_to_tree
to handle case when path column is not the first column.
0.9.3
0.9.2
0.9.1
0.9.0
2023-03-29
Added
- Tree Modifier: Ability to copy/shift nodes with full path in
from_paths
for faster search performance, addedwith_full_path
parameter.
Changed
- Tree Modifier: Enforced paths in
to_paths
to be full path for faster search performance. - Tree Modifier: Faster creation of intermediate parent nodes in
to_paths
. - Tree Modifier: Better handling of
sep
in paths by performing string replacement at the start. - Tree Modifier: Check and throw error for invalid parameters, case when node is meant to be deleted but
copy=True
.
Fixed
- Tree Modifier: Fix issue trailing
sep
differing infrom_paths
andto_paths
which should not throw error.
0.8.4
2023-03-24
Added
- Tree Search: Implement
find_child
andfind_children
to find single child or multiple children based on user-defined condition.
Changed
- Tree and DAG Constructor: Reduce reliance on
numpy
package, only rejectNone
attributes when creating tree from DataFrame (previously it rejects[None]
). - Tree Helper: Get difference between two trees reduce reliance on
numpy
package, enhance test cases. - Tree Search: Renamed
find_children
tofind_child_by_name
for clarity. - Misc: Fix README for Windows installation.