pandasã§DataFrameãSeriesã®è¦ç´ ã»è¡ã»åã«ä»»æã®é¢æ°ãé©ç¨ããã«ã¯ãmap(), apply(), applymap()ã¡ã½ããã使ãã å¾åã§è¿°ã¹ãããã«ãä¸è¬çãªå¦çã¯DataFrameãSeriesã®ã¡ã½ããã¨ãã¦æä¾ããã¦ãããã¾ããNumPyã®é¢æ°ã«DataFrameãSeriesã渡ãã¦å¦çãããã¨ãã§ãããmap()ãapply()ã¯é ãã®ã§ãå¯è½ã§ããã°å°ç¨ã®ã¡ã½ãããNumPyã®é¢æ°ã使ãã»ããããã æ¬è¨äºã®ãµã³ãã«ã³ã¼ãã®pandasããã³NumPyã®ãã¼ã¸ã§ã³ã¯ä»¥ä¸ã®éãããã¼ã¸ã§ã³ã«ãã£ã¦ä»æ§ãç°ãªãå¯è½æ§ãããã®ã§æ³¨æã import pandas as pd import numpy as np print(pd.__version__) # 2.1.2 print(np.__version__) # 1.26.1
{{#tags}}- {{label}}
{{/tags}}