When I run a cell in jupyter notebook, it says ‘var_name’ not defined that is defined in previous cell.
Do I have to write all the previous code to run code in next cell?
No, you have to make sure if it is defined in the previous cells, then you have to run those cells before you run this cell! Give it kernel restart and run all!
1 Like
It is working now, the problem was to run previous cells.
Thank You to clear the confusion
2 Likes