in PyCharm you can press Alt+Shift+Up
or Alt+Shift+Down
to move line up or down respectively.
(in Mac: option+Shift+Up
or option+Shift+Down
)
Is there such thing in Google Colab as well?
In google colab you can use alt+up/down
to move the line in linux and Windows