r/Python • u/Topper_123 • Mar 12 '16
Pandas 0.18 releases!
http://pandas.pydata.org/pandas-docs/version/0.18.0/whatsnew.html16
u/Zouden Mar 12 '16
r = df.rolling(window=3)
r.mean()Oh nice, this is so much better than having to call pd.rolling_mean(). I've always thought that it shouldn't be a top-level function. Hopefully they'll do the same for pd.melt().
4
u/jdmarino Mar 12 '16
Frankly, it's hard to read the highlights without hearing Jeff Reback's voice in my head.
3
u/PeridexisErrant Mar 13 '16
Awesome! I'm just starting a project which will spend a lot of time with rolling windows, so this is fantastic timing :)
4
1
u/Homersteiner Mar 13 '16
A number of months ago i was in the middle of a contract project and pandas was misbehaving, so i upgraded. Terrible mistake. Runtimes were increased 10 fold, and matplotlib stopped working. A little google searching revealed panadas to the be problem. Downgraded to 0.16.2 and all was well again. So, you will forgive me if i dont upgrade until the bugs are addressed.
8
u/NavreetGill Mar 13 '16
Bugs are addressed as they are filed. Did you file one?
0
u/Homersteiner Mar 13 '16
I think completely killing runtimes and matplotlib should be found before the word "release" is even uttered.
5
u/NavreetGill Mar 14 '16
There are benchmarks that run after each commit, and there are a lot of tests. So, I doubt that runtimes were increased "10 fold", and matplotlib stopped working for many people. If it happened for you, it might've been your setup, or a corner case (in which case I recommend you file a bug).
Or, since you were using pandas to make money, you could also donate some of that towards it.
1
Mar 19 '16
FYI pandas is on numfocus now so you can donate. I just made two $100 contributions the other day to pandas and jupyter notebooks because I love them.
0
u/Homersteiner Mar 19 '16
FYI, treating windows users (7-64, 2.7), like lower class citizens does NOT make anyone want to upgrade. Thanks for your condescending attitude...no update for shit software.
34
u/cscanlin Mar 12 '16
This release has my first open source contribution!
pivot_table() now accepts most iterables for the values parameter (GH12017)