use "nan" to represent np.nan in ASCIItable output
This commit is contained in:
parent
b2abaef0b3
commit
bffce1ab9c
|
@ -350,4 +350,4 @@ class Table():
|
||||||
f = fname
|
f = fname
|
||||||
|
|
||||||
for line in header + [' '.join(labels)]: f.write(line+'\n')
|
for line in header + [' '.join(labels)]: f.write(line+'\n')
|
||||||
self.data.to_csv(f,sep=' ',index=False,header=False)
|
self.data.to_csv(f,sep=' ',na_rep='nan',index=False,header=False)
|
||||||
|
|
Loading…
Reference in New Issue