pandas and PyGridTableBase

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pandas and PyGridTableBase

Tom B

Does anyone know of examples where gridlib.PyGridTableBase is specialized
to wrap a pandas dataframe object, with the ability to sort table based on a
column.  I've taken several examples and modified to use a wrapped
dataframe, but the sort never works.  The dataframe does get sorted but the grid is never updated.
Attached is an example where the CVSData source works(commented out), and while PandasDataSource
sorts the dataframe, the display not updated.   

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

dataGrid.py (5K) Download Attachment
sample_data.csv (435 bytes) Download Attachment