Data re-Shaping in R and in Python

This article was first published on python – Win-Vector Blog , and kindly contributed to python-bloggers. (You can report issue about the content on this page here)
Want to share your content on python-bloggers? click here.

Nina Zumel and I have a two new tutorials on fluid data wrangling/shaping. They are written in a parallel structure, with the R version of the tutorial being almost identical to the Python version of the tutorial.

This reflects our opinion on the “which is better for data science R or Python?” They both are great. So start with one, and expect to eventually work with both (if you are lucky).

Each of these tutorials include link to our new “design a fluid data transform in under 1 minute” instructional video.

The video is unlikely to make sense without reading the articles (and possibly some of the linked backing tutorials). But for the prepared mind this video can be an “Aha!” moment.

Once you get your head around the concept (which takes much longer than a minute!): you can see how we take an example input/output pair and annotate them to become the data transform specification. This can be ground breaking, as it encourages you to spend all of your time thinking about the data. It is easy to copy/paste the specific detailed commands after you have the specification in place.

To leave a comment for the author, please follow the link and comment on their blog: python – Win-Vector Blog .

Want to share your content on python-bloggers? click here.