read_csv: Inconsistent behaviour with parse_dates if the first row is short #11019
Labels
Error Reporting
Incorrect or improved errors from pandas
IO CSV
read_csv, to_csv
Testing
pandas testing functions or related to the test suite
Milestone
I suspect this is related to #6710.
Calling
read_csv
withparse_dates=['a']
does the correct thing for t, raises a CParserError for s2, and raisesTypeError: 'NoneType' object has no attribute '__getitem__'
for s.I would expect a CParserError for s as well.
Pandas version: 0.16.2
The text was updated successfully, but these errors were encountered: