{"id":3117,"date":"2023-07-19T03:04:16","date_gmt":"2023-07-19T03:04:16","guid":{"rendered":"https:\/\/statorials.org\/ja\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e5%88%97%e8%bb%8a%e3%81%ae%e8%a9%a6%e9%a8%93\/"},"modified":"2023-07-19T03:04:16","modified_gmt":"2023-07-19T03:04:16","slug":"%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e5%88%97%e8%bb%8a%e3%81%ae%e8%a9%a6%e9%a8%93","status":"publish","type":"post","link":"https:\/\/statorials.org\/ja\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e5%88%97%e8%bb%8a%e3%81%ae%e8%a9%a6%e9%a8%93\/","title":{"rendered":"Pandas dataframe \u304b\u3089\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\"><a href=\"https:\/\/statorials.org\/ja\/-10\/\" target=\"_blank\" rel=\"noopener\">\u6a5f\u68b0\u5b66\u7fd2\u30e2\u30c7\u30eb\u3092<\/a>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u9069\u5408\u3055\u305b\u308b\u3068\u304d\u3001\u591a\u304f\u306e\u5834\u5408\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092 2 \u3064\u306e\u30bb\u30c3\u30c8\u306b\u5206\u5272\u3057\u307e\u3059\u3002<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>1. \u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8:<\/strong>\u30e2\u30c7\u30eb\u306e\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059 (\u5143\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e 70 \uff5e 80%)<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>2. \u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8:<\/strong>\u30e2\u30c7\u30eb\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u4e0d\u504f\u63a8\u5b9a\u5024\u3092\u53d6\u5f97\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059 (\u5143\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e 20 \uff5e 30%)<\/span><\/p>\n<p> <span style=\"color: #000000;\">Python \u3067\u306f\u3001pandas DataFrame \u3092\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u306b\u5206\u5272\u3059\u308b\u4e00\u822c\u7684\u306a\u65b9\u6cd5\u304c 2 \u3064\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>\u65b9\u6cd5 1: sklearn \u306e train_test_split() \u3092\u4f7f\u7528\u3059\u308b<\/strong><\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">from<\/span> sklearn. <span style=\"color: #3366ff;\">model_selection<\/span> <span style=\"color: #008000;\">import<\/span> train_test_split\n\ntrain, test = train_test_split(df, test_size= <span style=\"color: #008000;\">0.2<\/span> , random_state= <span style=\"color: #008000;\">0<\/span> )<\/strong><\/pre>\n<p><span style=\"color: #000000;\"><strong>\u65b9\u6cd52: pandas\u306esample()\u3092\u4f7f\u7528\u3059\u308b<\/strong><\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>train = df. <span style=\"color: #3366ff;\">sample<\/span> (frac= <span style=\"color: #008000;\">0.8<\/span> , random_state= <span style=\"color: #008000;\">0<\/span> )\ntest = df. <span style=\"color: #3366ff;\">drop<\/span> ( <span style=\"color: #3366ff;\">train.index<\/span> )<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u4f8b\u306f\u3001\u6b21\u306e pandas DataFrame \u3067\u5404\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\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: #008000;\">import<\/span> pandas <span style=\"color: #008000;\">as<\/span> pd\n<span style=\"color: #008000;\">import<\/span> numpy <span style=\"color: #008000;\">as<\/span> np\n\n<span style=\"color: #008080;\">#make this example reproducible\n<\/span>n.p. <span style=\"color: #3366ff;\">random<\/span> . <span style=\"color: #3366ff;\">seeds<\/span> (1)\n\n<span style=\"color: #008080;\">#create DataFrame with 1,000 rows and 3 columns\n<\/span>df = pd. <span style=\"color: #3366ff;\">DataFrame<\/span> <span style=\"color: #3366ff;\">(<\/span> {' <span style=\"color: #ff0000;\">x1<\/span> ': <span style=\"color: #3366ff;\">np.random.randint<\/span> (30,size=1000),\n                   ' <span style=\"color: #ff0000;\">x2<\/span> ': np. <span style=\"color: #3366ff;\">random<\/span> . <span style=\"color: #3366ff;\">randint<\/span> (12, size=1000),\n                   ' <span style=\"color: #ff0000;\">y<\/span> ': np. <span style=\"color: #3366ff;\">random<\/span> . <span style=\"color: #3366ff;\">randint<\/span> (2, size=1000)})\n\n<span style=\"color: #008080;\">#view first few rows of DataFrame<\/span>\ndf. <span style=\"color: #3366ff;\">head<\/span> ()\n\n        x1 x2 y\n0 5 1 1\n1 11 8 0\n2 12 4 1\n3 8 7 0\n4 9 0 0\n<\/strong><\/pre>\n<h3><span style=\"color: #000000;\"><strong>\u4f8b 1: sklearn \u306e train_test_split() \u3092\u4f7f\u7528\u3059\u308b<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\"><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001 <strong>sklearn<\/strong>\u306e<strong>train_test_split()<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001pandas DataFrame \u3092\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u306b\u5206\u5272\u3059\u308b\u65b9\u6cd5\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008000;\">from<\/span> sklearn. <span style=\"color: #3366ff;\">model_selection<\/span> <span style=\"color: #008000;\">import<\/span> train_test_split\n\n<span style=\"color: #008080;\">#split original DataFrame into training and testing sets\n<\/span>train, test = train_test_split(df, test_size= <span style=\"color: #008000;\">0.2<\/span> , random_state= <span style=\"color: #008000;\">0<\/span> )\n\n<span style=\"color: #008080;\">#view first few rows of each set<\/span>\n<span style=\"color: #008000;\">print<\/span> ( <span style=\"color: #3366ff;\">train.head<\/span> ())\n\n     x1 x2 y\n687 16 2 0\n500 18 2 1\n332 4 10 1\n979 2 8 1\n817 11 1 0\n\n<span style=\"color: #008000;\">print<\/span> ( <span style=\"color: #3366ff;\">test.head<\/span> ())\n\n     x1 x2 y\n993 22 1 1\n859 27 6 0\n298 27 8 1\n553 20 6 0\n672 9 2 1\n\n<span style=\"color: #008080;\">#print size of each set<\/span>\n<span style=\"color: #008000;\">print<\/span> (train. <span style=\"color: #3366ff;\">shape<\/span> , test. <span style=\"color: #3366ff;\">shape<\/span> )\n\n(800, 3) (200, 3)\n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u7d50\u679c\u304b\u3089\u30012 \u3064\u306e\u30bb\u30c3\u30c8\u304c\u4f5c\u6210\u3055\u308c\u305f\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8: 800 \u884c 3 \u5217<\/span><\/li>\n<li><span style=\"color: #000000;\">\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8: 200 \u884c 3 \u5217<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\"><strong>test_size \u306f<\/strong>\u3001\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u306b\u5c5e\u3059\u308b\u5143\u306e DataFrame \u304b\u3089\u306e\u89b3\u6e2c\u5024\u306e\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u3092\u5236\u5fa1\u3057\u3001 <strong>random_state<\/strong>\u5024\u306b\u3088\u308a\u5206\u5272\u304c\u518d\u73fe\u53ef\u80fd\u306b\u306a\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u4f8b2: pandas\u304b\u3089sample()\u3092\u4f7f\u7528\u3059\u308b<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u3001 <b>pandas<\/b> <strong>sample()<\/strong>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001pandas DataFrame \u3092\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u306b\u5206\u5272\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;\">#split original DataFrame into training and testing sets\n<\/span>train = df. <span style=\"color: #3366ff;\">sample<\/span> (frac= <span style=\"color: #008000;\">0.8<\/span> , random_state= <span style=\"color: #008000;\">0<\/span> )\ntest = df. <span style=\"color: #3366ff;\">drop<\/span> ( <span style=\"color: #3366ff;\">train.index<\/span> )\n\n<span style=\"color: #008080;\">#view first few rows of each set<\/span>\n<span style=\"color: #008000;\">print<\/span> ( <span style=\"color: #3366ff;\">train.head<\/span> ())\n\n     x1 x2 y\n993 22 1 1\n859 27 6 0\n298 27 8 1\n553 20 6 0\n672 9 2 1\n\n<span style=\"color: #008000;\">print<\/span> ( <span style=\"color: #3366ff;\">test.head<\/span> ())\n\n    x1 x2 y\n9 16 5 0\n11 12 10 0\n19 5 9 0\n23 28 1 1\n28 18 0 1\n\n<span style=\"color: #008080;\">#print size of each set<\/span>\n<span style=\"color: #008000;\">print<\/span> (train. <span style=\"color: #3366ff;\">shape<\/span> , test. <span style=\"color: #3366ff;\">shape<\/span> )\n\n(800, 3) (200, 3)\n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u7d50\u679c\u304b\u3089\u30012 \u3064\u306e\u30bb\u30c3\u30c8\u304c\u4f5c\u6210\u3055\u308c\u305f\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/span><\/p>\n<ul>\n<li><span style=\"color: #000000;\">\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8: 800 \u884c 3 \u5217<\/span><\/li>\n<li><span style=\"color: #000000;\">\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8: 200 \u884c 3 \u5217<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\"><b>frac \u306f<\/b>\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u306b\u5c5e\u3059\u308b\u5143\u306e DataFrame \u304b\u3089\u306e\u89b3\u6e2c\u306e\u30d1\u30fc\u30bb\u30f3\u30c6\u30fc\u30b8\u3092\u5236\u5fa1\u3057\u3001 <strong>random_state<\/strong>\u5024\u306b\u3088\u308a\u5206\u5272\u304c\u518d\u73fe\u53ef\u80fd\u306b\u306a\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\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\u3001Python \u3067\u4ed6\u306e\u4e00\u822c\u7684\u306a\u30bf\u30b9\u30af\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/ja\/\u30ed\u30b7\u3099\u30b9\u30c6\u30a3\u30c3\u30af\u56de\u5e30python\/\" target=\"_blank\" rel=\"noopener\">Python \u3067\u30ed\u30b8\u30b9\u30c6\u30a3\u30c3\u30af\u56de\u5e30\u3092\u5b9f\u884c\u3059\u308b\u65b9\u6cd5<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/python\u884c\u5217\u306e\u6df7\u4e71\/\" target=\"_blank\" rel=\"noopener\">Python \u3067\u6df7\u540c\u884c\u5217\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5<\/a><br \/><a href=\"https:\/\/statorials.org\/ja\/\u30cf\u3099\u30e9\u30f3\u30b9\u306e\u3068\u308c\u305f\u7cbe\u5ea6\u306e-python-sklearn\/\">Python \u3067\u30d0\u30e9\u30f3\u30b9\u306e\u3068\u308c\u305f\u7cbe\u5ea6\u3092\u8a08\u7b97\u3059\u308b\u65b9\u6cd5<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6a5f\u68b0\u5b66\u7fd2\u30e2\u30c7\u30eb\u3092\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u9069\u5408\u3055\u305b\u308b\u3068\u304d\u3001\u591a\u304f\u306e\u5834\u5408\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092 2 \u3064\u306e\u30bb\u30c3\u30c8\u306b\u5206\u5272\u3057\u307e\u3059\u3002 1. \u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8:\u30e2\u30c7\u30eb\u306e\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059 (\u5143\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e 70 \uff5e 80%) 2. \u30c6\u30b9 [&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-3117","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>Pandas DataFrame \u304b\u3089\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5 - \u7d71\u8a08<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u5358\u4e00\u306e pandas DataFrame \u304b\u3089\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u308b\u3044\u304f\u3064\u304b\u306e\u65b9\u6cd5\u306b\u3064\u3044\u3066\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\u5217\u8eca\u306e\u8a66\u9a13\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pandas DataFrame \u304b\u3089\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5 - \u7d71\u8a08\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u5358\u4e00\u306e pandas DataFrame \u304b\u3089\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u308b\u3044\u304f\u3064\u304b\u306e\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ja\/\u30cf\u309a\u30f3\u30bf\u3099\u5217\u8eca\u306e\u8a66\u9a13\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-19T03:04:16+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\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e5%88%97%e8%bb%8a%e3%81%ae%e8%a9%a6%e9%a8%93\/\",\"url\":\"https:\/\/statorials.org\/ja\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e5%88%97%e8%bb%8a%e3%81%ae%e8%a9%a6%e9%a8%93\/\",\"name\":\"Pandas DataFrame \u304b\u3089\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5 - \u7d71\u8a08\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ja\/#website\"},\"datePublished\":\"2023-07-19T03:04:16+00:00\",\"dateModified\":\"2023-07-19T03:04:16+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83\"},\"description\":\"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u5358\u4e00\u306e pandas DataFrame \u304b\u3089\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u308b\u3044\u304f\u3064\u304b\u306e\u65b9\u6cd5\u306b\u3064\u3044\u3066\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%e5%88%97%e8%bb%8a%e3%81%ae%e8%a9%a6%e9%a8%93\/#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%e5%88%97%e8%bb%8a%e3%81%ae%e8%a9%a6%e9%a8%93\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ja\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e5%88%97%e8%bb%8a%e3%81%ae%e8%a9%a6%e9%a8%93\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/ja\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pandas dataframe \u304b\u3089\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u3092\u4f5c\u6210\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":"Pandas DataFrame \u304b\u3089\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5 - \u7d71\u8a08","description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u5358\u4e00\u306e pandas DataFrame \u304b\u3089\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u308b\u3044\u304f\u3064\u304b\u306e\u65b9\u6cd5\u306b\u3064\u3044\u3066\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\u5217\u8eca\u306e\u8a66\u9a13\/","og_locale":"ja_JP","og_type":"article","og_title":"Pandas DataFrame \u304b\u3089\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5 - \u7d71\u8a08","og_description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u5358\u4e00\u306e pandas DataFrame \u304b\u3089\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u308b\u3044\u304f\u3064\u304b\u306e\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/statorials.org\/ja\/\u30cf\u309a\u30f3\u30bf\u3099\u5217\u8eca\u306e\u8a66\u9a13\/","og_site_name":"Statorials","article_published_time":"2023-07-19T03:04:16+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\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e5%88%97%e8%bb%8a%e3%81%ae%e8%a9%a6%e9%a8%93\/","url":"https:\/\/statorials.org\/ja\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e5%88%97%e8%bb%8a%e3%81%ae%e8%a9%a6%e9%a8%93\/","name":"Pandas DataFrame \u304b\u3089\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5 - \u7d71\u8a08","isPartOf":{"@id":"https:\/\/statorials.org\/ja\/#website"},"datePublished":"2023-07-19T03:04:16+00:00","dateModified":"2023-07-19T03:04:16+00:00","author":{"@id":"https:\/\/statorials.org\/ja\/#\/schema\/person\/86b92d2dd87368b26360d19d9c6a5d83"},"description":"\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u5358\u4e00\u306e pandas DataFrame \u304b\u3089\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u308b\u3044\u304f\u3064\u304b\u306e\u65b9\u6cd5\u306b\u3064\u3044\u3066\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%e5%88%97%e8%bb%8a%e3%81%ae%e8%a9%a6%e9%a8%93\/#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%e5%88%97%e8%bb%8a%e3%81%ae%e8%a9%a6%e9%a8%93\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ja\/%e3%83%8f%e3%82%9a%e3%83%b3%e3%82%bf%e3%82%99%e5%88%97%e8%bb%8a%e3%81%ae%e8%a9%a6%e9%a8%93\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/ja\/"},{"@type":"ListItem","position":2,"name":"Pandas dataframe \u304b\u3089\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0 \u30bb\u30c3\u30c8\u3068\u30c6\u30b9\u30c8 \u30bb\u30c3\u30c8\u3092\u4f5c\u6210\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\/3117","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=3117"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/posts\/3117\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/media?parent=3117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/categories?post=3117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ja\/wp-json\/wp\/v2\/tags?post=3117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}