Issue
I have troubles trying to use %debug cell magic to debug my code: i am running ths cell
processData(newDataPath='Data/X_old.csv', newSourcePath='./Data - Feb-June-2019.xlsx', destPath='Data/X_2018_2019.csv')
which give me a key error: data['quantity']
quantity key error ....
how can i use %debug to see data.columns
for exemple. Whatever i try to print in ipbb, i have the error is not defined: newDataPath
is not defined, data
is not defined etc
If you need more details please feel free to ask
Thanks
Solution
I figure it out:
use u
command to step back until my variable is defined, or u 1000 to come back at the start and d
to execute step by step
Answered By - Benoit de Menthière
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.