Details
-
Improvement
-
Status: Open
-
P3
-
Resolution: Unresolved
-
None
-
None
Description
We should be able to build a deferred operation that calculates the number of groups for GroupBy.ngroups.
len(groupby) might be possible ... but I think python will complain if we return something other than an integer (like a deferred operation). If thats the case we should raise an error that directs users to alternatives (e.g. ngroups).
Attachments
Issue Links
- is a child of
-
BEAM-12133 Tracking: DataFrame API future enhancements
- Open
- is a parent of
-
BEAM-13968 Implement len(GroupBy) and ngroups for DataFrame API
- Open
- is duplicated by
-
BEAM-14106 DataFrame API: Refactor GroupBy
- Resolved