2014-06-04から1日間の記事一覧

ipythonとpandasの使い方 

ipython --pylab import pandas from pandas import DataFrame d = {'one' : np.random.rand(10), 'two' : np.random.rand(10)} df = DataFrame(d) df.plot() #2系列のプロット scatter(df['one'],df['two']) #散布図のプロット

ipythonのインストール

http://warrenmar.wordpress.com/2014/04/02/ipython-2-0-0-osx-mavericks/ export CFLAGS=-Qunused-arguments export CPPFLAGS=-Qunused-arguments export ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future sudo -E pip install -U…