- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2019-02-12T22:31:59+00:00","","")
* Jupyter Notebook [#x9f0f4ea]
#author("2020-01-29T19:39:43+00:00","","")
#mynavi()
#setlinebreak(on)
* 目次 [#aca986db]
#contents
-- 関連
--- [[Python]]
--- [[Python覚え書き]]
--- [[IPythonの使い方メモ]]
- 関連
-- [[Python]]
-- [[Python覚え書き]]
-- [[IPythonの使い方メモ]]
#TODO
** インストール [#n8186efa]
* インストール [#n8186efa]
#html(<div style="padding-left:10px">)
https://www.anaconda.com/download/
#html(</div>)
** 起動 [#ncfccf39]
* 起動 [#ncfccf39]
#html(<div style="padding-left:10px">)
#myterm2(){{
jupyter notebook
}}
#html(</div>)
** マジックコマンド [#nca4ac2a]
* マジックコマンド [#nca4ac2a]
#html(<div style="padding-left:10px">)
基本的に IPython のマジックコマンドが分かってれば大丈夫。
※[[IPythonの使い方メモ]] 参照
#html(</div>)
* Tips [#s7748688]
#html(<div style="padding-left:10px">)
** 全ての変数等を整形して表示する [#h137d758]
#html(<div class="pl10">)
変数名を書くだけで表示
#mycode2(){{
from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"
df1 = .......
df2 = .......
df1
df2
}}
dispplay による表示
#mycode2(){{
from IPython.display import display
:
display(df1)
display(df2)
}}
#html(</div>)
#html(</div>)