09-06-2022 03:35 AM
Assume we have a given cell
print('A')
print('B')
print('C')
I want to run only the below line.
print('B')
Obviously, I can seperate the cell into three and run the one I want, but this is timely. This is a feature I use so often (e.g. in pycharm) and would like to know if there is any way in Databricks notebook, preferably with a keyboard shortcut.
07-12-2023 04:52 AM
With the new editor it is possible for some time now. Posting here for convenience.
Just select the lines and press ctrl+shift+enter
09-06-2022 04:11 AM
This looks promising. I am not aware of this. Would you mind sharing the snaps from pycharm?
09-06-2022 04:36 AM
09-06-2022 09:42 AM
Hi @Volkan Gumuskaya I am afraid we do not have a way to do this on a notebook command.
09-20-2022 11:40 PM
Hi @Volkan Gumuskaya
Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.
We'd love to hear from you.
Thanks!
07-12-2023 04:52 AM
With the new editor it is possible for some time now. Posting here for convenience.
Just select the lines and press ctrl+shift+enter
07-12-2023 05:28 AM
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.
If there isn’t a group near you, start one and help create a community that brings people together.
Request a New Group