"writing csv files, booleans should be 0 and 1"
wessel
New Altair Community Member
Answers
-
Hi,
you can use a Generate Attributes to create an attribute which contains 1 in case of true and 0 in case of false. Then remove your old attribute
and rename the created one to your desired name.
Best,
Nils0 -
Hey Nils,
Thanks.
So basically what your saying is.
Create numeric attributes.
(Numeric attributes write 0.0 and 1.0 by the way).
Or should I use "1" and "0" in string value?
To create a nominal attribute?
I guess that would really write out what I was asking for.
Best regards,
Wessel0 -
I would recommend you to create a nominal attribute as numerical attributes probably get written as 1.0 etc. :-)
With a nominal attribute with values "1" and "0" it should write if you have unchecked the "quote nominal values" option.
Best,
Nils0