Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
read_csv ignores dtype for empty CSV files #14712
Comments
gfyoung
added a commit
to gfyoung/pandas
that referenced
this issue
Nov 22, 2016
|
|
gfyoung |
30ac610
|
gfyoung
referenced
this issue
Nov 22, 2016
Merged
BUG: Respect the dtype parameter for empty CSV #14717
jreback
added Bug Dtypes IO CSV
labels
Nov 22, 2016
jreback
added this to the
Next Major Release
milestone
Nov 22, 2016
gfyoung
added a commit
to gfyoung/pandas
that referenced
this issue
Nov 23, 2016
|
|
gfyoung |
f87a976
|
gfyoung
added a commit
to gfyoung/pandas
that referenced
this issue
Nov 23, 2016
|
|
gfyoung |
cee4d6a
|
jreback
modified the milestone: 0.20.0, Next Major Release
Nov 23, 2016
jorisvandenbossche
closed this
in #14717
Nov 24, 2016
jorisvandenbossche
modified the milestone: 0.19.2, 0.20.0
Nov 24, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jluttine commentedNov 22, 2016
Code Sample, a copy-pastable example if possible
Problem description
CSV reader doesn't respect the given dtype
np.float64but setsobjectdtype instead.Expected Output
Output of
pd.show_versions()pandas: 0.19.1
nose: 1.3.7
pip: 8.1.2
setuptools: 28.8.0
Cython: 0.25.1
numpy: 1.11.2
scipy: 0.18.1
statsmodels: None
xarray: None
IPython: 5.1.0
sphinx: 1.4.8
patsy: None
dateutil: 2.6.0
pytz: 2016.7
blosc: None
bottleneck: None
tables: 3.3.0
numexpr: 2.6.1
matplotlib: 1.5.3
openpyxl: None
xlrd: 1.0.0
xlwt: None
xlsxwriter: None
lxml: None
bs4: 4.5.1
html5lib: None
httplib2: 0.9.2
apiclient: 1.5.5
sqlalchemy: 1.1.4
pymysql: None
psycopg2: 2.6.2 (dt dec pq3 ext lo64)
jinja2: 2.8
boto: None
pandas_datareader: None