juliajulia-dataframe

How do you apply a shift to a Julia Dataframe?


In python pandas, the shift function is useful to shift the rows in the dataframe forward and possible relative to the original which allows for calculating changes in time series data. What is the equivalent method in Julia?


Solution

  • Normally one would use ShiftedArrays.jl and apply it to columns that require shifting.