- 47268 Views
- 14 replies
- 7 kudos
I have a python notebook A in Azure Databricks having import statement as below:
import xyz, datetime,...
I have another notebook xyz being imported in notebook A as shown in above code. When I run notebook A, it throws the following error:
ImportEr...
- 47268 Views
- 14 replies
- 7 kudos
Latest Reply
Create a repository containing an __init__.py fileAdd your library as .py file(s). Let's imagine that our library is composed by multiple sub-folders consolidated in "my_folder", one of sub-folders is named as "math_library" and contains my_awesome_l...
13 More Replies
by
tariq
• New Contributor III
- 5162 Views
- 4 replies
- 0 kudos
I'm not sure how a simple thing like importing a module in python can be so broken in such a product. First, I was able to make it work using the following:import sys
sys.path.append("/Workspace/Repos/Github Repo/sparkling-to-databricks/src")
from ut...
- 5162 Views
- 4 replies
- 0 kudos
Latest Reply
I too wonder the same thing. How can importing a python module be so difficult and not even documented lol.No need for libraries..Here's what worked for me..Step1: Upload the module by first opening a notebook >> File >> Upload Data >> drag and drop ...
3 More Replies
- 3119 Views
- 6 replies
- 2 kudos
Basically, I have a large csv file that does not fit in a single worksheet. I can just use it in power query. I am trying to import this file into my databricks notebook. I imported it and created a table using that file. But, When I saw the table, i...
- 3119 Views
- 6 replies
- 2 kudos
Latest Reply
hello, manually opening one of the parts of the csv file is the view different?
5 More Replies