Skip to content

Commit

Permalink
bump to nested-pandas 0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dougbrn committed Aug 1, 2024
1 parent bd4f3ce commit 511900c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ classifiers = [
dynamic = ["version"]
requires-python = ">=3.9"
dependencies = [
'nested-pandas==0.1.2',
'nested-pandas==0.1.3',
'numpy',
'dask>=2024.3.0',
'dask[distributed]>=2024.3.0',
Expand Down
2 changes: 0 additions & 2 deletions src/nested_dask/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ def count_nested(df, nested, by=None, join=True) -> NestedFrame:
if by is not None:
# will have one column per unique value of the specified column
# requires some computation to determine these values
# TODO: Requires modification of nested-pandas to always produce
# sorted output columns for meta
by_cols = sorted(df[nested].nest.to_flat()[by].unique())
out_cols = [f"n_{nested}_{col}" for col in by_cols]
else:
Expand Down

0 comments on commit 511900c

Please sign in to comment.