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
Hey guys, I am struggling with removing rows from a data.table in an efficient way. With SQL I have DELETE FROM table_name WHERE condition, but with data.table I only find examples of people doing dt <- dt[condition]. This seems to be 2 time slower than base R data.frame...
Hey guys, I am struggling with removing rows from a
data.table
in an efficient way. With SQL I haveDELETE FROM table_name WHERE condition
, but withdata.table
I only find examples of people doingdt <- dt[condition]
. This seems to be 2 time slower than base Rdata.frame
...Example:
(borrowed and adjusted from here: https://stackoverflow.com/a/22655130/3494126)
The text was updated successfully, but these errors were encountered: