Skip to content
Discussion options

You must be logged in to vote

this can be achieved using .epoch_seconds() on the upstream columns and subtracting them

t = t.mutate(time_diff_col = _.time_col_A.epoch_seconds() - _.time_col_B.epoch_seconds())

(thanks to @cpcloud)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lostmygithubaccount
Comment options

Answer selected by lostmygithubaccount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant