Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Merge cells in Google Colaboratory

How can I merge two cells in Google's Colaboratory? In Jupyter Notebook you can do so using ctrl + shift + m.

like image 470
Jash Shah Avatar asked Feb 15 '18 05:02

Jash Shah


2 Answers

There's no such command in the menu. But if you look at Tools > Keyboard shortcuts...

You will see 'Merge focused cell with next cell' which you can set your own shortcut key combination.

like image 166
korakot Avatar answered Oct 09 '22 18:10

korakot


You can CTRL+Click the cells you want to combine. Then, right-click one of the highlighted cells, and then click "Merge selected cells"

like image 45
Rish Avatar answered Oct 09 '22 17:10

Rish