Issue
How can I copy multiple cells from one jupyter notebook to another notebook at once, and the cells will not merge after pasting?
I have tried this solution, in which shift+Up/Down
are used for selection, cmd⌘+c
and cmd⌘+v
are used for copying and pasting. However, the cells will merge after pasting.
Is there a way to prevent the cells from merging?
Solution
The cells do not seem to merge, using Jupyter Lab version 2.1.5.
- Click on the left of the top cell you'd like to copy.
- Press the Shift key and click on the bottom cell you'd like to copy.
- The sequence of cells should be highlighted now (in light blue with the usual theme)
- Press the C key to copy
- Select the cell above the cell you want the new cells to appear.
- Press the V key to paste
Result (note that the new cells will have numbers matching the old ones):
Answered By - ELinda
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.