{"id":2968,"date":"2023-07-19T20:21:26","date_gmt":"2023-07-19T20:21:26","guid":{"rendered":"https:\/\/statorials.org\/ja\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e3%81%ae%e6%97%a5%e4%bb%98%e3%81%ae%e9%81%95%e3%81%84\/"},"modified":"2023-07-19T20:21:26","modified_gmt":"2023-07-19T20:21:26","slug":"%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e3%81%ae%e6%97%a5%e4%bb%98%e3%81%ae%e9%81%95%e3%81%84","status":"publish","type":"post","link":"https:\/\/statorials.org\/ja\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e3%81%ae%e6%97%a5%e4%bb%98%e3%81%ae%e9%81%95%e3%81%84\/","title":{"rendered":"\u30d1\u30f3\u30c0: 2 \u3064\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u69cb\u6587\u3092\u4f7f\u7528\u3057\u3066\u3001pandas DataFrame \u5185\u306e 2 \u3064\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\u3067\u304d\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>df[' <span style=\"color: #ff0000;\">diff_days<\/span> '] = (df[' <span style=\"color: #ff0000;\">end_date<\/span> '] - df[' <span style=\"color: #ff0000;\">start_date<\/span> ']) \/ np. <span style=\"color: #3366ff;\">timedelta64<\/span> ( <span style=\"color: #008000;\">1<\/span> ,' <span style=\"color: #ff0000;\">D<\/span> ')\n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u3053\u306e\u7279\u5b9a\u306e\u4f8b\u3067\u306f\u3001 <strong>end_date \u5217<\/strong>\u3068<strong>start_date<\/strong>\u5217\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u65e5\u6570\u3067\u8a08\u7b97\u3057\u307e\u3059\u3002<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>timedelta64()<\/strong>\u95a2\u6570\u306e\u300cD\u300d\u3092\u6b21\u306e\u5024\u306b\u7f6e\u304d\u63db\u3048\u3066\u3001\u65e5\u4ed8\u306e\u5dee\u3092\u3055\u307e\u3056\u307e\u306a\u5358\u4f4d\u3067\u8a08\u7b97\u3067\u304d\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\"><strong>W<\/strong> : \u9031\u9593<\/span><\/li>\n<li><span style=\"color: #000000;\"><strong>M<\/strong> \uff1a\u6708<\/span><\/li>\n<li><span style=\"color: #000000;\"><strong>Y<\/strong> : \u5e74<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u4f8b\u306f\u3001\u5b9f\u969b\u306b pandas DataFrame \u3067\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u4f8b 1: Datetime \u5217\u3092\u4f7f\u7528\u3057\u3066 2 \u3064\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\u3059\u308b<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30d1\u30f3\u30c0 \u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u304c\u3042\u308b\u3068\u3057\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">import<\/span> pandas <span style=\"color: #008000;\">as<\/span> pd\n\n<span style=\"color: #008080;\">#createDataFrame<span style=\"color: #000000;\">\ndf = pd. <span style=\"color: #3366ff;\">DataFrame<\/span> ({' <span style=\"color: #ff0000;\">start_date<\/span> ': pd. <span style=\"color: #3366ff;\">date_range<\/span> (start=' <span style=\"color: #ff0000;\">1\/5\/2020<\/span> ', periods= <span style=\"color: #008000;\">6<\/span> , freq=' <span style=\"color: #ff0000;\">W<\/span> '),\n                   ' <span style=\"color: #ff0000;\">end_date<\/span> ': pd. <span style=\"color: #3366ff;\">date_range<\/span> (start=' <span style=\"color: #ff0000;\">6\/1\/2020<\/span> ', periods= <span style=\"color: #008000;\">6<\/span> , freq=' <span style=\"color: #ff0000;\">M<\/span> ')})\n\n<span style=\"color: #008080;\">#view DataFrame\n<\/span><span style=\"color: #008000;\">print<\/span> (df)\n\n  start_date end_date\n0 2020-01-05 2020-06-30\n1 2020-01-12 2020-07-31\n2 2020-01-19 2020-08-31\n3 2020-01-26 2020-09-30\n4 2020-02-02 2020-10-31\n5 2020-02-09 2020-11-30\n\n<span style=\"color: #008080;\">#view dtype of each column in DataFrame<\/span>\ndf. <span style=\"color: #3366ff;\">dtypes\n\n<span style=\"color: #000000;\">start_date datetime64[ns]\nend_date datetime64[ns]\ndtype:object<\/span><\/span>\n<\/span><\/span><\/strong><\/pre>\n<p> <span style=\"color: #000000;\">DataFrame \u306e\u4e21\u65b9\u306e\u5217\u306b\u306f\u3059\u3067\u306b<strong>datetime64<\/strong>\u578b\u304c\u3042\u308b\u305f\u3081\u3001\u6b21\u306e\u69cb\u6587\u3092\u4f7f\u7528\u3057\u3066\u958b\u59cb\u65e5\u3068\u7d42\u4e86\u65e5\u306e\u5dee\u3092\u8a08\u7b97\u3067\u304d\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> numpy <span style=\"color: #008000;\">as<\/span> np\n\n<span style=\"color: #008080;\">#create new columns that contains date differences\n<\/span>df[' <span style=\"color: #ff0000;\">diff_days<\/span> '] = (df[' <span style=\"color: #ff0000;\">end_date<\/span> '] - df[' <span style=\"color: #ff0000;\">start_date<\/span> ']) \/ np. <span style=\"color: #3366ff;\">timedelta64<\/span> ( <span style=\"color: #008000;\">1<\/span> ,' <span style=\"color: #ff0000;\">D<\/span> ')\ndf[' <span style=\"color: #ff0000;\">diff_weeks<\/span> '] = (df[' <span style=\"color: #ff0000;\">end_date<\/span> '] - df[' <span style=\"color: #ff0000;\">start_date<\/span> ']) \/ np. <span style=\"color: #3366ff;\">timedelta64<\/span> ( <span style=\"color: #008000;\">1<\/span> ,' <span style=\"color: #ff0000;\">W<\/span> ')\ndf[' <span style=\"color: #ff0000;\">diff_months<\/span> '] = (df[' <span style=\"color: #ff0000;\">end_date<\/span> '] - df[' <span style=\"color: #ff0000;\">start_date<\/span> ']) \/ np. <span style=\"color: #3366ff;\">timedelta64<\/span> ( <span style=\"color: #008000;\">1<\/span> ,' <span style=\"color: #ff0000;\">M<\/span> ')\ndf[' <span style=\"color: #ff0000;\">diff_years<\/span> '] = (df[' <span style=\"color: #ff0000;\">end_date<\/span> '] - df[' <span style=\"color: #ff0000;\">start_date<\/span> ']) \/ np. <span style=\"color: #3366ff;\">timedelta64<\/span> ( <span style=\"color: #008000;\">1<\/span> ,' <span style=\"color: #ff0000;\">Y<\/span> ')\n\n<span style=\"color: #008080;\">#view updated DataFrame\n<\/span><span style=\"color: #008000;\">print<\/span> (df)\n\n  start_date end_date diff_days diff_weeks diff_months diff_years\n0 2020-01-05 2020-06-30 177.0 25.285714 5.815314 0.484610\n1 2020-01-12 2020-07-31 201.0 28.714286 6.603832 0.550319\n2 2020-01-19 2020-08-31 225.0 32.142857 7.392349 0.616029\n3 2020-01-26 2020-09-30 248.0 35.428571 8.148011 0.679001\n4 2020-02-02 2020-10-31 272.0 38.857143 8.936528 0.744711\n5 2020-02-09 2020-11-30 295.0 42.142857 9.692191 0.807683\n<\/span><\/span><\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u65b0\u3057\u3044\u5217\u306b\u306f\u3001\u958b\u59cb\u65e5\u3068\u7d42\u4e86\u65e5\u306e\u65e5\u4ed8\u306e\u5dee\u304c\u65e5\u3001\u9031\u3001\u6708\u3001\u5e74\u5358\u4f4d\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u4f8b 2: \u6587\u5b57\u5217\u5217\u3092\u4f7f\u7528\u3057\u3066 2 \u3064\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\u3059\u308b<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30d1\u30f3\u30c0 \u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u304c\u3042\u308b\u3068\u3057\u307e\u3059\u3002<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">import<\/span> pandas <span style=\"color: #008000;\">as<\/span> pd\n\n<span style=\"color: #008080;\">#createDataFrame<span style=\"color: #000000;\">\ndf = pd. <span style=\"color: #3366ff;\">DataFrame<\/span> ({' <span style=\"color: #ff0000;\">start_date<\/span> ': ['2020-01-05', '2020-01-12', '2020-01-19'],\n                   ' <span style=\"color: #ff0000;\">end_date<\/span> ': ['2020-06-30', '2020-07-31', '2020-08-31']})\n\n<span style=\"color: #008080;\">#view dtype of each column<\/span>\n<span style=\"color: #008000;\">print<\/span> ( <span style=\"color: #3366ff;\">df.dtypes<\/span> )\n\nstart_date object\nend_date object\ndtype:object\n<\/span><\/span><\/strong><\/pre>\n<p> <span style=\"color: #000000;\">DataFrame \u306e\u3069\u3061\u3089\u306e\u5217\u3082<strong>datetime64<\/strong>\u578b\u3067\u306f\u306a\u3044\u305f\u3081\u3001\u65e5\u4ed8\u9593\u306e\u5dee\u7570\u3092\u8a08\u7b97\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\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> numpy <span style=\"color: #008000;\">as<\/span> np\n\n<span style=\"color: #008080;\">#attempt to calculate date difference\n<\/span>df[' <span style=\"color: #ff0000;\">diff_days<\/span> '] = (df[' <span style=\"color: #ff0000;\">end_date<\/span> '] - df[' <span style=\"color: #ff0000;\">start_date<\/span> ']) \/ np. <span style=\"color: #3366ff;\">timedelta64<\/span> ( <span style=\"color: #008000;\">1<\/span> ,' <span style=\"color: #ff0000;\">D<\/span> ')\n\n<span style=\"color: #ff0000;\">TypeError<\/span> : unsupported operand type(s) for -: 'str' and 'str'\n<\/span><\/span><\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u65e5\u4ed8\u9593\u306e\u5dee\u7570\u3092\u8a08\u7b97\u3059\u308b\u524d\u306b\u3001\u307e\u305a<strong>pd.to_datetime \u3092<\/strong>\u4f7f\u7528\u3057\u3066\u5404\u5217\u3092\u65e5\u6642\u5f62\u5f0f\u306b\u5909\u63db\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\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> numpy <span style=\"color: #008000;\">as<\/span> np\n\n<span style=\"color: #008080;\">#convert columns to datetime\n<\/span>df[[' <span style=\"color: #ff0000;\">start_date<\/span> ', ' <span style=\"color: #ff0000;\">end_date<\/span> ']] = df[[' <span style=\"color: #ff0000;\">start_date<\/span> ', ' <span style=\"color: #ff0000;\">end_date<\/span> ']]. <span style=\"color: #3366ff;\">apply<\/span> (pd. <span style=\"color: #3366ff;\">to_datetime<\/span> )\n\n<span style=\"color: #008080;\">#calculate difference between dates\n<\/span>df[' <span style=\"color: #ff0000;\">diff_days<\/span> '] = (df[' <span style=\"color: #ff0000;\">end_date<\/span> '] - df[' <span style=\"color: #ff0000;\">start_date<\/span> ']) \/ np. <span style=\"color: #3366ff;\">timedelta64<\/span> ( <span style=\"color: #008000;\">1<\/span> ,' <span style=\"color: #ff0000;\">D<\/span> ')\n\n<span style=\"color: #008080;\">#view updated DataFrame\n<\/span><span style=\"color: #008000;\">print<\/span> (df)\n\n  start_date end_date diff_days\n0 2020-01-05 2020-06-30 177.0\n1 2020-01-12 2020-07-31 201.0\n2 2020-01-19 2020-08-31 225.0\n<\/span><\/span><\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u6700\u521d\u306b\u5404\u5217\u3092\u65e5\u6642\u5f62\u5f0f\u306b\u5909\u63db\u3057\u305f\u305f\u3081\u3001\u65e5\u4ed8\u9593\u306e\u5dee\u7570\u3092\u30a8\u30e9\u30fc\u306a\u304f\u6b63\u5e38\u306b\u8a08\u7b97\u3067\u304d\u307e\u3057\u305f\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\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u30d1\u30f3\u30c0\u3067\u4ed6\u306e\u4e00\u822c\u7684\u306a\u64cd\u4f5c\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/ja\/\u30cf\u309a\u30f3\u30bf\u3099\u306e\u65e5\u4ed8\u7bc4\u56f2\/\" target=\"_blank\" rel=\"noopener\">Pandas \u3067\u65e5\u4ed8\u7bc4\u56f2\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/\u30cf\u309a\u30f3\u30bf\u3099\u306f\u65e5\u4ed8\u304b\u3089\u6708\u3092\u62bd\u51fa\u3057\u307e\u3059\/\" target=\"_blank\" rel=\"noopener\">Pandas\u3067\u65e5\u4ed8\u304b\u3089\u6708\u3092\u62bd\u51fa\u3059\u308b\u65b9\u6cd5<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/\u30cf\u309a\u30f3\u30bf\u3099\u306e\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d5\u309a\u306e\u65e5\u4ed8\u6642\u523b\/\" target=\"_blank\" rel=\"noopener\">Pandas\u3067\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u65e5\u4ed8\/\u6642\u523b\u306b\u5909\u63db\u3059\u308b\u65b9\u6cd5<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6b21\u306e\u69cb\u6587\u3092\u4f7f\u7528\u3057\u3066\u3001pandas DataFrame \u5185\u306e 2 \u3064\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\u3067\u304d\u307e\u3059\u3002 df[&#8216; diff_days &#8216;] = (df[&#8216; end_date &#8216;] &#8211; df[&#8216; start_date &#8216;]) \/ n [&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-2968","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>\u30d1\u30f3\u30c0: 2 \u3064\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\u3059\u308b\u65b9\u6cd5 - \u7d71\u8a08<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001pandas DataFrame \u5185\u306e 2 \u3064\u306e\u65e5\u4ed8\u9593\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\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\/\u30cf\u309a\u30f3\u30bf\u3099\u306e\u65e5\u4ed8\u306e\u9055\u3044\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u30d1\u30f3\u30c0: 2 \u3064\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\u3059\u308b\u65b9\u6cd5 - \u7d71\u8a08\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001pandas DataFrame \u5185\u306e 2 \u3064\u306e\u65e5\u4ed8\u9593\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\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\/\u30cf\u309a\u30f3\u30bf\u3099\u306e\u65e5\u4ed8\u306e\u9055\u3044\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-19T20:21:26+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=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/ja\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e3%81%ae%e6%97%a5%e4%bb%98%e3%81%ae%e9%81%95%e3%81%84\/\",\"url\":\"https:\/\/statorials.org\/ja\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e3%81%ae%e6%97%a5%e4%bb%98%e3%81%ae%e9%81%95%e3%81%84\/\",\"name\":\"\u30d1\u30f3\u30c0: 2 \u3064\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\u3059\u308b\u65b9\u6cd5 - \u7d71\u8a08\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ja\/#website\"},\"datePublished\":\"2023-07-19T20:21:26+00:00\",\"dateModified\":\"2023-07-19T20:21:26+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83\"},\"description\":\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001pandas DataFrame \u5185\u306e 2 \u3064\u306e\u65e5\u4ed8\u9593\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\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\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e3%81%ae%e6%97%a5%e4%bb%98%e3%81%ae%e9%81%95%e3%81%84\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ja\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e3%81%ae%e6%97%a5%e4%bb%98%e3%81%ae%e9%81%95%e3%81%84\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ja\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e3%81%ae%e6%97%a5%e4%bb%98%e3%81%ae%e9%81%95%e3%81%84\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/ja\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30d1\u30f3\u30c0: 2 \u3064\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\u3059\u308b\u65b9\u6cd5\"}]},{\"@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":"\u30d1\u30f3\u30c0: 2 \u3064\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\u3059\u308b\u65b9\u6cd5 - \u7d71\u8a08","description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001pandas DataFrame \u5185\u306e 2 \u3064\u306e\u65e5\u4ed8\u9593\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\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\/\u30cf\u309a\u30f3\u30bf\u3099\u306e\u65e5\u4ed8\u306e\u9055\u3044\/","og_locale":"ja_JP","og_type":"article","og_title":"\u30d1\u30f3\u30c0: 2 \u3064\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\u3059\u308b\u65b9\u6cd5 - \u7d71\u8a08","og_description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001pandas DataFrame \u5185\u306e 2 \u3064\u306e\u65e5\u4ed8\u9593\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\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\/\u30cf\u309a\u30f3\u30bf\u3099\u306e\u65e5\u4ed8\u306e\u9055\u3044\/","og_site_name":"Statorials","article_published_time":"2023-07-19T20:21:26+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":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/ja\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e3%81%ae%e6%97%a5%e4%bb%98%e3%81%ae%e9%81%95%e3%81%84\/","url":"https:\/\/statorials.org\/ja\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e3%81%ae%e6%97%a5%e4%bb%98%e3%81%ae%e9%81%95%e3%81%84\/","name":"\u30d1\u30f3\u30c0: 2 \u3064\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\u3059\u308b\u65b9\u6cd5 - \u7d71\u8a08","isPartOf":{"@id":"https:\/\/statorials.org\/ja\/#website"},"datePublished":"2023-07-19T20:21:26+00:00","dateModified":"2023-07-19T20:21:26+00:00","author":{"@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83"},"description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001pandas DataFrame \u5185\u306e 2 \u3064\u306e\u65e5\u4ed8\u9593\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\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\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e3%81%ae%e6%97%a5%e4%bb%98%e3%81%ae%e9%81%95%e3%81%84\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ja\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e3%81%ae%e6%97%a5%e4%bb%98%e3%81%ae%e9%81%95%e3%81%84\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ja\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e3%81%ae%e6%97%a5%e4%bb%98%e3%81%ae%e9%81%95%e3%81%84\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/ja\/"},{"@type":"ListItem","position":2,"name":"\u30d1\u30f3\u30c0: 2 \u3064\u306e\u65e5\u4ed8\u306e\u5dee\u3092\u8a08\u7b97\u3059\u308b\u65b9\u6cd5"}]},{"@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\/2968","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=2968"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/2968\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/media?parent=2968"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/categories?post=2968"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/tags?post=2968"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}