--Easy input of frequently used codes, standard class declarations, etc. ――Efficient because it requires simple input and very few loop work. --There are two patterns, one is to introduce a partner as an extension and the other is to create it yourself.
A snippet is an English word that generally means "scrap" or "fragment". In IT terms, it is the part of a programming language that can be easily cut and pasted and reused.
pip
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
jupyter notebook
By default, the following checks are checked, but uncheck them.
disable configuration for nbextensions without explicit compatibility (they may break your notebook environment, but can be useful to show for nbextension development)
** Select the following in the Extension settings. ** **
--Nbextensions dashboard tab (required; Extensions tab display) --Snippets (Original snippets can be created and used) --Snippets Menu (using snippets) --ExecuteTime (displays the execution time for each cell)
@ _snow_narcissus's entry; also explains how to register the original snippet
[Entry by toddler python](https://chayarokurokuro.hatenablog.com/entry/2019/11/02/015051#JupyterNotebook% E3% 81% A7% E3% 82% B9% E3% 83% 8B% E3% 83% 9A% E3% 83% 83% E3% 83% 88% E3% 82% 92% E4% BD% BF% E3% 81% 88% E3% 82% 8B% E3% 82% 88% E3% 81% 86% E3% 81% AB% E3% 81% 99% E3% 82% 8B)
Recommended Posts