zyang
Contributor II

This is how to get notebook_path correctly.

notebook_path = dbutils.notebook.entry_point.getDbutils().notebook().getContext().notebookPath().get()

I think the databricks community *****. The technical support never gives the proper solution and answer. To Databricks , you need to improve this community.