Using Jupyter Notebook I found that the function to split cells is very useful. I would like to do that in Google Colab as well, but I can't find how to do it.
Can it be done? And if the answer is yes, how?
Code cells Click the Play icon in the left gutter of the cell; Type Cmd/Ctrl+Enter to run the cell in place; Type Shift+Enter to run the cell and move focus to the next cell (adding one if none exists); or. Type Alt+Enter to run the cell and insert a new code cell immediately below it.
Colab has two types of cells: text and code. Text cells are formatted using a simple markup language called Markdown. To see the Markdown source, double-click a text cell, showing both the Markdown source and the rendered version. Above the Markdown source there is a toolbar to assist editing.
I don't know how to do it via menu selections, but in Jupyter Lab the shortcut is "Ctrl+Shift+-" to split a cell. Google Colab's shortcuts often replace "Ctrl+Shift+…" with "⌘/Ctrl+M …".
So, in this case, it would probably be "⌘/Ctrl+M -".
The "Keyboard shortcuts" window confirms this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With