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
DT[ .N > 60, by = groupingID]
to quickly filter out any groups where you don't have 60 observations or DT[ min(Date) > "1989-11-09" , by = groupingID]
to filter out a group that started before the Berlin Wall fell
I'm new to github and don't know how this all works. Forgive me if this is not proper protocol. Thank you.
The text was updated successfully, but these errors were encountered:
red-swan
changed the title
[Request] Filter by group function
[Request] Filter by group criteria
Dec 1, 2015
If this is something that you've decided you'd like to implement, I'd love to help. I'm new to collaborating, though, so I would need help to be helpful.
Yes, it's a dup. There's already a way to do it.. DT[, .SD[.N > 60], by=ID]. It just needs to be optimised better.. which I'll work on later for this release.
PS: of course we'd be happy to receive PRs. There are quite a few issues for you to choose from :-).
DT[ .N > 60, by = groupingID]
to quickly filter out any groups where you don't have 60 observations or
DT[ min(Date) > "1989-11-09" , by = groupingID]
to filter out a group that started before the Berlin Wall fell
I'm new to github and don't know how this all works. Forgive me if this is not proper protocol. Thank you.
The text was updated successfully, but these errors were encountered: