I have data in the following form:
[('06/03/2018 17.35.18.211', 'param_a', 1),
('06/03/2018 17.35.19.211', 'param_b', 1),
('06/03/2018 17.35.20.211', 'param_c', 1),
('06/03/2018 17.35.21.211', 'param_a', 2),
('06/03/2018 17.35.22.211', 'param_b', 2),
('06/03/2018 17.35.22.211', 'param_c', 2)]
What would be the best way to create a dataframe out of it which looks like this:
timestamp param_a param_b param_C
0 06/03/2018 17.35.18.211 1.0 NaN NaN
1 06/03/2018 17.35.19.211 NaN 1.0 NaN
2 06/03/2018 17.35.20.211 NaN NaN 1.0
3 06/03/2018 17.35.21.211 2.0 NaN NaN
4 06/03/2018 17.35.22.211 NaN 2.0 2.0