You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently both functions are defined as first(iterable, start=0) and count(iterable, start=0). The following fixes are needed:
Parameter start is not used in these functions -- remove
When iterable is not a BaseExpr they do nothing. However, it makes sense to define these functions for an arbitrary python iterable too - as the name of the parameter suggests.
The iterable in count() should default to None, so that count() is valid too. This should return a special BaseExpr that computes the number of rows in each group.
In addition, we need to add tests for both of these functions.
The text was updated successfully, but these errors were encountered:
Currently both functions are defined as
first(iterable, start=0)
andcount(iterable, start=0)
. The following fixes are needed:start
is not used in these functions -- removeiterable
is not aBaseExpr
they do nothing. However, it makes sense to define these functions for an arbitrary python iterable too - as the name of the parameter suggests.iterable
incount()
should default toNone
, so thatcount()
is valid too. This should return a specialBaseExpr
that computes the number of rows in each group.In addition, we need to add tests for both of these functions.
The text was updated successfully, but these errors were encountered: