[IPython-User] copy-paste data in notebook
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 <firstname.lastname@example.org> 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,
> IPython-User mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User