Generate Attribute
Patrick2
New Altair Community Member
Hi,
I'm trying to add parameters to my dataset using the Generate Attribute operator. In some cases I want to include a missing value for my new attribute. I have tried the following expression:
Regards
Patrick
I'm trying to add parameters to my dataset using the Generate Attribute operator. In some cases I want to include a missing value for my new attribute. I have tried the following expression:
if(class=="y",FALSE,if(class=="x",?,TRUE))Unfortunately this does not work. I hope someone can help me
Regards
Patrick
Tagged:
0
Answers
-
Hello
Use 0/0 instead of ?
Regards,
Andrew0 -
Thank youawchisholm wrote:
Use 0/0 instead of ?0 -
Hi,
you can use NaN, too, I think.
Greetings,
Sebastian0