Renaming A Variable Everywhere In Jupyter Notebook
Solution 1:
I hope you have already solved this. But, my answer will help someone who has similar problem like that. I think this can be accomplished using the Find and Replace option which can be found under the edit menu of the notebook. If you're in command mode, you can easily press the F key and bring up the find and replace dialog. Thank you!
Solution 2:
Maybe a bit late, but I found a simple solution:
1 - shift+click in first cell
2 - shift+click in last cell
3 - Press F or go to Edit/Find and Replace
4 - Rename the expression you need.
Solution 3:
It is a bit late, but it could help someone.
1- Go to "Edit", then "Find and Replace".
2- Enter the two words in Find and Replace respectively.
3- Click on the small arrow in order to rename all the occurences in your jupyter notebook.
Solution 4:
From a Mac, highlighting and using control-right click gives an option (⌘-F2 is a shortcut) to change all occurrences. I suspect this is what you want, but if your variable names are too short (e.g. i, j, k), it could really mess up your code.
Post a Comment for "Renaming A Variable Everywhere In Jupyter Notebook"