# åæï¼http://www.scipy.org/Tentative_NumPy_Tutorial ãã®ãã¥ã¼ããªã¢ã«ãèªãåã«ãPythonã«ã¤ãã¦ã¡ãã£ã¨ã¯ç¥ã£ã¦ããã¹ãã ãè¨æ¶ããªãã¬ãã·ã¥ãããã¨æããªããPythonãã¥ã¼ããªã¢ã«ãè¦ã¦ãããããã ãã®ãã¥ã¼ããªã¢ã«ã«åºã¦ããä¾ã試ããããªããããªãã®PCã«å°ãªãã¨ã Python NumPy ã¯ã¤ã³ã¹ãã¼ã«ããã¦ããã¹ãã§ãä»ã«å ¥ã£ã¦ãã¨ä¾¿å©ãªã®ã¯ï¼ ipython ã¯æ¡å¼µãããã¤ã³ã¿ã©ã¯ãã£ããªPythonã·ã§ã«ã§ãNumPyã®æ©è½ãæ¢æ¤ããã®ã«ã¨ã¦ãä¾¿å© matplotlib ãããã¨å³è¡¨ã®æç»ãå¯è½ã«ãªã SciPy ã¯NumPyã®ä¸ã§åãç§å¦è¨ç®ã«ã¼ãã³ã沢山ç¨æãã¦ããã åºç¤ NumPy ã®ä¸»è¦ãªãªãã¸ã§ã¯ãã¯ãåãåï¼æ®éã¯æ°ï¼ã®è¦ç´ ã®ã¿ããæããæ£ã®æ´æ°ã®ã¿ãã«ã§æ·»åä»ãããããå質ãªãã¼ãã«ï¼ã¨ãããå¤æ¬¡å
ã¡ãã£ã¨ãã GUI ã¢ããªã±ã¼ã·ã§ã³ãã¤ããã®ã« MacRuby ã¯ããé¸æè¢ã¨ãªããã ã¡ãã£ã¨ãã GUI ã¢ããªãã¤ããã®ã« MacRuby ãã¤ãã£ã¦ã¿ããçµè«ãããã㨠MacRuby ã¯ããã§ãã¦ãããªããã¨ããå°è±¡ãããã æãRubyCocoa ãããã£ã¦ã¿ããã¨ã¯ãã£ãã®ã ãã© RubyCocoa 㯠ããªããæ£ç´ Objective-C ã®æ¹ãããã楽ãªæ°ãããããã ã¨ããæãã ã£ãããªã«ããããã©ãããã¨ããå°è±¡ããã®ãããªãã£ãã®ã§ããã ä¸æ¹ã MacRuby ã¯ãããªã Syntax ãã«ã¹ã¿ãã¤ãºãããã¨ã«ããç¡çç¢çå®ç¾ãã¦ããå¤æ çãªæãããããå®ç¨çã ã¡ãã£ã¨ããèªåç¨ãã¼ã«ãããã¨ãã«ä»ã¾ã§ã¯ web application ã¨ãã¦ããã¦ããã®ã ãã©ãMacRuby ã®æ¹ã楽ã ãªããããªæ°åã«ãªã£ãã®ã§ãã£ãã (ã¨ããããæå Web Appl
対å¿è¡¨ NumPy for R users: http://mathesaurus.sourceforge.net/r-numpy.html Rã®data.frameã«ç¸å½ããäºãå®ç¾ããã«ã¯ ä½æï¼NumPyã®arrayã§ï¼ååã«classãæå®ã§ãã (structured arrays) http://docs.scipy.org/doc/numpy/user/basics.rec.html > import numpy as np > C0=[1,2,3] > C1=['M','F','M'] > C2=[3.3,4.4,5.5] > x=np.array(zip(C0,C1,C2),dtype=[('id', '<i4'), ('gender', '|S1'), ('value', '<f8')]) > x[1] (2, 'F', 4.4) > print(x[x['gender
Mac OS X Lion / homebrew ã«ã¦ python ã®ç°å¢ãæ´ã㶠Mac OS X ã Lion ã«ã¢ãããã¼ãããããpython ã®ç°å¢ãå£ããã®ã§åæ§ç¯ã ã¡ãªã¿ã«ãhomebrew 㯠Snow Leopard æ代ã§ãã§ã«ã¤ã³ã¹ãã¼ã«æ¸ã¿ã§ãLionã®upgrade ããå¾ã§ãç¹ã«åé¡ã¯ãªãããã§ãã£ãã ãã¤ã³ã¶ Mac OS X ã®æ¨æº python 㯠/usr/bin/python homebrew ã®å ´å㯠/usr/local ã prefix ã§ã brew insatall python ãã㨠/usr/local/Cellar/python/{ãã¼ã¸ã§ã³çªå·} ãã¤ã³ã¹ãã¼ã«ãããã homebrew ã® python ã¢ããªã±ã¼ã·ã§ã³ã¯ /usr/local/share/python ãã£ã¬ã¯ããªé ä¸ã«ã¤ã³ã¹ãã¼ã«ãããã $ bre
ã¡ã³ããã³ã¹
ãç¥ãã
é害
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}