반응형
If you want to time how long it takes for a whole cell to run, you’d use %%timeit like so:


Debugging in the Notebook
With the Python kernel, you can turn on the interactive debugger using the magic command %pdb. When you cause an error, you'll be able to inspect the variables in the current namespace.

https://ipython.readthedocs.io/en/stable/interactive/magics.html
Built-in magic commands — IPython 8.20.0 documentation
‘gtk3’, ‘gtk4’, ‘inline’, ‘ipympl’, ‘nbagg’, ‘notebook’, ‘osx’, ‘pdf’, ‘ps’, ‘qt’, ‘qt4’, ‘qt5’, ‘qt6’, ‘svg’, ‘tk’, ‘webagg’, ‘widget’, ‘wx’). If given, the corresponding matplotlib b
ipython.readthedocs.io
반응형
'python & DS' 카테고리의 다른 글
t-sne 정형데이터/분류시 사용 (0) | 2024.10.26 |
---|---|
시험 DP-900: Microsoft Azure (0) | 2024.03.16 |
데이터 분석 - 회귀 계수 축소 모델 (1) | 2024.01.07 |
RandomForestClassifier (1) | 2023.11.18 |
pandas AI (0) | 2023.11.18 |