'How to make DataSpell display the runtime of a cell?

like VS Code enter image description here



Solution 1:[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.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1