[SciPy-user] spreadsheet data visualisation app

John Hunter jdh2358@gmail....
Thu Nov 6 10:44:58 CST 2008


On Thu, Nov 6, 2008 at 10:15 AM, Gary Pajer <gary.pajer@gmail.com> wrote:

>> is there any application that I can use view numpy arrays in a tabular /
>> spreadsheet like manner?

matplotlib has a gtk toolkit for an editable record array view.  One
could easily adapt the pattern to other toolkits

  In[1:]: import matplotlib.mlab as mlab

  In [2]: r = mlab.csv2rec('data/intc.csv')

  In [3]: import mpl_toolkits.gtktools as gtktools

  In [4]: gtktools.rec2gtk(r)
  Out[4]: <SortedStringsScrolledWindow object (GtkScrolledWindow) at 0x8c98e14>

Screenshot is attached -- click on a cell to edit...

JDH
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtkview.png
Type: image/png
Size: 41755 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/scipy-user/attachments/20081106/614f32fa/attachment-0001.png 


More information about the SciPy-user mailing list