Commits

Nick Efford committed caa0425 Draft

Expanded the Tablib exmaple slightly.

Comments (0)

Files changed (1)

                            # for JSON data, assign to data.json
 
 print 'Dataset has', len(data), 'rows'
+print 'Headers:', data.headers
+print 'Magnitudes:', data['Magnitude']
 
 print 'Exporting as JSON to data.json...'
 with open('data.json', 'w') as outfile: