Better handling of column lines with all values at NA
This commit is contained in:
1 parent
ae5f42c260
commit
3d1b2e8ed9
2 files changed
+10
-2
No files matched your search
@@ -56,9 +56,11 @@ cdef class HeaderFormat:
|
||||
for k in ktags:
|
||||
if k in tags:
|
||||
value = data[k]
|
||||
if value is None:
|
||||
if value is None or (isinstance(value, Column_line) and value.is_NA()):
|
||||
if self.printNAKeys:
|
||||
value = self.NAString
|
||||
else:
|
||||
value = None
|
||||
else:
|
||||
if type(value) == Column_line:
|
||||
value = value.bytes()
|
||||
|
||||
Reference in new issue
Block a user