[IPython-dev] Html object graph

klo uo klonuo at gmail.com
Thu May 8 06:57:12 EDT 2014


Thanks Matthias for your reply.

I agree that my mail was too general.

I started learning .Net basics and one thing that attracted me most was
Linq. Not that it just simplifies SQL by avoiding redundancy and providing
shorcuts, but can be used the same way on XML documents, or general .Net
objects (that provide IEnumerable(Of T) Interface) or even GUI elements
that provide IObservable(T) Interface (RX extensions).

Then using this LinqPad application as playground is a joy (compared to
other options), similarly as working in IPython, and plus making .Net
interpretable as Python is. I thought on how to connect both concepts but
wasn't much sure, as I still don't know much about IPython machinery, and
less about LinqPad, but that interactive Html table was IMHO worth
mentioning, even as general idea.

Now that you wrote about Pandas Html tables - maybe that's the right place
for providing enhanced  interactive object widget - on Pandas dataframe
object. Let me mention Linq again, that it is great, but can't be compared
to Pandas methods for data slicing for sure, and interfacing Pandas object
with rich widget would be really great step.

I did search for extensions to Html table dumped in IPython when I first
saw it, as although it was interesting to see tabular data presented as
such it still looked too basic, but I didn't find any.
Cyrille Rossant's project that you wrote about looks interesting as it
allows interactive changes to Pandas dataframe, and I hope he'll continue
crafting it, by adding other possibilities.

And as much as I would like to try to enhance IPython Html table myself,
I'm repulsed by JavaScript - it's just something I don't ever want to do,
unless I'm forced to.

Hopefully that LinqPad table interface can inspire some developer one way
or another.


Cheers



On Wed, May 7, 2014 at 11:56 AM, Matthias BUSSONNIER <
bussonniermatthias at gmail.com> wrote:

> Hy,
> Le 3 mai 2014 à 18:31, klo uo a écrit :
>
> Hey guys,
>
> are you are familiar with LinqPad?<https://www.linqpad.net/CodeSnippetIDE.aspx>
>
>
> Thanks for the link.
>
> If not, just to say it's a lightweight code scratchpad, that can connect
> to various databases and allow immediate Linq execution. It can also
> interpret any kind of .Net code (although currently without
> IronPython/Ruby).
>
> I thought to ask you about main output result pane - it's a very
> interesting Html table representation of dumped object(s), that adapts on
> the object type - allows collapsible nested levels, navigable deep
> Exception tree, can display images, rawhtml, hyperlinqs - user defined
> lambda functions that are executed on user click, …
>
>
> I suppose each of theses features should be discussed independently. Most
> should Imho be directly implemented by library,
> like cyrile rossant HandsonTable for panda dataframe.
>
> Some other like Traceback could definitively be integrate din the core,
> have already been discussed, but
> pushed to a later point by lack of manpower.
>
> Do you think something similar would fit in IPython?
> As object inspection magic, or Qtconsole output pane, or else…?
>
>
> The response will depend on the exact feature, but instead of targeting a
> specific frontend I would suggest to think on how to get this into the
> object _repr_*_ or
> in the message spec if it is really impossible to do otherwise.
>
> --
> M
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140508/7d8cbaea/attachment.html>


More information about the IPython-dev mailing list