Skip to content

How can I add a column that's a shift from another column? #2608

Answered by midichef
jabellcu asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, to use the values of rows that are before or after the current row, use the addcol-window command, which is bound to w.

For your example: move the cursor to be in the column "Date", then w then 1 0, and then = and Date_window[1] - Date_window[0]

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jabellcu
Comment options

@midichef
Comment options

@jabellcu
Comment options

@midichef
Comment options

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