Skip to content

Commit

Permalink
Addressed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonbb committed Apr 18, 2024
1 parent e884699 commit 71594b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/nested_pandas/nestedframe/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,9 @@ def reduce(self, func, *args, **kwargs) -> NestedFrame:
Notes
-----
The recommend return value of func should be a `pd.Series` where the indices are the names of the
output columns in the dataframe returned by `reduce`.
output columns in the dataframe returned by `reduce`. Note however that in cases where func
returns a single value there may be a performance benefit to returning the scalar value
rather than a `pd.Series`.
Example User Function:
```
Expand Down

0 comments on commit 71594b5

Please sign in to comment.