Is there any function that will allow me to transform this list into a set of vectors?

前端 未结 0 2017
时光说笑
时光说笑 2021-01-26 11:49

I would like to turn this list [1, 2, 3, 4, 5, 6, 7, 8, 9] into the following set of vectors

(2,3,4) 
(3,4,5) 
(4,5,6) 
(5,6,7)
(6,7,8) 
(7,8,9)


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