title: Cannot read file from NAS
body: <p>I am trying to read an excel file from a NAS using Jupyter Notebook (macOS, Python 3, SynologyDS218+).</p>
  
  <p>Script worked absolutely fine when the file was stored locally, but I cannot determine the correct code or file path adjustment to access the file once moved to the NAS.</p>
  
  <p>I am logged into the NAS and from Mac Finder the file path is:</p>
  
  <p>Server: smb://NAS/home/folder/file.xlsx</p>
  
  <p>I have reviewed...</p>
  
  <p><a href="https://stackoverflow.com/questions/45740273/how-to-read-an-excel-file-directly-from-a-server-with-python">How to read an excel file directly from a Server with Python</a></p>
  
  <p><a href="https://stackoverflow.com/questions/4163456/python-how-to-read-path-file-folder-from-server">Python - how to read path file/folder from server</a></p>
  
  <p><a href="https://apple.stackexchange.com/questions/337472/how-to-access-files-on-a-networked-smb-server-with-python-on-macos">https://apple.stackexchange.com/questions/337472/how-to-access-files-on-a-networked-smb-server-with-python-on-macos</a></p>
  
  <p>... and tried numerous code variations as a result, but with no success.</p>
  
  <p>I am using:</p>
  
  <pre><code>pd.read_excel(“//NAS/home/folder/file.xlsx”, sheet_name=‘total’, header=84, index_col=0, usecols=‘B,AL,DC’, skiprows=0, parse_dates=True).dropna()
  </code></pre>
  
  <p>But regardless of the code/file path variation, the same error is returned:</p>
  
  <pre><code>FileNotFoundError [Errno 2] No such file or directory: //NAS/home/folder/file.xlsx
  </code></pre>