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
Much like .SDcols = patterns is useful as a shorthand for filtering columns and much like setnames now accepts functions, .SDcols=function is (1) currently an error and (2) should translate pretty naturally as a shorthand for filtering in .SDcols.
e.g.
DT[ , lapply(.SD, sum), .SDcols = is.numeric]
Should be easy to apply ! as well.
The text was updated successfully, but these errors were encountered:
Much like
.SDcols = patterns
is useful as a shorthand for filtering columns and much likesetnames
now accepts functions,.SDcols=function
is (1) currently an error and (2) should translate pretty naturally as a shorthand for filtering in.SDcols
.e.g.
Should be easy to apply
!
as well.The text was updated successfully, but these errors were encountered: