I am trying to import a pd_DF to SQL using a file.ipynb but it throws an error. If I try the same in a file.py it does work...
The error appears in the next line: