Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Pandas test fails with Scipy 0.19 #15662
Comments
|
well, since scipy 0.19.0 was just released and something I imagine changed I am not surprised. Would you have a look and see what changed and/or provide a PR to fix? (keeping in mind that we are back-compat thru scipy 0.13) |
jreback
added Numeric Compat
labels
Mar 12, 2017
jreback
added this to the
0.20.0
milestone
Mar 12, 2017
|
further scipy is not on the default conda channels as of yet, so this doesn't hit our tests yet. |
jreback
added the
Testing
label
Mar 12, 2017
|
@jreback I will have a look at it later this week. |
|
@jreback after some digging, I think those To fix the first one, it should do to pass an additional argument |
|
@zym1010 for 1st one: so looks like they added an argument. Were we just ignoring this before? (so its now required). did they give any warning? is it back-compat to prior versions? (if so, let's just add the arg, no big deal). For the 2nd just add in a conditional in the tests:
We do this in a couple of other places as well for scipy results. can you do a PR? (note that we are not actually testing with 0.19.0 yet as we don't have a fully conda-forge build for a couple of reasons), but I think I can change one of ours to do that. |
|
@jreback for 1st one: the argument is always there, and it's nullified if the window length is odd in previous versions. Now it's not the case. So in some sense I would say this is a bug on pandas' side. But yeah, they gave no warning on this nullifying behavior, and I don't think this change is in their release notes. for second one. Alright. I will take your approach. BTW, the change is due to their spline generator (previously they used
No problem. Should be done by midnight today when I'm more or less done with other work. |
|
@zym1010 awesome! I will put in place a PR to have testing on conda-forge (so we use 0.19.0 for scipy soon). It will fail master, but hopefully your PR should fix!. |
|
ok, merged #15668 change the skipping on scipy 0.19.0 when you push. |
This was referenced Mar 13, 2017
jreback
closed this
in 76e5185
Mar 15, 2017
AnkurDedania
added a commit
to AnkurDedania/pandas
that referenced
this issue
Mar 21, 2017
|
|
zym1010 + AnkurDedania |
c556177
|
mattip
added a commit
to mattip/pandas
that referenced
this issue
Apr 3, 2017
|
|
zym1010 + mattip |
61825a0
|
zym1010 commentedMar 12, 2017
Code Sample, a copy-pastable example if possible
Problem description
there are some errors w.r.t. interpolation related functions. Seems that this is related to the change of behavior for some Scipy functions in 0.19. But which is correct?
Expected Output
Output of
pd.show_versions()pandas: 0.19.2
nose: 1.3.7
pip: 8.1.2
setuptools: 26.1.1.post20160901
Cython: None
numpy: 1.11.3
scipy: 0.19.0
statsmodels: None
xarray: None
IPython: 5.1.0
sphinx: None
patsy: None
dateutil: 2.5.3
pytz: 2016.6.1
blosc: None
bottleneck: None
tables: None
numexpr: None
matplotlib: 1.5.2
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.8
boto: None
pandas_datareader: None