[IPython-User] copy-paste data in notebook

Thomas Kluyver takowl@gmail....
Fri Aug 9 11:39:48 CDT 2013

pandas.read_clipboard() might be what you want - it will grab the data from
the clipboard and read it into a pandas DataFrame. That's based on a numpy
array, and you can easily grab the raw array from it if you need it.

On 9 August 2013 07:17, Vasco Tenner <vasco@tenner.nl> wrote:

> I want to copy paste small amounts of data into in np.array a ipython
> notebook. Most of the data on the clipboard consists of two tab
> separated columns. Is there another solution than adding many array([,
> [, ]  and , by hand?
> Thank you,
> Vasco
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20130809/9a26eae7/attachment.html 

More information about the IPython-User mailing list