Из такого списка
logi = [
'2019-01-01,user0,3',
'2019-01-07,user0,4',
'2019-03-29,user0,1',
'2019-04-04,user0,13',
'2019-01-05,user1,7',
'2019-06-14,user2,4',
'2019-07-02,user2,10',
'2019-03-21,user3,19',
'2019-03-22,user3,4',
'2019-04-22,user3,8',
'2019-05-03,user3,9',
'2019-05-11,user3,11',
]
в примерно такой
logi = [
["2019-01-01","user0","3"],
["2019-01-07","user0","4"],
["2019-03-29","user0","1"],
["2019-04-04","user0","13"],
["2019-01-05","user1","7"],
["2019-06-14","user2","4"],
["2019-07-02","user2","10"],
["2019-03-21","user3","19"],
["2019-03-22","user3","4"],
["2019-04-22","user3","8"],
["2019-05-03","user3","9"],
["2019-05-11","user3","11"],
]