jupyter_cms

In [ ]:
/Users/knt/programming/python/pandas-tips/seaborn_load_dataset.ipynb
In [ ]:
import mywb.seaborn_load_dataset as seaborn_load_dataset
In [ ]:
%load_ext urth.cms

ここからversion4.0用

In [1]:
%load_ext jupyter_cms
In [3]:
import mywb.seaborn_load_dataset as seaborn_load_dataset
In [4]:
dir(seaborn_load_dataset)
Out[4]:
['__builtins__',
 '__doc__',
 '__file__',
 '__loader__',
 '__name__',
 '__package__',
 '__spec__',
 'hello',
 'help',
 'iris_tail']
In [5]:
%inject seaborn_load_dataset.iris_tail()
In [ ]:
seaborn_load_dataset.iris_tail()
In [5]:
seaborn_load_dataset.func()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-5-7a1c741aac8d> in <module>()
----> 1 seaborn_load_dataset.func()

AttributeError: module 'mywb.seaborn_load_dataset' has no attribute 'func'

header2

In [4]:
seaborn_load_dataset.hello()
hello
Out[4]:
'hello'