Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
to_numeric segmentation fault with empty object series #16302
Comments
TomAugspurger
added Difficulty Intermediate Effort Medium Numeric
labels
May 9, 2017
TomAugspurger
added this to the
0.20.2
milestone
May 9, 2017
|
Thanks, confirmed it as well. |
jorisvandenbossche
added the
Regression
label
May 9, 2017
|
cc @gfyoung |
|
@FrenchyRaoul : Thanks for tracing this back. Bug traces to the fact that we had assumed |
gfyoung
added a commit
to gfyoung/pandas
that referenced
this issue
May 9, 2017
|
|
gfyoung |
9d79605
|
gfyoung
referenced
this issue
May 9, 2017
Merged
BUG: Don't segfault to_numeric when input is empty #16305
FrenchyRaoul
commented
May 9, 2017
My pleasure! |
jorisvandenbossche
closed this
in #16305
May 9, 2017
jorisvandenbossche
added a commit
that referenced
this issue
May 9, 2017
|
|
gfyoung + jorisvandenbossche |
81aa70c
|
pawroman
added a commit
to pawroman/pandas
that referenced
this issue
May 9, 2017
|
|
gfyoung + pawroman |
31c82c0
|
pcluo
added a commit
to pcluo/pandas
that referenced
this issue
May 22, 2017
|
|
gfyoung + pcluo |
2d9b36a
|
TomAugspurger
added a commit
to TomAugspurger/pandas
that referenced
this issue
May 29, 2017
|
|
gfyoung + TomAugspurger |
9e77690
|
TomAugspurger
added a commit
that referenced
this issue
May 30, 2017
|
|
gfyoung + TomAugspurger |
84b024f
|
stangirala
added a commit
to stangirala/pandas
that referenced
this issue
Jun 11, 2017
|
|
gfyoung + stangirala |
67c4ada
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FrenchyRaoul commentedMay 9, 2017
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