Records to Grid in Python

So one of the big problems I’ve had is how to convert data in recordset, from an SQL database into a grid so it can be plotted with Matplotlib. So you maybe asking what recordset is, well its where each entry is in a row.

Example

Recordset

X Y Z
0 0 1

Grid

Recordset

table.tr:last-child{background-color:black;}
table.tr.td:first-child{background-color:black;}

1
0 1
0 1

Leave a comment