R vs. Python Code Comparison - Creating Data Sets! #rstats #RStudio #python #pythoncode #dataset

preview_player
Показать описание
Which programming language is better for initializing datasets?
Рекомендации по теме
Комментарии
Автор

Nice simple demo between the two and has piqued my curiosity.. Assuming the performance difference is small, or negligible, for small datasets, I'd be curious to know if, and how, performance diverges as larger datasets are created. And also wondering how much of a difference data types make. For example, hypothetically, R might be faster making large datasets with mostly text columns, where Python might be faster making datasets with mostly numerical columns. Just something to think. :)

gecarter
Автор

IMHO, R is better here. Even the code is more compact.

lukmanaj
Автор

R code is easy and straight forward and Python code is black magic and clearly the work of the Devil.

theecanmole