shift
Returns a column with the name New Column by shifting the index of the selected column by desired number of periods.
Basic Usage
:: shift(colname,2)
Output
Returns a column with the name New Column
Function Parameters
- argument 1 : Name of the column
- argument 2 : desired number of shifts
info
- Minimum arguments needed are 2
- Maximum arguments is 2
- First argument must be a column name