{"id":3239,"date":"2023-07-18T12:20:42","date_gmt":"2023-07-18T12:20:42","guid":{"rendered":"https:\/\/statorials.org\/ja\/python%e3%81%ae%e4%bb%ae%e8%aa%ac%e6%a4%9c%e5%ae%9a\/"},"modified":"2023-07-18T12:20:42","modified_gmt":"2023-07-18T12:20:42","slug":"python%e3%81%ae%e4%bb%ae%e8%aa%ac%e6%a4%9c%e5%ae%9a","status":"publish","type":"post","link":"https:\/\/statorials.org\/ja\/python%e3%81%ae%e4%bb%ae%e8%aa%ac%e6%a4%9c%e5%ae%9a\/","title":{"rendered":"Python \u3067\u4eee\u8aac\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5 (\u4f8b\u4ed8\u304d)"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\"><a href=\"https:\/\/statorials.org\/ja\/\u4eee\u8aac\u691c\u8a3c1\/\" target=\"_blank\" rel=\"noopener\">\u4eee\u8aac\u691c\u5b9a\u306f\u3001<\/a>\u7d71\u8a08\u7684\u4eee\u8aac\u3092\u68c4\u5374\u307e\u305f\u306f\u68c4\u5374\u3067\u304d\u306a\u304b\u3063\u305f\u305f\u3081\u306b\u4f7f\u7528\u3059\u308b\u6b63\u5f0f\u306a\u7d71\u8a08\u691c\u5b9a\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Python \u3067\u6b21\u306e\u4eee\u8aac\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">\u30b5\u30f3\u30d7\u30eb t \u691c\u5b9a<\/span><\/li>\n<li><span style=\"color: #000000;\">2 \u30b5\u30f3\u30d7\u30eb\u306e T \u691c\u5b9a<\/span><\/li>\n<li><span style=\"color: #000000;\">\u5bfe\u5fdc\u306e\u3042\u308b\u30b5\u30f3\u30d7\u30eb\u306e t \u691c\u5b9a<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u3055\u3042\u884c\u3053\u3046\uff01<\/span><\/p>\n<h2><span style=\"color: #000000;\"><strong>\u4f8b 1: Python \u3067\u306e t \u691c\u5b9a\u306e\u4f8b<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\"><a href=\"https:\/\/statorials.org\/ja\/\u30b5\u30f3\u30d5\u309a\u30eb-t-\u691c\u5b9a\/\" target=\"_blank\" rel=\"noopener\">1 \u30b5\u30f3\u30d7\u30eb t \u691c\u5b9a\u306f\u3001<\/a>\u6bcd\u96c6\u56e3\u306e\u5e73\u5747\u304c\u7279\u5b9a\u306e\u5024\u306b\u7b49\u3057\u3044\u304b\u3069\u3046\u304b\u3092\u691c\u5b9a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u305f\u3068\u3048\u3070\u3001\u7279\u5b9a\u306e\u7a2e\u306e\u30ab\u30e1\u306e\u5e73\u5747\u4f53\u91cd\u304c 310 \u30dd\u30f3\u30c9\u3067\u3042\u308b\u304b\u3069\u3046\u304b\u3092\u77e5\u308a\u305f\u3044\u3068\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u308c\u3092\u30c6\u30b9\u30c8\u3059\u308b\u305f\u3081\u306b\u3001\u6b21\u306e\u91cd\u307f\u3092\u6301\u3064\u5358\u7d14\u306a\u30e9\u30f3\u30c0\u30e0\u306a\u30ab\u30e1\u306e\u30b5\u30f3\u30d7\u30eb\u3092\u53ce\u96c6\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>\u91cd\u91cf<\/strong>\uff1a300\u3001315\u3001320\u3001311\u3001314\u3001309\u3001300\u3001308\u3001305\u3001303\u3001305\u3001301\u3001303<\/span><\/p>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001 <strong>scipy.stats<\/strong>\u30e9\u30a4\u30d6\u30e9\u30ea\u306e<a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.ttest_1samp.html\" target=\"_blank\" rel=\"noopener noreferrer\">ttest_1samp()<\/a>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066 1 \u30b5\u30f3\u30d7\u30eb\u306e t \u691c\u5b9a\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\">import<\/span> scipy.stats <span style=\"color: #107d3f;\">as<\/span> stats\n\n<span style=\"color: #008080;\">#define data<\/span>\ndata = <span style=\"color: #000000;\">[300, 315, 320, 311, 314, 309, 300, 308, 305, 303, 305, 301, 303]<\/span>\n\n<span style=\"color: #008080;\">#perform one sample t-test<\/span>\nstats. <span style=\"color: #3366ff;\">ttest_1samp<\/span> (a=data, popmean= <span style=\"color: #008000;\">310<\/span> )\n\nTtest_1sampResult(statistic=-1.5848116313861254, pvalue=0.1389944275158753)\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">t \u691c\u5b9a\u7d71\u8a08\u91cf\u306f<strong>-1.5848<\/strong>\u3067\u3001\u5bfe\u5fdc\u3059\u308b\u4e21\u5074 p \u5024\u306f<strong>0.1389<\/strong>\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u7279\u5b9a\u306e\u30b5\u30f3\u30d7\u30eb\u306b\u5bfe\u3059\u308b\u3053\u306e t \u691c\u5b9a\u306e 2 \u3064\u306e\u4eee\u8aac\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\"><strong>H <sub>0<\/sub> :<\/strong> \u03bc = 310 (\u3053\u306e\u7a2e\u306e\u30ab\u30e1\u306e\u5e73\u5747\u4f53\u91cd\u306f 310 \u30dd\u30f3\u30c9)<\/span><\/li>\n<li> <strong style=\"color: #000000;\">H <sub>A<\/sub> :<\/strong> <span style=\"color: #000000;\">\u03bc \u2260310 (\u5e73\u5747\u4f53\u91cd\u306f<\/span><em style=\"color: #000000;\">310<\/em><span style=\"color: #000000;\">\u30dd\u30f3\u30c9\u3067\u306f\u3042\u308a\u307e\u305b\u3093)<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u691c\u5b9a\u306e p \u5024<strong>(0.1389)<\/strong>\u306f alpha = 0.05 \u3088\u308a\u5927\u304d\u3044\u305f\u3081\u3001\u691c\u5b9a\u306e\u5e30\u7121\u4eee\u8aac\u3092\u68c4\u5374\u3067\u304d\u307e\u305b\u3093\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u306e\u7279\u5b9a\u306e\u7a2e\u985e\u306e\u30ab\u30e1\u306e\u5e73\u5747\u4f53\u91cd\u304c 310 \u30dd\u30f3\u30c9\u4ee5\u5916\u3067\u3042\u308b\u3068\u8a00\u3048\u308b\u5341\u5206\u306a\u8a3c\u62e0\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/span><\/p>\n<h2><span style=\"color: #000000;\"><strong>\u4f8b 2: Python \u3067\u306e 2 \u30b5\u30f3\u30d7\u30eb\u306e t \u691c\u5b9a<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\"><a href=\"https:\/\/statorials.org\/ja\/2-\u3064\u306e\u30b5\u30f3\u30d5\u309a\u30eb\u3092\u30c6\u30b9\u30c8\u3059\u308b\/\" target=\"_blank\" rel=\"noopener\">2 \u6a19\u672c t \u691c\u5b9a\u306f\u3001<\/a> 2 \u3064\u306e\u6bcd\u96c6\u56e3\u306e\u5e73\u5747\u304c\u7b49\u3057\u3044\u304b\u3069\u3046\u304b\u3092\u691c\u5b9a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u305f\u3068\u3048\u3070\u30012 \u3064\u306e\u7570\u306a\u308b\u7a2e\u306e\u30ab\u30e1\u306e\u5e73\u5747\u4f53\u91cd\u304c\u7b49\u3057\u3044\u304b\u3069\u3046\u304b\u3092\u77e5\u308a\u305f\u3044\u3068\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u308c\u3092\u30c6\u30b9\u30c8\u3059\u308b\u305f\u3081\u306b\u3001\u6b21\u306e\u91cd\u307f\u3092\u4f7f\u7528\u3057\u3066\u3001\u5404\u7a2e\u304b\u3089\u5358\u7d14\u3067\u30e9\u30f3\u30c0\u30e0\u306a\u30ab\u30e1\u306e\u30b5\u30f3\u30d7\u30eb\u3092\u53ce\u96c6\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>\u30b5\u30f3\u30d7\u30eb1<\/strong> \uff1a300\u3001315\u3001320\u3001311\u3001314\u3001309\u3001300\u3001308\u3001305\u3001303\u3001305\u3001301\u3001303<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>\u30b5\u30f3\u30d7\u30eb2<\/strong> \uff1a335\u3001329\u3001322\u3001321\u3001324\u3001319\u3001304\u3001308\u3001305\u3001311\u3001307\u3001300\u3001305<\/span><\/p>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001 <strong>scipy.stats<\/strong>\u30e9\u30a4\u30d6\u30e9\u30ea\u306e<a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.ttest_ind.html\" target=\"_blank\" rel=\"noopener\">ttest_ind()<\/a>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u3053\u308c\u3089 2 \u3064\u306e t \u691c\u5b9a\u306e\u4f8b\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008000;\">import<\/span> scipy. <span style=\"color: #3366ff;\">stats<\/span> <span style=\"color: #008000;\">as<\/span> stats<\/span>\n\n#define array of turtle weights for each sample\n<span style=\"color: #000000;\">sample1 = [300, 315, 320, 311, 314, 309, 300, 308, 305, 303, 305, 301, 303]<\/span>\n<span style=\"color: #000000;\">sample2 = [335, 329, 322, 321, 324, 319, 304, 308, 305, 311, 307, 300, 305]<\/span>\n\n#perform two sample t-tests<\/span>\nstats. <span style=\"color: #3366ff;\">ttest_ind<\/span> (a=sample1, b=sample2) \n\nTtest_indResult(statistic=-2.1009029257555696, pvalue=0.04633501389516516)<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">t \u691c\u5b9a\u7d71\u8a08\u91cf\u306f<strong>-2.1009<\/strong>\u3067\u3001\u5bfe\u5fdc\u3059\u308b\u4e21\u5074 p \u5024\u306f<strong>0.0463<\/strong>\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u306e\u7279\u5b9a\u306e 2 \u30b5\u30f3\u30d7\u30eb t \u691c\u5b9a\u306e 2 \u3064\u306e\u4eee\u5b9a\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\"><strong>H <sub>0<\/sub> :<\/strong> \u03bc <sub>1<\/sub> = \u03bc <sub>2<\/sub> (2 \u7a2e\u306e\u5e73\u5747\u4f53\u91cd\u306f\u7b49\u3057\u3044)<\/span><\/li>\n<li> <strong style=\"color: #000000;\">H <sub>A<\/sub> :<\/strong> <span style=\"color: #000000;\">\u03bc<\/span> <sub style=\"color: #000000;\">1<\/sub> <span style=\"color: #000000;\">\u2260 \u03bc<\/span> <sub style=\"color: #000000;\">2<\/sub> <span style=\"color: #000000;\">(2 \u7a2e\u9593\u306e\u5e73\u5747\u4f53\u91cd\u306f\u7b49\u3057\u304f\u306a\u3044)<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u691c\u5b9a\u306e p \u5024 (0.0463) \u306f 0.05 \u672a\u6e80\u3067\u3042\u308b\u305f\u3081\u3001\u5e30\u7121\u4eee\u8aac\u3092\u68c4\u5374\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u308c\u306f\u30012 \u3064\u306e\u7a2e\u306e\u5e73\u5747\u4f53\u91cd\u304c\u7b49\u3057\u304f\u306a\u3044\u3068\u8a00\u3048\u308b\u5341\u5206\u306a\u8a3c\u62e0\u304c\u3042\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/span><\/p>\n<h2><span style=\"color: #000000;\"><strong>\u4f8b 3: Python \u3067\u306e\u30da\u30a2\u306e\u3042\u308b\u30b5\u30f3\u30d7\u30eb\u306e t \u691c\u5b9a<\/strong><\/span><\/h2>\n<p><span style=\"color: #000000;\"><a href=\"https:\/\/statorials.org\/ja\/\u5bfe\u5fdc\u306e\u3042\u308b\u30b5\u30f3\u30d5\u309a\u30eb\u306e-t-\u691c\u5b9a\/\" target=\"_blank\" rel=\"noopener\">\u5bfe\u306e\u3042\u308b\u30b5\u30f3\u30d7\u30eb\u306e t \u691c\u5b9a\u306f\u3001<\/a>\u4e00\u65b9\u306e\u30b5\u30f3\u30d7\u30eb\u306e\u5404\u89b3\u6e2c\u5024\u304c\u3082\u3046\u4e00\u65b9\u306e\u30b5\u30f3\u30d7\u30eb\u306e\u89b3\u6e2c\u5024\u3068\u95a2\u9023\u4ed8\u3051\u3089\u308c\u308b\u5834\u5408\u306b\u30012 \u3064\u306e\u30b5\u30f3\u30d7\u30eb\u306e\u5e73\u5747\u3092\u6bd4\u8f03\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u305f\u3068\u3048\u3070\u3001\u7279\u5b9a\u306e\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u30d0\u30b9\u30b1\u30c3\u30c8\u30dc\u30fc\u30eb\u9078\u624b\u306e\u6700\u5927\u5782\u76f4\u30b8\u30e3\u30f3\u30d7 (\u30a4\u30f3\u30c1\u5358\u4f4d) \u3092\u5411\u4e0a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u304b\u3069\u3046\u304b\u3092\u77e5\u308a\u305f\u3044\u3068\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u308c\u3092\u30c6\u30b9\u30c8\u3059\u308b\u306b\u306f\u300112 \u4eba\u306e\u5927\u5b66\u30d0\u30b9\u30b1\u30c3\u30c8\u30dc\u30fc\u30eb\u9078\u624b\u306e\u5358\u7d14\u306a\u30e9\u30f3\u30c0\u30e0 \u30b5\u30f3\u30d7\u30eb\u3092\u63a1\u7528\u3057\u3001\u305d\u308c\u305e\u308c\u306e\u6700\u5927\u5782\u76f4\u30b8\u30e3\u30f3\u30d7\u3092\u6e2c\u5b9a\u3057\u307e\u3059\u3002\u6b21\u306b\u3001\u5404\u30d7\u30ec\u30fc\u30e4\u30fc\u306b\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30d7\u30ed\u30b0\u30e9\u30e0\u3092 1 \u304b\u6708\u9593\u4f7f\u7528\u3057\u3066\u3082\u3089\u3044\u3001\u6708\u672b\u306b\u6700\u5927\u5782\u76f4\u8df3\u3073\u3092\u518d\u5ea6\u6e2c\u5b9a\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30c7\u30fc\u30bf\u306f\u3001\u5404\u30d7\u30ec\u30fc\u30e4\u30fc\u306e\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f7f\u7528\u3059\u308b\u524d\u5f8c\u306e\u6700\u5927\u30b8\u30e3\u30f3\u30d7\u9ad8\u3055 (\u30a4\u30f3\u30c1\u5358\u4f4d) \u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>\u30d5\u30ed\u30f3\u30c8<\/strong>\uff1a22\u300124\u300120\u300119\u300119\u300120\u300122\u300125\u300124\u300123\u300122\u300121<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>\u5f8c<\/strong>\uff1a23\u300125\u300120\u300124\u300118\u300122\u300123\u300128\u300124\u300125\u300124\u300120<\/span><\/p>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001 <strong>scipy.stats<\/strong>\u30e9\u30a4\u30d6\u30e9\u30ea\u306e<a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.ttest_rel.html\" target=\"_blank\" rel=\"noopener\">ttest_rel() \u95a2\u6570<\/a>\u3092\u4f7f\u7528\u3057\u3066\u3001\u3053\u306e\u30da\u30a2\u30b5\u30f3\u30d7\u30eb\u306e t \u691c\u5b9a\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\"><span style=\"color: #000000;\"><span style=\"color: #008000;\">import<\/span> scipy. <span style=\"color: #3366ff;\">stats<\/span> <span style=\"color: #008000;\">as<\/span> stats<\/span>\n\n#define before and after max jump heights\n<span style=\"color: #000000;\">before = [22, 24, 20, 19, 19, 20, 22, 25, 24, 23, 22, 21]<\/span>\n<span style=\"color: #000000;\">after = [23, 25, 20, 24, 18, 22, 23, 28, 24, 25, 24, 20]<\/span>\n\n#perform paired samples t-test<\/span>\nstats. <span style=\"color: #3366ff;\">ttest_rel<\/span> (a=before, b=after)\n\nTtest_relResult(statistic=-2.5289026942943655, pvalue=0.02802807458682508)\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">t \u691c\u5b9a\u7d71\u8a08\u91cf\u306f<strong>-2.5289<\/strong>\u3067\u3001\u5bfe\u5fdc\u3059\u308b\u4e21\u5074 p \u5024\u306f<strong>0.0280<\/strong>\u3067\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u306e\u7279\u5b9a\u306e\u30da\u30a2\u306e\u3042\u308b\u30b5\u30f3\u30d7\u30eb\u306e t \u691c\u5b9a\u306e 2 \u3064\u306e\u4eee\u5b9a\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\"><strong>H <sub>0<\/sub> :<\/strong> \u03bc <sub>1<\/sub> = \u03bc <sub>2<\/sub> (\u30d7\u30ed\u30b0\u30e9\u30e0\u4f7f\u7528\u524d\u3068\u4f7f\u7528\u5f8c\u306e\u30b8\u30e3\u30f3\u30d7\u306e\u5e73\u5747\u9ad8\u3055\u306f\u7b49\u3057\u3044)<\/span><\/li>\n<li> <strong style=\"color: #000000;\">H <sub>A<\/sub> :<\/strong> <span style=\"color: #000000;\">\u03bc<\/span> <sub style=\"color: #000000;\">1<\/sub> <span style=\"color: #000000;\">\u2260 \u03bc<\/span> <sub style=\"color: #000000;\">2<\/sub> <span style=\"color: #000000;\">(\u30d7\u30ed\u30b0\u30e9\u30e0\u4f7f\u7528\u524d\u3068\u4f7f\u7528\u5f8c\u306e\u30b8\u30e3\u30f3\u30d7\u306e\u5e73\u5747\u9ad8\u3055\u306f\u7b49\u3057\u304f\u306a\u3044)<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u691c\u5b9a\u306e p \u5024 (0.0280) \u306f 0.05 \u672a\u6e80\u3067\u3042\u308b\u305f\u3081\u3001\u5e30\u7121\u4eee\u8aac\u3092\u68c4\u5374\u3057\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u3053\u308c\u306f\u3001\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f7f\u7528\u3059\u308b\u524d\u3068\u4f7f\u7528\u3057\u305f\u5f8c\u306e\u5e73\u5747\u30b8\u30e3\u30f3\u30d7\u9ad8\u3055\u304c\u7b49\u3057\u304f\u306a\u3044\u3068\u3044\u3046\u5341\u5206\u306a\u8a3c\u62e0\u304c\u3042\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u8ffd\u52a0\u30ea\u30bd\u30fc\u30b9<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u8a08\u7b97\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3001\u3055\u307e\u3056\u307e\u306a t \u691c\u5b9a\u3092\u81ea\u52d5\u7684\u306b\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/ja\/\u30b5\u30f3\u30d5\u309a\u30eb-t-\u691c\u5b9a\u8a08\u7b97\u6a5f\/\" target=\"_blank\" rel=\"noopener\">t \u691c\u5b9a\u8a08\u7b97\u6a5f\u306e\u4f8b<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/ta-\u30c6\u30b9\u30c8\u96fb\u5353-2-\u3064\u306e\u30b5\u30f3\u30d5\u309a\u30eb\/\" target=\"_blank\" rel=\"noopener\">2 \u30b5\u30f3\u30d7\u30eb t \u691c\u5b9a\u8a08\u7b97\u6a5f<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/\u30d8\u309a\u30a2\u30b5\u30f3\u30d5\u309a\u30eb-t-\u691c\u5b9a\u8a08\u7b97\u6a5f\/\" target=\"_blank\" rel=\"noopener\">\u5bfe\u5fdc\u306e\u3042\u308b\u30b5\u30f3\u30d7\u30eb\u306e t \u691c\u5b9a\u8a08\u7b97\u6a5f<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eee\u8aac\u691c\u5b9a\u306f\u3001\u7d71\u8a08\u7684\u4eee\u8aac\u3092\u68c4\u5374\u307e\u305f\u306f\u68c4\u5374\u3067\u304d\u306a\u304b\u3063\u305f\u305f\u3081\u306b\u4f7f\u7528\u3059\u308b\u6b63\u5f0f\u306a\u7d71\u8a08\u691c\u5b9a\u3067\u3059\u3002 \u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Python \u3067\u6b21\u306e\u4eee\u8aac\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002 \u30b5\u30f3\u30d7\u30eb t \u691c\u5b9a 2 \u30b5\u30f3\u30d7\u30eb\u306e T \u691c\u5b9a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-3239","post","type-post","status-publish","format-standard","hentry","category-16"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python \u3067\u4eee\u8aac\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5 (\u4f8b\u3042\u308a) - Statorials<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Python \u3067\u4eee\u8aac\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u3044\u304f\u3064\u304b\u306e\u4f8b\u3068\u3068\u3082\u306b\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/ja\/python\u306e\u4eee\u8aac\u691c\u5b9a\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python \u3067\u4eee\u8aac\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5 (\u4f8b\u3042\u308a) - Statorials\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Python \u3067\u4eee\u8aac\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u3044\u304f\u3064\u304b\u306e\u4f8b\u3068\u3068\u3082\u306b\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ja\/python\u306e\u4eee\u8aac\u691c\u5b9a\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-18T12:20:42+00:00\" \/>\n<meta name=\"author\" content=\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/ja\/python%e3%81%ae%e4%bb%ae%e8%aa%ac%e6%a4%9c%e5%ae%9a\/\",\"url\":\"https:\/\/statorials.org\/ja\/python%e3%81%ae%e4%bb%ae%e8%aa%ac%e6%a4%9c%e5%ae%9a\/\",\"name\":\"Python \u3067\u4eee\u8aac\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5 (\u4f8b\u3042\u308a) - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ja\/#website\"},\"datePublished\":\"2023-07-18T12:20:42+00:00\",\"dateModified\":\"2023-07-18T12:20:42+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83\"},\"description\":\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Python \u3067\u4eee\u8aac\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u3044\u304f\u3064\u304b\u306e\u4f8b\u3068\u3068\u3082\u306b\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/ja\/python%e3%81%ae%e4%bb%ae%e8%aa%ac%e6%a4%9c%e5%ae%9a\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ja\/python%e3%81%ae%e4%bb%ae%e8%aa%ac%e6%a4%9c%e5%ae%9a\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ja\/python%e3%81%ae%e4%bb%ae%e8%aa%ac%e6%a4%9c%e5%ae%9a\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/ja\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python \u3067\u4eee\u8aac\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5 (\u4f8b\u4ed8\u304d)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/ja\/#website\",\"url\":\"https:\/\/statorials.org\/ja\/\",\"name\":\"Statorials\",\"description\":\"\u7d71\u8a08\u80fd\u529b\u3078\u306e\u30ac\u30a4\u30c9\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/ja\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83\",\"name\":\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb\"},\"description\":\"\u79c1\u306f\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u3067\u3059\u3002\u9000\u8077\u3057\u305f\u7d71\u8a08\u6559\u6388\u304b\u3089\u3001\u5c02\u4efb\u306e Statorials \u6559\u80b2\u8005\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u7d71\u8a08\u5206\u91ce\u306b\u304a\u3051\u308b\u8c4a\u5bcc\u306a\u7d4c\u9a13\u3068\u5c02\u9580\u77e5\u8b58\u3092\u6d3b\u304b\u3057\u3066\u3001\u79c1\u306f Statorials \u3092\u901a\u3058\u3066\u5b66\u751f\u306b\u529b\u3092\u4e0e\u3048\u308b\u305f\u3081\u306b\u81ea\u5206\u306e\u77e5\u8b58\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u306b\u5c3d\u529b\u3057\u3066\u3044\u307e\u3059\u3002\u3082\u3063\u3068\u77e5\u308b\",\"sameAs\":[\"http:\/\/statorials.org\/ja\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python \u3067\u4eee\u8aac\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5 (\u4f8b\u3042\u308a) - Statorials","description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Python \u3067\u4eee\u8aac\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u3044\u304f\u3064\u304b\u306e\u4f8b\u3068\u3068\u3082\u306b\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/statorials.org\/ja\/python\u306e\u4eee\u8aac\u691c\u5b9a\/","og_locale":"ja_JP","og_type":"article","og_title":"Python \u3067\u4eee\u8aac\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5 (\u4f8b\u3042\u308a) - Statorials","og_description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Python \u3067\u4eee\u8aac\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u3044\u304f\u3064\u304b\u306e\u4f8b\u3068\u3068\u3082\u306b\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/statorials.org\/ja\/python\u306e\u4eee\u8aac\u691c\u5b9a\/","og_site_name":"Statorials","article_published_time":"2023-07-18T12:20:42+00:00","author":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/ja\/python%e3%81%ae%e4%bb%ae%e8%aa%ac%e6%a4%9c%e5%ae%9a\/","url":"https:\/\/statorials.org\/ja\/python%e3%81%ae%e4%bb%ae%e8%aa%ac%e6%a4%9c%e5%ae%9a\/","name":"Python \u3067\u4eee\u8aac\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5 (\u4f8b\u3042\u308a) - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/ja\/#website"},"datePublished":"2023-07-18T12:20:42+00:00","dateModified":"2023-07-18T12:20:42+00:00","author":{"@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83"},"description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Python \u3067\u4eee\u8aac\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u3044\u304f\u3064\u304b\u306e\u4f8b\u3068\u3068\u3082\u306b\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/ja\/python%e3%81%ae%e4%bb%ae%e8%aa%ac%e6%a4%9c%e5%ae%9a\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ja\/python%e3%81%ae%e4%bb%ae%e8%aa%ac%e6%a4%9c%e5%ae%9a\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ja\/python%e3%81%ae%e4%bb%ae%e8%aa%ac%e6%a4%9c%e5%ae%9a\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/ja\/"},{"@type":"ListItem","position":2,"name":"Python \u3067\u4eee\u8aac\u30c6\u30b9\u30c8\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5 (\u4f8b\u4ed8\u304d)"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/ja\/#website","url":"https:\/\/statorials.org\/ja\/","name":"Statorials","description":"\u7d71\u8a08\u80fd\u529b\u3078\u306e\u30ac\u30a4\u30c9","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/ja\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83","name":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/image\/","url":"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"http:\/\/statorials.org\/ja\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u30fb\u30a2\u30f3\u30c0\u30fc\u30bd\u30f3\u535a\u58eb"},"description":"\u79c1\u306f\u30d9\u30f3\u30b8\u30e3\u30df\u30f3\u3067\u3059\u3002\u9000\u8077\u3057\u305f\u7d71\u8a08\u6559\u6388\u304b\u3089\u3001\u5c02\u4efb\u306e Statorials \u6559\u80b2\u8005\u306b\u306a\u308a\u307e\u3057\u305f\u3002 \u7d71\u8a08\u5206\u91ce\u306b\u304a\u3051\u308b\u8c4a\u5bcc\u306a\u7d4c\u9a13\u3068\u5c02\u9580\u77e5\u8b58\u3092\u6d3b\u304b\u3057\u3066\u3001\u79c1\u306f Statorials \u3092\u901a\u3058\u3066\u5b66\u751f\u306b\u529b\u3092\u4e0e\u3048\u308b\u305f\u3081\u306b\u81ea\u5206\u306e\u77e5\u8b58\u3092\u5171\u6709\u3059\u308b\u3053\u3068\u306b\u5c3d\u529b\u3057\u3066\u3044\u307e\u3059\u3002\u3082\u3063\u3068\u77e5\u308b","sameAs":["http:\/\/statorials.org\/ja"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/3239","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/comments?post=3239"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/3239\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/media?parent=3239"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/categories?post=3239"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/tags?post=3239"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}