Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump to nested-pandas 0.1.3 #46

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading