- edited description
The detection of a header was fooled when even a single title was missing
Issue #7
closed
A csv file like:
Datetime,Value,,,,,,,,
2000-01-01 01:00:00, 1.5,,,,,,,,
2000-01-01 02:00:00, 2.5,,,,,,,,
2000-01-01 03:00:00, 3.4,,,,,,,,
2000-01-02 03:00:00, 3.4,,,,,,,,
2000-01-02 04:00:00, 3.4,,,,,,,,
would give:
AttributeError: 'numpy.int64' object has no attribute 'strip'
because I was trying to rename the empty column names.
Comments (2)
-
reporter -
reporter - changed status to closed
BUG: If any column title was missing from heading line would fail. Now names the column "Unnamed: 1", ...etc. closes
#7BUG: If multiple spaces in columns would through out entire column. Now just becomes a NaN for that record. closes#8resolves#3since now using more of the pandas functions.→ <<cset 150f13541745>>
- Log in to comment