how do I convert this dataframe which includes a column of two dimension list to a new dataframe.
values name
[[1717813770, 1044], [1717813800, 1045], [1717... rx_busy
[[1717813770, 8648172], [1717813800, 8648178],... rx_reuse
[[1717813770, 2705571], [1717813800, 2725355],... rx_bytes
[[1717813770, 4173437], [1717813800, 4523487],... tx_bytes
In column value, each item comprise of [epoch timestamp, value] x 10. I want to convert it to a new DF, in which the head is from column ‘name’ above, it would be something like this,
rx_busy rx_reuse rx_bytes tx_bytes timestamp
1044 8648172 2705571 4173437 1717813770
1045 8648178 2725355 4523487 1717813800
......
I can’t think of any way to do it. many thanks for help.
New contributor
liw is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.