You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since it's not, if skip_blank_lines=False is passed to the reader, then in all cases, every value read will be 'NaN' for str types, nan for float types, and raise an error for int types.
I'm surprised no one has ever run into this-- it suggests that no one has ever used the non-default option of skip_blank_lines.
The text was updated successfully, but these errors were encountered:
Can we remove this option? Either blank lines can always be skipped (which is the current behavior), or they can cause an error (due to being malformed CSV).
The second clause here should be
elif not row
orelif row == []
.koza/src/koza/io/reader/csv_reader.py
Lines 126 to 130 in fceafe5
Since it's not, if
skip_blank_lines=False
is passed to the reader, then in all cases, every value read will be'NaN'
forstr
types,nan
forfloat
types, and raise an error forint
types.I'm surprised no one has ever run into this-- it suggests that no one has ever used the non-default option of
skip_blank_lines
.The text was updated successfully, but these errors were encountered: