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
I noticed data.table's two dimensional selector [,] doesn't pick columns the same way data.frame's does, even though the object claims to be both a data.frame and data.table. Example below:
Hi John, also the "Introduction to data.table" vignette from the Getting started page explains the reason/idea behind it under 1. Basics -> g). FAQ 2.17 should be helpful to get an idea of other minor differences.
Once you get familiar with the data.table syntax, you'll find yourself using much less of the data.frame syntax (as you can do much more in the j argument of a data.table). It's just a matter of getting used to.
But we are discussing minimising this aspect of difference as much as possible in #1188.
I noticed data.table's two dimensional selector [,] doesn't pick columns the same way data.frame's does, even though the object claims to be both a data.frame and data.table. Example below:
The text was updated successfully, but these errors were encountered: