The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Adding Time Attribute to Data
Hi everyone,
I have a problem with my data preprocession:
I need a Time Attribute column for the GSP operator in my data. The data looks like this
SessionNo ItemNo TransactType
1 12 0
1 13 1
1 12 1
2 15 0
......
the Session ID stands for a customer and the itemNo and TransactType for his actions.
Now i'd like to have a Time Attribute Column, so the data looks like this:
SessionNo Time ItemNo TransactType
1 1 12 0
1 2 13 1
1 3 12 1
2 1 15 0
Any suggestions?
I have a problem with my data preprocession:
I need a Time Attribute column for the GSP operator in my data. The data looks like this
SessionNo ItemNo TransactType
1 12 0
1 13 1
1 12 1
2 15 0
......
the Session ID stands for a customer and the itemNo and TransactType for his actions.
Now i'd like to have a Time Attribute Column, so the data looks like this:
SessionNo Time ItemNo TransactType
1 1 12 0
1 2 13 1
1 3 12 1
2 1 15 0
Any suggestions?
1
Answers
Would like to know how to do this too.
@SHSguy using a Generate Attributes operator create a new attribute called 'Date' and set it to date_now(). Unless you need to pass a real date to it, then using a Set Role to set the Date attribute to ID. I think it should flow through the process.