Create matrix from a lagged timeseries numpy

后端 未结 0 1678
失恋的感觉
失恋的感觉 2021-01-29 02:56

Say we have a time series

[1,2,3,4]

I would like to generate a matrix of lagged values (maybe using np.roll) that generates the matrix,

[

相关标签:
回答
  • 消灭零回复
提交回复
热议问题