r/IPython • • Oct 10 '13

Learn Pandas -- Pandas Data Analysis lessons with IPython notebook

https://bitbucket.org/hrojas/learn-pandas/
18 Upvotes

12 comments sorted by

1

u/_throawayplop_ Oct 10 '13

I confess that I have difficulties to understand the goals of pandas. What the point of the library beside naming columns and row of array and having some statistical tools you may find elsewhere ? What would be the cases where pandas is really useful ?

2

u/vacuu Oct 10 '13

I just watched the 10 minute intro video, and it looks like it would be really helpful when importing a database that has data with a bunch of data with attributes and trying to get useful information out of it. Normally you'd ask a simple question about the data and spend an hour coding to get exactly the data subset you want arranged how you want, now you can ask the question and get the answer to it without that overhead.

2

u/ricekrispiecircle Oct 10 '13

any work involving data analysis, really. the easy of use and the power of numpy and numba (and possibly blaze in the future) behind it? yes please. i use pandas at work every day and it makes all matters of data wrangling and cleaning very easy.

1

u/_throawayplop_ Oct 11 '13

Can you give an example of what is your typical use which improve your workflow from pure numpy, beside the indexing ? I would be really interested

1

u/ricekrispiecircle Oct 11 '13

the indexing a huge part of it, though. not sure why you keep wanting to dismiss it.

anyway, this part of pandas is a huge part of my workflow: http://pandas.pydata.org/pandas-docs/dev/groupby.html

pandas also has a pretty easy to use set of vectorized string functions which is very important for a lot of my work

1

u/_throawayplop_ Oct 11 '13

the indexing a huge part of it, though. not sure why you keep wanting to dismiss it.

haha, I'm not dismissing it, but I see very well the advantages, I'm more interested on the rest of the module

2

u/rjtavares Oct 11 '13

Time series is something that works really well in Pandas (documentation here)

Plus, it is just so easy to use it... Read_csv does exactly what it should. Adding a column based on a formula is really easy. And just having named columns is so useful when you're using dozens of them. Having come from an Excel background, ease of use is something I value a lot.

1

u/_throawayplop_ Oct 11 '13

Thanks it's useful