I'm connecting to Azure data lake, and I have the file there, but it's in a different path, and I don't know how to import it. Thank you in advance for your help!
You can try below steps -->
-> sc.addPyFile("cloudstoragepath")
-> Then run the import filename_without_py_extension
after that
I hope this is your requirement as per what I understand.