Reputation: 771
is there a way to copy a cell with code and its output in Google Colab or in jupyter notebooks in general and paste it into another notebook?
Many thanks
Upvotes: 1
Views: 7484
Reputation: 11
In windows, hold Ctrl button and now with your mouse select all the cells that you want to copy. After selecting, press Ctrl+C to copy and Ctrl+V to paste.
Upvotes: 1
Reputation: 38619
Select the cell by drag selecting or command-clicking. Then, Control-C / Control-V keyboard shortcuts will copy/paste the cell between notebooks.
Upvotes: 2