add a data-import magic

Bug #420099 reported by Timmie on 2009-08-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IPython
Confirmed
Wishlist
Unassigned

Bug Description

Implement a data import tool that helps users to quickly load data sets from files into the desired python object.

Thinking of something like R-Commander for R-Project:
http://yfrog.com/e4rcommanderdataimportj

For instance, IPython could have a magic:
%fileimport

This could open a dialog to select any file that can be read in with numpy,
scipy tools or any other library imported before which have IO or beyond capabilities: timeseries, hdf, pytables

This could be convenient for interactive data analysis and for quick checking.

Ville M. Vainio (villemvainio) wrote :

This is easy enough to add as an extension. Check out

http://ipython.scipy.org/doc/stable/html/interactive/extension_api.html#defining-new-magic-commands

I don't think that feature belongs in the core though (because what it does is not well defined).

Changed in ipython:
importance: Undecided → Wishlist
status: New → Confirmed
Timmie (timmie) wrote :

I already started some %magic with tsfromtxt.

I am currently busy with other stuff. But send a message once you start with serious work.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers