cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

The Jupiter note-book doesn't update imports after updating the .py file

goldentown
New Contributor III

Please help. Here's an example:

I have one .py file and one .ipynb, and the .py file contains the test function, but after adding the new function test1, it doesn't appear in .ipynb. Even after re-running the .py file and reimporting it in .ipynb. How can I achieve the expected result?

1 ACCEPTED SOLUTION

Accepted Solutions

goldentown
New Contributor III

%load_ext autoreload

%autoreload 2

View solution in original post

1 REPLY 1

goldentown
New Contributor III

%load_ext autoreload

%autoreload 2

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.