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
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s