-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: 'fill_value' is not a valid keyword for Series.interpolate #54920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Sorry for the confusion but I don't think it was me who introduced this error? I tried to revert all my changes in Anyways there seems to be already an open PR that can solve this issue. |
Sorry @Charlie-XIAO, I did not search further down the PR's. I'll do better next time. |
Please don't apologize @kmuehlbauer, that doesn't matter at all. I'm aware that the blame showed my PR and it's kind of complicated to bisect the right commit. |
Thanks @Charlie-XIAO. I plan to run a git-bisect later today, but no problem if someone else beats me to it! |
Result of a git bisect:
|
Pandas version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pandas.
I have confirmed this bug exists on the main branch of pandas.
Reproducible Example
Issue Description
The issue surfaced in xarray CI builds pydata/xarray#8125, pydata/xarray#8101.
It was introduced with #53962, but guessing from that the error should only be raised for fillna-methods.
Expected Behavior
Interpolation should succeed,
fill_value
-kwarg should be passed on to interpolating function.Installed Versions
INSTALLED VERSIONS
commit : ba1cccd
python : 3.11.0.final.0
python-bits : 64
OS : Linux
OS-release : 5.14.21-150500.55.19-default
Version : #1 SMP PREEMPT_DYNAMIC Tue Aug 8 22:15:01 UTC 2023 (9908c29)
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : de_DE.UTF-8
LOCALE : de_DE.UTF-8
pandas : 2.1.0
numpy : 1.24.2
pytz : 2022.7.1
dateutil : 2.8.2
setuptools : 67.6.0
pip : 23.0.1
Cython : None
pytest : 7.2.2
hypothesis : None
sphinx : None
blosc : None
feather : None
xlsxwriter : None
lxml.etree : None
html5lib : None
pymysql : None
psycopg2 : None
jinja2 : 3.1.2
IPython : 8.11.0
pandas_datareader : None
bs4 : 4.12.0
bottleneck : 1.3.7
dataframe-api-compat: None
fastparquet : None
fsspec : 2023.3.0
gcsfs : None
matplotlib : 3.7.1
numba : None
numexpr : None
odfpy : None
openpyxl : None
pandas_gbq : None
pyarrow : 11.0.0
pyreadstat : None
pyxlsb : None
s3fs : None
scipy : 1.10.1
sqlalchemy : None
tables : None
tabulate : None
xarray : 2023.8.1.dev8+g1809b913.d20230831
xlrd : None
zstandard : None
tzdata : 2023.3
qtpy : None
pyqt5 : None
The text was updated successfully, but these errors were encountered: