Sample data:
['2018-01-01','2018-01-02','2018-01-03','2018-01-04','2018-01-05',
'2018-01-06','2018-01-07','2018-01-08','2018-01-09','2018-01-10',]
Expected output:
[['2018-01-01','2018-01-02','2018-01-03']
['2018-01-04','2018-01-05','2018-01-06']
['2018-01-07','2018-01-08','2018-01-09']
['2018-01-10']]
I tried triple-index slicing but it only keeps the start point and end point, excluding the values between them.