Press "Enter" to skip to content

Shuffling Columns: R and Python Options

Tom Shafer does some testing:

Last year I benchmarked a few ways of shuffling columns in a data.table, but what about pandas? I didn’t know, so let’s revisit those tests and add a few more operations! pandas winds up being much more competitive than I expected.

Click through for those findings and the code Tom used for the task. H/T R-Bloggers.