[IPython-dev] IPyTables - simple table construction for IPython

Matthias BUSSONNIER bussonniermatthias at gmail.com
Thu Aug 8 09:03:44 EDT 2013


Le 8 août 2013 à 14:52, Hans Meine a écrit :

> Am Mittwoch, 6. März 2013, 12:16:34 schrieb Thomas Kluyver:
>> Demo: http://nbviewer.ipython.org/5098827
>> Module: https://gist.github.com/takluyver/5098835
>> 
>> This is a prototype that I've thrown together quickly: feedback is very
>> welcome. Obvious extensions include:
>> 
>> - Expose more style attributes for customisation (so far it's just text and
>> background colour)
>> - Add a plain text repr(), so that tables are useable in the terminal
> 
> I could help with the latter; at least I have code for pretty-printing tables 
> in python in a terminal already.  (Can I clone a gist?  IIRC yes, but I never 
> worked with gists so far.)

Yes, side left panel : clone this gist :
git clone https://gist.github.com/5098835.git

(I would suggest forking it first)



> 
> What about sorting by columns?  (I.e. spicing up the HTML version with 
> appropriate JS magic?)

IMHO : let's wait for Js-plugin so that you "just" have to publish this table data instead 
of hacking something that display javascript and HTML. 
It would also have the advantage that you could have a plugin that does it in emacs or 
nbconvert.

-- 
Matthias




> 
> Best regards
>  Hans
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev




More information about the IPython-dev mailing list