Hi David,
Unfortunately I don't have a solution to offer you because I don't know
how the variable explorer works internally. I'll try to look at problem
you have and give you a solution (if possible) but I think the right
approach would be to develop something something like arrayeditor.py
(which lets you visualize numpy arrays) for DataFrames.
Cheers,
Carlos
El 26/11/12 05:32, David van Coevorden escribió:
Hi,
We are trying to patch Spyder to support showing Pandas
(http://pandas.pydata.org/) dataframes in the variable explorer. We
actually managed to show a dataframe in the variable explorer,
representing it as a numpy matrix. However this is only available when
we uncheck "Exclude unsupported datatypes" in the preferences of the
Variable explorer. I thought it shouldn't be too hard to find this..
but sofar I haven't. I added DataFrame in the get_supported_types()
method in base_config.py, to no avail. Would be grateful for any hints
in the right direction?
Thank you,
David
--
You received this message because you are subscribed to the Google
Groups "spyder" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/spyderlib/-/N7s6mpVQSSsJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/spyderlib?hl=en.
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/spyderlib?hl=en.