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.
Answered by
oleksiyskononenko
Dec 23, 2021
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.
1 reply
Answer selected by
lmullany
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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