Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
In my data, age are in days format. How to change it to normal real age? What operator shall I use?
sarahmae
Find more posts tagged with
AI Studio
Accepted answers
All comments
BalazsBaranyRM
Hi!
You can use Generate Attributes and enter arbitrary formulas for calculations and using functions.
Age in days / 365.24 would be the number of years. You could use floor() to truncate it to the smaller integer or round() if that works better for your use case.
If you enter the name of an existing attribute (age) in the "new" attribute name, it will be overwritten with the calculation result. This might be what you want here.
Regards,
Balázs
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups