62 ms·
Now if we can only get sublime text 2 within an ipython notebook on the cloud..... For me, R was my first language, and then I learned Python, and beautiful th
by elliott34 12y ago
Now if we can only get sublime text 2 within an ipython notebook on the cloud.....
For me, R was my first language, and then I learned Python, and beautiful things like list comprehensions, and it just clicks with my brain a bit more.
In pandas, a group by operation is beautiful
dataset2=dataset1.groupby([stuff], as_index=False).mean()
Same with pivot table...
When I did this with dplyr2 my work flow would be a few more steps, creating the "summarise" object and so forth and so on, which seems like more steps.