Changed CategoryDataset ftsv files to be written with 0 and 1 instead of True and False.
This commit is contained in:
parent
89636962a7
commit
6101bf850c
@ -412,6 +412,9 @@ def write_ftsv(fd, ds):
|
||||
|
||||
# Write data
|
||||
m = ds.asarray()
|
||||
if type == 'category':
|
||||
m = m.astype('i')
|
||||
|
||||
y, x = m.shape
|
||||
for j in range(y):
|
||||
for i in range(x):
|
||||
|
Reference in New Issue
Block a user