é
åï¼ç§å¦æè¡è¨ç®ã®åºæ¬çãªéå
· 並ãã é¢æ£çãªãã¼ã¿ ã®é »ç¹ãªæä½ï¼ å®é¨ãã·ãã¥ã¬ã¼ã·ã§ã³ã§ã®é¢æ£åãããæé 測å®æ©å¨ã«è¨é²ãããä¿¡å· ç»åã®ãã¯ã»ã« Numpy ã¢ã¸ã¥ã¼ã«ã¯ä»¥ä¸ãå¯è½ã«ãã¾ã. ä¸ã®ãããªãã¼ã¿ã®éã¾ãã®ä½æã1度ã§ãã¾ãã ãã¼ã¿é
åã®ãããå¦çãå®ç¾ï¼è¦ç´ ã«å¯¾ããã«ã¼ãã¯ä¸è¦ï¼ ãã¼ã¿é
å := numpy.ndarray >>> import numpy as np >>> a = np.array([0, 1, 2]) >>> a array([0, 1, 2]) >>> print a [0 1 2] >>> b = np.array([[0., 1.], [2., 3.]]) >>> b array([[ 0., 1.], [ 2., 3.]])
{{#tags}}- {{label}}
{{/tags}}