티스토리 뷰

반응형

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' 카테고리의 다른 글

pandas join speed up with cuDF  (0) 2024.04.02
시험 DP-900: Microsoft Azure  (0) 2024.03.16
데이터 분석 - 회귀 계수 축소 모델  (1) 2024.01.07
RandomForestClassifier  (1) 2023.11.18
pandas AI  (0) 2023.11.18
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/07   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
글 보관함