I am trying to import a dataframe from funcs.py file to data.ipynb file, both are in the same directory
funcs.py
df_course = pd.read_sql('SELECT COURSEID, COURSENAME FROM COURSE', con=conn)
here conn is the pyodbc connection , it is working fine as i am able to view dataframe in funcs.py
error
When i tried to import df_course in data.ipynb it is giving me error, i am doing like this
import funcs.df_course as df_course
but it is giving me error that cannot import df_course from funcs
Please help me in this problem