I know that I\'ve seen some example somewhere before but for the life of me I cannot find it when googling around.
I have some rows of data:
data = [[1,2
There is a nice trick: wrap the data with pandas DataFrame.
import pandas as pd data = [[1, 2], [3, 4]] pd.DataFrame(data, columns=["Foo", "Bar"])
It displays data like:
| Foo | Bar | 0 | 1 | 2 | 1 | 3 | 4 |