News for hackers. Stuff that matters.
Re:What's Next for R? by CoolGuySteve on Saturday December 28, 2019 @12:26AM (#21897302)
Both R and pandas force you to wrap your problem around dataframes and vectorized operations. But sometimes you really do just want to write a loop that iterates over the data.

Right now the only way to do that without significant performance costs is to drop down into C or avoid the problem completely by using Julia.

Having worked with both R and Python on large datasets, I think both languages are really easy until they aren’t. Eventually you hit a performance wall.

Re:What's Next for R? by amrrs on Saturday December 28, 2019 @03:01AM (#21897756)
You can increase the speed of loops in Python using Numba. It's really a great performance booster with just a few decoraters added.
Re:What's Next for R? by goatlover on Saturday December 28, 2019 @01:59AM (#21897584)
You can drop down into the Numpy values array in Pandas to get your performance gain when iteration is otherwise slow.