[IPython-User] copy-paste data in notebook

Vasco Tenner vasco@tenner...
Mon Aug 12 07:46:31 CDT 2013


On 08/09/2013 06:39 PM, Thomas Kluyver wrote:
> 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.
Thank you for the hint.

Another solution to copy-paste data in your notebook is:
data = loadtxt(StringIO("""crtl-v"""))



More information about the IPython-User mailing list