How to access a file on a remote smb drive using Jupyter Notebook?

Viewed 685

So, I'm trying to do some data analysis using Python/Jupyter Notebook. The dataset lives on a remote smb shared drive. How can I read in the data without downloading it to my local machine?

I tried changing the working directory by running:

os.chdir('smb://insititution.org/FOLDERPATH')

and I get a "No such file or directory" error.

I would appreciate any help anyone can offer!

1 Answers

use below argument while starting jupyter notebook

--NotebookApp.notebook_dir="\\IP_ADDRESS_FOR_SMB_HOST\share"
Related