Publications by Pradeep Mavuluri
Now "fread" from data.table can read "gz" and "bz2" files directly
Dear R Programmers,Those who all use data.table for your data readings, good news is that now, fread supports direct reading of zip formats like”gz” and “bz2”.To all my followers and readers, as mentioned earlier several times, good way for saving both space and reading fast is achievable by first saving raw files into “gz” format an...
870 sym
Nimble tweak to use specific python version or virtual environment in RStudio
Reticulate made switch between R & Python easy, and doing its best to facilitate both worlds of data science.Meanwhile, I noticed that most of my followers or students raised the issues of uneasy switch betweendifferent python versions or virtual environments in RStudio while using repl_python().Here is my nimble tweak, hope, RStudio will come up...
1367 sym
Tips for R to Python and Vice-Versa seamlessly
When we TATVA AI visit our clients, often both data scientists and higher management ask us, how we deal with both Python and R simultaneously for client requests; as there is no universal preference among clients.Though solution is not straight forward, however, I suggest to exploit common libraries for quick deployments, such as, dfply (pyth...
1088 sym 2 img
Forecast Stability Guidance for Model Selection
Forecast Stability Guidance for Model Selection /*! jQuery v1.11.3 | (c) 2005, 2015 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){“object”==typeof module&&”object”==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error(“jQuery requires a window with a document”);return b(a...
804 sym
Forecast Stability Guidance for Model Selection
In real world forecasting task, we don’t have luxury of actuals in hand for better model selection, in such realistic situations, forecast stability can guide us to some extent. Forecast Stability in simple terms, is all about how forecasts behave versus forecasts, we can measure it with simple coefficient of variation. This measure...
1674 sym
Repetitive Q: Reading Multiple Files in the Zip Folder
Dear Readers,I always see a repetitive question coming to me and across various forums on how to read multiple files in the zip folder of same separator or multiple separator. Again, here, lets not compromise on speed.Solution is to use easycsv package in R, which in turn uses data.table package function “fread”.Find below a quick example:lib...
1222 sym R (127 sym/1 pcs)
Tip (2) for R to Python and Vice-Versa seamlessly
In continuation to my earlier R to Python tips, in order to deal with both Python and R simultaneously for client requests; this time with respect to plots where both schools as of now by large distinct in their plotting styles; Plotline a new python package for grammar of graphics will help us with ease for two language enthusiasts. Plotline whi...
767 sym Python (228 sym/1 pcs) 2 img
Tip (3), Arrow, columnar (binary file) formats for both R and Python
Though Arrow was for around from some time (more than a year), in its recent release they came up with compression support that makes it be more user friendly for all data science activities across different languages. In my earlier posts, I have encouraged R users to use fst, however, in recent days, as Data Scientists frequency use both R and P...
824 sym
Tip (4), Variable Explorer for both R and Python in RStudio
In recent past, frequent usage of both R and Python by Data Scientists are considerably increasing. RStudio is preferred IDE for most of R users, though, there are Editors and Notebooks which serve for both languages, yet, switching between them is not easy. Especially for those who got used to RStudio “Environment” tab f...
821 sym
Tip (4), Variable Explorer for both R and Python in RStudio
In recent past, frequent usage of both R and Python by Data Scientists are considerably increasing. RStudio is preferred IDE for most of R users, though, there are Editors and Notebooks which serve for both languages, yet, switching between them is not easy. Especially for those who got used to RStudio “Environment” tab f...
821 sym