difference between time64 columns #3218
-
What is the best/fastest way to add a duration column that indicates the difference between two time64 columns?
To make a new column that represents the minutes between t1 and t2, do I need to do something like this?
Is there a better way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
At some point we will add a new However, what you're asking is possible to be done in datatable even now. That's because internally
|
Beta Was this translation helpful? Give feedback.
At some point we will add a new
duration
type, so that one could directly calculate difference between the time columns, or between the date columns.However, what you're asking is possible to be done in datatable even now. That's because internally
time64
column is stored asint64
. So you can do something like that to calculate the number of minutes