{"id":94,"date":"2019-12-27T22:00:45","date_gmt":"2019-12-27T13:00:45","guid":{"rendered":"https:\/\/obgyn.jp\/?p=94"},"modified":"2022-03-13T19:52:54","modified_gmt":"2022-03-13T10:52:54","slug":"pivot-table","status":"publish","type":"post","link":"https:\/\/obgyn.jp\/?p=94","title":{"rendered":"Python \u306b\u3088\u308b\u30af\u30ed\u30b9\u96c6\u8a08\u8868"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/pandas.pydata.org\/pandas-docs\/stable\/reference\/api\/pandas.pivot_table.html\" rel=\"noopener noreferrer\" target=\"_blank\">pandas.pivot_table()<\/a> \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u3001\u30af\u30ed\u30b9\u96c6\u8a08\u8868\u3092\u4f5c\u6210\u3059\u308b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Python \u3092\u8d77\u52d5\u3057\u3001pandas \u3092 import \u3059\u308b\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import pandas as pd<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u901a\u5e38\u306f Excel \u7b49\u3067\u4f5c\u6210\u3057\u305f CSV \u30d5\u30a1\u30a4\u30eb\u3092 pandas \u306b\u8aad\u307f\u8fbc\u3093\u3067\u5206\u6790\u3059\u308b\u3002\u3057\u304b\u3057\u3001\u3053\u3053\u3067\u306f\u4fbf\u5b9c\u7684\u306b\u4ee5\u4e0b\u306e\u7c21\u5358\u306a\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u3092\u4f5c\u6210\u3057\u3001data \u3068\u3044\u3046\u5909\u6570\u306b\u683c\u7d0d\u3057\u3066\u304a\u304f\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">data = pd.DataFrame({\"\u8853\u8005\":[\"\u592a\u90ce\",\"\u82b1\u5b50\",\"\u592a\u90ce\",\"\u82b1\u5b50\",\"\u592a\u90ce\",\"\u82b1\u5b50\"], \"\u624b\u8853\u65b9\u6cd5\":[\"\u5185\u8996\u93e1\",\"\u958b\u8179\",\"\u958b\u8179\",\"\u5185\u8996\u93e1\",\"\u5185\u8996\u93e1\",\"\u5185\u8996\u93e1\"], \"\u624b\u8853\u6642\u9593\":[60,50,100,90,30,40], \"\u51fa\u8840\u91cf\":[15,25,35,55,45,25]})<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">data \u306e\u5185\u5bb9\u3092\u78ba\u8a8d\u3059\u308b\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">data<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8853\u8005\u3068\u624b\u8853\u65b9\u6cd5\u3067\u3001\u624b\u8853\u6642\u9593\u306e\u5e73\u5747\u304c\u3069\u3046\u7570\u306a\u308b\u304b\u3092\u96c6\u8a08\u3059\u308b\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">pd.pivot_table(data, values = \"\u624b\u8853\u6642\u9593\", index = \"\u8853\u8005\", columns = \"\u624b\u8853\u65b9\u6cd5\", aggfunc = \"mean\")<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u624b\u8853\u6642\u9593\u3060\u3051\u3067\u306a\u304f\u3001\u51fa\u8840\u91cf\u306e\u5e73\u5747\u3082\u96c6\u8a08\u3059\u308b\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">pd.pivot_table(data, values = [\"\u624b\u8853\u6642\u9593\", \"\u51fa\u8840\u91cf\"], index = \"\u8853\u8005\", columns = \"\u624b\u8853\u65b9\u6cd5\", aggfunc = \"mean\")<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">aggfunc \u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u3048\u3089\u308c\u308b\u3002<br>mean: \u5e73\u5747<br>count: \u30c7\u30fc\u30bf\u306e\u500b\u6570<br>sum: \u5408\u8a08<br>var: \u5206\u6563<br>std: \u6a19\u6e96\u504f\u5dee<br>max: \u6700\u5927\u5024<br>min: \u6700\u5c0f\u5024<br>median: \u4e2d\u592e\u5024<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">margins = True \u3092\u4ed8\u3051\u52a0\u3048\u308b\u3068\u3001\u5c0f\u8a08\u3092\u8868\u793a\u3059\u308b\u3002\u307e\u305f\u3001aggfunc = &#8220;count&#8221; \u3068\u3059\u308b\u3053\u3068\u3067\u4ef6\u6570\u3092\u8868\u793a\u3059\u308b\u901a\u5e38\u306e\u30af\u30ed\u30b9\u96c6\u8a08\u306b\u306a\u308b\u3002<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">pd.pivot_table(data,values = \"\u624b\u8853\u6642\u9593\", index = \"\u8853\u8005\", columns = \"\u624b\u8853\u65b9\u6cd5\", aggfunc = \"count\", margins = True)<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>pandas.pivot_table() \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u3001\u30af\u30ed\u30b9\u96c6\u8a08\u8868\u3092\u4f5c\u6210\u3059\u308b\u3002 Python \u3092\u8d77\u52d5\u3057\u3001pandas \u3092 import \u3059\u308b\u3002 \u901a\u5e38\u306f Excel \u7b49\u3067\u4f5c\u6210\u3057\u305f CSV \u30d5\u30a1\u30a4\u30eb\u3092 pandas \u306b\u8aad &hellip; <a href=\"https:\/\/obgyn.jp\/?p=94\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Python \u306b\u3088\u308b\u30af\u30ed\u30b9\u96c6\u8a08\u8868<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[36],"class_list":["post-94","post","type-post","status-publish","format-standard","hentry","category-data-science","tag-python"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"pandas.pivot_table() \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u3001\u30af\u30ed\u30b9\u96c6\u8a08\u8868\u3092\u4f5c\u6210\u3059\u308b\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"JM\"\/>\n\t<meta name=\"google-site-verification\" content=\"OyBGx29XgVH55NNdXZpEiztbjEQYo_CUoeKrsVh6n9U\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/obgyn.jp\/?p=94\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ObGyn.jp\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Python \u306b\u3088\u308b\u30af\u30ed\u30b9\u96c6\u8a08\u8868 | ObGyn.jp\" \/>\n\t\t<meta property=\"og:description\" content=\"pandas.pivot_table() \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u3001\u30af\u30ed\u30b9\u96c6\u8a08\u8868\u3092\u4f5c\u6210\u3059\u308b\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/obgyn.jp\/?p=94\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/obgyn.jp\/wp-content\/uploads\/2020\/02\/obgyn.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/obgyn.jp\/wp-content\/uploads\/2020\/02\/obgyn.jpg\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-12-27T13:00:45+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-03-13T10:52:54+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@obgyn_jp\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Python \u306b\u3088\u308b\u30af\u30ed\u30b9\u96c6\u8a08\u8868 | ObGyn.jp\" \/>\n\t\t<meta name=\"twitter:description\" content=\"pandas.pivot_table() \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u3001\u30af\u30ed\u30b9\u96c6\u8a08\u8868\u3092\u4f5c\u6210\u3059\u308b\u3002\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@obgyn_jp\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/obgyn.jp\/wp-content\/uploads\/2020\/02\/obgyn.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/obgyn.jp\\\/?p=94#article\",\"name\":\"Python \\u306b\\u3088\\u308b\\u30af\\u30ed\\u30b9\\u96c6\\u8a08\\u8868 | ObGyn.jp\",\"headline\":\"Python \\u306b\\u3088\\u308b\\u30af\\u30ed\\u30b9\\u96c6\\u8a08\\u8868\",\"author\":{\"@id\":\"https:\\\/\\\/obgyn.jp\\\/?author=1#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/obgyn.jp\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/obgyn.jp\\\/?p=94#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e32459f46c160c8a61b8f5b09c43e49a0382c0546c3828ce595b96fc2ff84bbd?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"JM\"},\"datePublished\":\"2019-12-27T22:00:45+09:00\",\"dateModified\":\"2022-03-13T19:52:54+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/obgyn.jp\\\/?p=94#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/obgyn.jp\\\/?p=94#webpage\"},\"articleSection\":\"\\u30c7\\u30fc\\u30bf\\u30b5\\u30a4\\u30a8\\u30f3\\u30b9, Python\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/obgyn.jp\\\/?p=94#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/obgyn.jp#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/obgyn.jp\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/obgyn.jp\\\/?cat=1#listItem\",\"name\":\"\\u30c7\\u30fc\\u30bf\\u30b5\\u30a4\\u30a8\\u30f3\\u30b9\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/obgyn.jp\\\/?cat=1#listItem\",\"position\":2,\"name\":\"\\u30c7\\u30fc\\u30bf\\u30b5\\u30a4\\u30a8\\u30f3\\u30b9\",\"item\":\"https:\\\/\\\/obgyn.jp\\\/?cat=1\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/obgyn.jp\\\/?p=94#listItem\",\"name\":\"Python \\u306b\\u3088\\u308b\\u30af\\u30ed\\u30b9\\u96c6\\u8a08\\u8868\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/obgyn.jp#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/obgyn.jp\\\/?p=94#listItem\",\"position\":3,\"name\":\"Python \\u306b\\u3088\\u308b\\u30af\\u30ed\\u30b9\\u96c6\\u8a08\\u8868\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/obgyn.jp\\\/?cat=1#listItem\",\"name\":\"\\u30c7\\u30fc\\u30bf\\u30b5\\u30a4\\u30a8\\u30f3\\u30b9\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/obgyn.jp\\\/#person\",\"name\":\"Junji Mitsushita\",\"sameAs\":[\"https:\\\/\\\/twitter.com\\\/obgyn_jp\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/mitsushita\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/obgyn.jp\\\/?author=1#author\",\"url\":\"https:\\\/\\\/obgyn.jp\\\/?author=1\",\"name\":\"JM\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/obgyn.jp\\\/?p=94#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e32459f46c160c8a61b8f5b09c43e49a0382c0546c3828ce595b96fc2ff84bbd?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"JM\"},\"sameAs\":[\"@obgyn_jp\"]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/obgyn.jp\\\/?p=94#webpage\",\"url\":\"https:\\\/\\\/obgyn.jp\\\/?p=94\",\"name\":\"Python \\u306b\\u3088\\u308b\\u30af\\u30ed\\u30b9\\u96c6\\u8a08\\u8868 | ObGyn.jp\",\"description\":\"pandas.pivot_table() \\u30b3\\u30de\\u30f3\\u30c9\\u3092\\u4f7f\\u3044\\u3001\\u30af\\u30ed\\u30b9\\u96c6\\u8a08\\u8868\\u3092\\u4f5c\\u6210\\u3059\\u308b\\u3002\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/obgyn.jp\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/obgyn.jp\\\/?p=94#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/obgyn.jp\\\/?author=1#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/obgyn.jp\\\/?author=1#author\"},\"datePublished\":\"2019-12-27T22:00:45+09:00\",\"dateModified\":\"2022-03-13T19:52:54+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/obgyn.jp\\\/#website\",\"url\":\"https:\\\/\\\/obgyn.jp\\\/\",\"name\":\"ObGyn.jp\",\"description\":\"\\u5a66\\u4eba\\u79d1\\u304c\\u3093\\u85ac\\u7269\\u7642\\u6cd5\\u30ec\\u30b8\\u30e1\\u30f3\\u306e\\u6e1b\\u91cf\\u57fa\\u6e96\\u7b49\\u3092\\u63b2\\u8f09\\u3057\\u3066\\u3044\\u307e\\u3059\\u3002Python \\u3068 R \\u306b\\u3088\\u308b\\u69d8\\u3005\\u306a\\u7d71\\u8a08\\u51e6\\u7406\\u65b9\\u6cd5\\u3092\\u63b2\\u8f09\\u3057\\u3066\\u3044\\u307e\\u3059\\u3002\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/obgyn.jp\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Python \u306b\u3088\u308b\u30af\u30ed\u30b9\u96c6\u8a08\u8868 | ObGyn.jp","description":"pandas.pivot_table() \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u3001\u30af\u30ed\u30b9\u96c6\u8a08\u8868\u3092\u4f5c\u6210\u3059\u308b\u3002","canonical_url":"https:\/\/obgyn.jp\/?p=94","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"","webmasterTools":{"google-site-verification":"OyBGx29XgVH55NNdXZpEiztbjEQYo_CUoeKrsVh6n9U","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/obgyn.jp\/?p=94#article","name":"Python \u306b\u3088\u308b\u30af\u30ed\u30b9\u96c6\u8a08\u8868 | ObGyn.jp","headline":"Python \u306b\u3088\u308b\u30af\u30ed\u30b9\u96c6\u8a08\u8868","author":{"@id":"https:\/\/obgyn.jp\/?author=1#author"},"publisher":{"@id":"https:\/\/obgyn.jp\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/obgyn.jp\/?p=94#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/e32459f46c160c8a61b8f5b09c43e49a0382c0546c3828ce595b96fc2ff84bbd?s=96&d=mm&r=g","width":96,"height":96,"caption":"JM"},"datePublished":"2019-12-27T22:00:45+09:00","dateModified":"2022-03-13T19:52:54+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/obgyn.jp\/?p=94#webpage"},"isPartOf":{"@id":"https:\/\/obgyn.jp\/?p=94#webpage"},"articleSection":"\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9, Python"},{"@type":"BreadcrumbList","@id":"https:\/\/obgyn.jp\/?p=94#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/obgyn.jp#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/obgyn.jp","nextItem":{"@type":"ListItem","@id":"https:\/\/obgyn.jp\/?cat=1#listItem","name":"\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9"}},{"@type":"ListItem","@id":"https:\/\/obgyn.jp\/?cat=1#listItem","position":2,"name":"\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9","item":"https:\/\/obgyn.jp\/?cat=1","nextItem":{"@type":"ListItem","@id":"https:\/\/obgyn.jp\/?p=94#listItem","name":"Python \u306b\u3088\u308b\u30af\u30ed\u30b9\u96c6\u8a08\u8868"},"previousItem":{"@type":"ListItem","@id":"https:\/\/obgyn.jp#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/obgyn.jp\/?p=94#listItem","position":3,"name":"Python \u306b\u3088\u308b\u30af\u30ed\u30b9\u96c6\u8a08\u8868","previousItem":{"@type":"ListItem","@id":"https:\/\/obgyn.jp\/?cat=1#listItem","name":"\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9"}}]},{"@type":"Person","@id":"https:\/\/obgyn.jp\/#person","name":"Junji Mitsushita","sameAs":["https:\/\/twitter.com\/obgyn_jp","https:\/\/www.linkedin.com\/in\/mitsushita\/"]},{"@type":"Person","@id":"https:\/\/obgyn.jp\/?author=1#author","url":"https:\/\/obgyn.jp\/?author=1","name":"JM","image":{"@type":"ImageObject","@id":"https:\/\/obgyn.jp\/?p=94#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/e32459f46c160c8a61b8f5b09c43e49a0382c0546c3828ce595b96fc2ff84bbd?s=96&d=mm&r=g","width":96,"height":96,"caption":"JM"},"sameAs":["@obgyn_jp"]},{"@type":"WebPage","@id":"https:\/\/obgyn.jp\/?p=94#webpage","url":"https:\/\/obgyn.jp\/?p=94","name":"Python \u306b\u3088\u308b\u30af\u30ed\u30b9\u96c6\u8a08\u8868 | ObGyn.jp","description":"pandas.pivot_table() \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u3001\u30af\u30ed\u30b9\u96c6\u8a08\u8868\u3092\u4f5c\u6210\u3059\u308b\u3002","inLanguage":"ja","isPartOf":{"@id":"https:\/\/obgyn.jp\/#website"},"breadcrumb":{"@id":"https:\/\/obgyn.jp\/?p=94#breadcrumblist"},"author":{"@id":"https:\/\/obgyn.jp\/?author=1#author"},"creator":{"@id":"https:\/\/obgyn.jp\/?author=1#author"},"datePublished":"2019-12-27T22:00:45+09:00","dateModified":"2022-03-13T19:52:54+09:00"},{"@type":"WebSite","@id":"https:\/\/obgyn.jp\/#website","url":"https:\/\/obgyn.jp\/","name":"ObGyn.jp","description":"\u5a66\u4eba\u79d1\u304c\u3093\u85ac\u7269\u7642\u6cd5\u30ec\u30b8\u30e1\u30f3\u306e\u6e1b\u91cf\u57fa\u6e96\u7b49\u3092\u63b2\u8f09\u3057\u3066\u3044\u307e\u3059\u3002Python \u3068 R \u306b\u3088\u308b\u69d8\u3005\u306a\u7d71\u8a08\u51e6\u7406\u65b9\u6cd5\u3092\u63b2\u8f09\u3057\u3066\u3044\u307e\u3059\u3002","inLanguage":"ja","publisher":{"@id":"https:\/\/obgyn.jp\/#person"}}]},"og:locale":"ja_JP","og:site_name":"ObGyn.jp","og:type":"article","og:title":"Python \u306b\u3088\u308b\u30af\u30ed\u30b9\u96c6\u8a08\u8868 | ObGyn.jp","og:description":"pandas.pivot_table() \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u3001\u30af\u30ed\u30b9\u96c6\u8a08\u8868\u3092\u4f5c\u6210\u3059\u308b\u3002","og:url":"https:\/\/obgyn.jp\/?p=94","og:image":"https:\/\/obgyn.jp\/wp-content\/uploads\/2020\/02\/obgyn.jpg","og:image:secure_url":"https:\/\/obgyn.jp\/wp-content\/uploads\/2020\/02\/obgyn.jpg","article:published_time":"2019-12-27T13:00:45+00:00","article:modified_time":"2022-03-13T10:52:54+00:00","twitter:card":"summary","twitter:site":"@obgyn_jp","twitter:title":"Python \u306b\u3088\u308b\u30af\u30ed\u30b9\u96c6\u8a08\u8868 | ObGyn.jp","twitter:description":"pandas.pivot_table() \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u3001\u30af\u30ed\u30b9\u96c6\u8a08\u8868\u3092\u4f5c\u6210\u3059\u308b\u3002","twitter:creator":"@obgyn_jp","twitter:image":"https:\/\/obgyn.jp\/wp-content\/uploads\/2020\/02\/obgyn.jpg"},"aioseo_meta_data":{"post_id":"94","title":null,"description":"pandas.pivot_table() \u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3044\u3001\u30af\u30ed\u30b9\u96c6\u8a08\u8868\u3092\u4f5c\u6210\u3059\u308b\u3002","keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"article","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[],"defaultGraph":"Article","defaultPostTypeGraph":""},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-01-03 17:04:59","updated":"2025-06-03 20:46:20","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/obgyn.jp\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/obgyn.jp\/?cat=1\" title=\"\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9\">\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPython \u306b\u3088\u308b\u30af\u30ed\u30b9\u96c6\u8a08\u8868\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/obgyn.jp"},{"label":"\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30b9","link":"https:\/\/obgyn.jp\/?cat=1"},{"label":"Python \u306b\u3088\u308b\u30af\u30ed\u30b9\u96c6\u8a08\u8868","link":"https:\/\/obgyn.jp\/?p=94"}],"_links":{"self":[{"href":"https:\/\/obgyn.jp\/index.php?rest_route=\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/obgyn.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/obgyn.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/obgyn.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/obgyn.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=94"}],"version-history":[{"count":24,"href":"https:\/\/obgyn.jp\/index.php?rest_route=\/wp\/v2\/posts\/94\/revisions"}],"predecessor-version":[{"id":1088,"href":"https:\/\/obgyn.jp\/index.php?rest_route=\/wp\/v2\/posts\/94\/revisions\/1088"}],"wp:attachment":[{"href":"https:\/\/obgyn.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/obgyn.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/obgyn.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}