Pandas 1.0.5
import pandas as pd data = [ [1, \'2020-01-01 1:00:00\', 5], [1, \'2020-01-01 2:00:00\', 5], [1, \'2020-01-01 3:00:00\',