like VS Code enter image description here
Asked
Active
Viewed 1,071 times
2
-
Please provide enough code so others can better understand or reproduce the problem. – Community May 04 '22 at 15:06
2 Answers
3
It works for me:
pip install ipython-autotime
Once you have loaded it, any cell run after this ,will give you the execution time of the cell:
%load_ext autotime

李大仙
- 31
- 3
-1
Per the VS Code documentation, running an active Jupyter Notebook cell involves the Python: Run Selection/Line in Python Terminal command, or Shift + Enter.
Your line of code from kaggle_house_price_base import train_features, train_labels
is a module import statement — see Best practices when importing in IPython and How to correctly import a Python module in VS Code? for additional informaiton.

TechSolomon
- 425
- 5
- 12