I have my files placed on dataproc storage as:
- inotebook.ipynb
- dependencies
- test1.py
- test2.py
- __ init __.py
And currently working on inotebook.ipynb file and need to use functions in test1.py and test2.py files. Locally, I can use !python ....py and use functions available (or create a package and install). Is any of these options available on google cloud dataproc notebook?
I tried suggestions from below links and none worked:
- Dataproc import python module stored in google cloud storage (gcs) bucket
- Is there a way to import and run functions from saved .py files in a Jupyter notebook running on a Google Cloud Platform dataproc cluster?
Is there anyway to install a custom package or somehow run .py files from same sub-directory as my notebook file on dataproc?