Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Pandas Pivot Table Explained (pbpython.com)
97 points by diegolo on July 5, 2015 | hide | past | favorite | 11 comments


Here's a very similar tool in Ruby. https://github.com/hopsoft/goldmine


... and let me guess: you wrote it! :)


This guys has a lot of nice material, presented in a clear and approachable way (this week I was teaching Python and I was linking him a lot).

For example:

http://pbpython.com/visualization-tools-1.html

http://pbpython.com/web-scraping-mn-budget.html


Nice blog too - lots of useful articles - makes we want to spend the rest of a beautiful Sunday indoors hacking


same here ;)


Unreal, I have been wrestling with this for weeks. Manna from heaven!


Can anyone explain the different between pivot() and pivot_tables()?


Anyone hitting an error for:

table.query('Status == ["pending","won"]')

AttributeError: 'Categorical' object has no attribute 'flags'


Most people likely have experience with pivot tables in Excel.

Uhh, really?


Maybe that's true for their target audience. I suppose broadly speaking most people never used Excel. Also, most people never -- or very seldomly -- use computers.


If you're talking globally that's true, but do you think that's still true for modern industrialized nations? (USA/Canada/Western Europe/Japan/etc.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: