-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
to_numeric segmentation fault with empty object series #16302
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
Labels
Numeric Operations
Arithmetic, Comparison, and Logical operations
Regression
Functionality that used to work in a prior pandas version
Milestone
Comments
Thanks, confirmed it as well. |
cc @gfyoung |
@FrenchyRaoul : Thanks for tracing this back. Bug traces to the fact that we had assumed |
gfyoung
added a commit
to forking-repos/pandas
that referenced
this issue
May 9, 2017
My pleasure! |
jorisvandenbossche
pushed a commit
that referenced
this issue
May 9, 2017
pawroman
pushed a commit
to pawroman/pandas
that referenced
this issue
May 9, 2017
pcluo
pushed a commit
to pcluo/pandas
that referenced
this issue
May 22, 2017
TomAugspurger
pushed a commit
to TomAugspurger/pandas
that referenced
this issue
May 29, 2017
Closes pandas-devgh-16302. (cherry picked from commit 81aa70c)
TomAugspurger
pushed a commit
that referenced
this issue
May 30, 2017
stangirala
pushed a commit
to stangirala/pandas
that referenced
this issue
Jun 11, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Numeric Operations
Arithmetic, Comparison, and Logical operations
Regression
Functionality that used to work in a prior pandas version
Code Sample
Further tracing seems to indicate the problem is likely here:
Problem description
Running to_numeric with an empty object series causes a segmentation fault on version 0.20.1. This did not occur in version 0.19.0.
Expected Output
An empty numeric series, or a ValueError.
Output of
pd.show_versions()
pandas: 0.20.1
pytest: None
pip: 9.0.1
setuptools: 20.10.1
Cython: None
numpy: 1.10.4
scipy: None
xarray: None
IPython: 4.2.0
sphinx: None
patsy: None
dateutil: 2.4.2
pytz: 2015.7
blosc: None
bottleneck: None
tables: None
numexpr: None
feather: None
matplotlib: 2.0.0b1
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: 0.9.6
lxml: None
bs4: None
html5lib: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.8
s3fs: None
pandas_gbq: None
pandas_datareader: None
The text was updated successfully, but these errors were encountered: