These are chat archives for FreeCodeCamp/DataScience

6th
Feb 2019
James Itum
@isemaj_gitlab
Feb 06 01:18
can data.table replace dplyr in R?
Eric Leung
@erictleung
Feb 06 03:33
@isemaj_gitlab in terms of functionality, yes. From what I know of data.table, it's designed for really large datasets like over 10 GB. Otherwise, dplyr should be sufficient. Plus, it works well with other tidyverse packages.
James Itum
@isemaj_gitlab
Feb 06 04:02
is it the same case with tidyr?
Eric Leung
@erictleung
Feb 06 06:54
@isemaj_gitlab just skimmed the vignettes and it looks like it's just a replacement for dplyr. You can still use tidyr on data.table objects, I think. This is because this vignette (https://cran.r-project.org/web/packages/data.table/vignettes/datatable-reshape.html) uses reshape2 to reshape the data.