read_csv: European numbers do not work with dates
See original GitHub issueCode Sample, a copy-pastable example if possible
Using the following reader leads to omission of the dates resulting in no index:
file_, index_col=0,
header=4, sep=';', quoting=1, parse_dates=True,
encoding='latin-1', dayfirst=True,
# decimal=',', thousands='.'
Expected Output
dataframe with pyhon numeric data and datecol as index
output of pd.show_versions()
pd.show_versions()
INSTALLED VERSIONS
------------------
commit: None
python: 3.5.2.final.0
python-bits: 64
OS: Linux
OS-release: 4.4.0-31-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: de_DE.UTF-8
pandas: 0.18.1
nose: 1.3.7
pip: 8.1.2
setuptools: 23.0.0
Cython: 0.24
numpy: 1.11.1
scipy: 0.17.1
statsmodels: None
xarray: None
IPython: 4.2.0
sphinx: 1.4.1
patsy: 0.4.1
dateutil: 2.5.3
pytz: 2016.4
blosc: None
bottleneck: 1.1.0
tables: 3.2.2
numexpr: 2.6.0
matplotlib: 1.5.1
openpyxl: 2.3.2
xlrd: 1.0.0
xlwt: 1.1.2
xlsxwriter: 0.9.2
lxml: 3.6.0
bs4: 4.4.1
html5lib: None
httplib2: None
apiclient: None
sqlalchemy: 1.0.13
pymysql: None
psycopg2: None
jinja2: 2.8
boto: 2.40.0
pandas_datareader: None
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
read.csv in R reading dates differently - Stack Overflow
The dates in the two csv files don't appear to be in the same format. Read the date column in as character and...
Read more >How to control date format when importing CSV files to Excel ...
Instead, right-click the column header over the column containing the dates, and select Change Type -> Using Locale. Then, in the dialog that ......
Read more >Importing a CSV file with dates in European format
I am trying to open a CSV file and the dates are in European format. This causes my macro to have all sorts...
Read more >4 tricks you should know to parse date columns with Pandas ...
1. Reading date columns from a CSV file. By default, date columns are represented as object when loading data from a CSV file....
Read more >Change date format for column of existing non-US format ...
@Don'tPanic It could be a Numbers bug that it doesn't recognise all local date formats when reading CSV files. Or maybe the date...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I tested with the v0.19 RC and it works with the original data. Thanks again!
it’s takes a while to actually generate those docs