I have some trouble with imports in python. I don't exactly understand why there is an error.
I am using jupyter notebook from directory notebooks. I need to import function prepare_data
which is situated in source/prepare_data.py
For importing i have tried to use from ..source.prepare_data import prepare_data
As here https://docs.python.org/3/reference/import.html (Paragraph 5.7) and python shows me an error "attempted relative import beyond top-level package".