Pandas,Python

Thumbnail of post image 105

# Make DataframeIn:df = pd.DataFrame({"A" : ,"B" : ,"C" : ,"D" : np.random.randn(8)})Out:A B C D0 foo one hoge -0.650722 ...

Python

Thumbnail of post image 160

num_list = num_list.index(1)>>2num_list.index(0)>>0num_list.index(2)>>Traceback (most recent call last):>>File "<ipyt ...

Python

Thumbnail of post image 053

以下のパッケージをインストールすれば解決

Python2と3でパッケージ名が違うという罠…

$ pip install rope

$ pip install rope-py3k