{"id":4233,"date":"2023-07-12T15:37:29","date_gmt":"2023-07-12T15:37:29","guid":{"rendered":"https:\/\/statorials.org\/ko\/pandas-groupby-%e1%84%85%e1%85%b5%e1%84%89%e1%85%a2%e1%86%b7%e1%84%91%e1%85%b3%e1%86%af\/"},"modified":"2023-07-12T15:37:29","modified_gmt":"2023-07-12T15:37:29","slug":"pandas-groupby-%e1%84%85%e1%85%b5%e1%84%89%e1%85%a2%e1%86%b7%e1%84%91%e1%85%b3%e1%86%af","status":"publish","type":"post","link":"https:\/\/statorials.org\/ko\/pandas-groupby-%e1%84%85%e1%85%b5%e1%84%89%e1%85%a2%e1%86%b7%e1%84%91%e1%85%b3%e1%86%af\/","title":{"rendered":"Pandas: groupby()\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2dc\uacc4\uc5f4\uc744 \ub9ac\uc0d8\ud50c\ub9c1\ud558\ub294 \ubc29\ubc95"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\">\uc2dc\uacc4\uc5f4 \ub370\uc774\ud130\ub97c <strong>\ub9ac\uc0d8\ud50c\ub9c1\ud55c\ub2e4\ub294<\/strong> \uac83\uc740 \uc0c8\ub85c\uc6b4 \uae30\uac04\uc5d0 \uac78\uccd0 \ub370\uc774\ud130\ub97c \uc9d1\uacc4\ud558\ub294 \uac83\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>groupby<\/strong> \uc5f0\uc0b0\uc790\ub97c \uc0ac\uc6a9\ud558\uc5ec pandas\uc5d0\uc11c \uc2dc\uacc4\uc5f4\uc744 \ub2e4\uc2dc \uc0d8\ud50c\ub9c1\ud558\ub824\uba74 \ub2e4\uc74c \uae30\ubcf8 \uad6c\ubb38\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong>group = df. <span style=\"color: #3366ff;\">groupby<\/span> ([pd. <span style=\"color: #3366ff;\">Group<\/span> (freq=' <span style=\"color: #ff0000;\">W<\/span> '), ' <span style=\"color: #ff0000;\">store<\/span> '])\n\nresult = group[' <span style=\"color: #ff0000;\">sales<\/span> ']. <span style=\"color: #3366ff;\">sum<\/span> (). <span style=\"color: #3366ff;\">unstack<\/span> (' <span style=\"color: #ff0000;\">store<\/span> '). <span style=\"color: #3366ff;\">fillna<\/span> (0) \n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\uc774 \ud2b9\uc815 \uc608\ub294 <strong>\ub9e4\uc7a5<\/strong> \uc5f4\ubcc4\ub85c DataFrame\uc758 \ud589\uc744 \uadf8\ub8f9\ud654\ud55c \ub2e4\uc74c \uc2dc\uacc4\uc5f4\uc744 \uc8fc\ubcc4\ub85c \ub2e4\uc2dc \uc0d8\ud50c\ub9c1\ud558\uace0( <strong>freq=&#8217;W&#8217;<\/strong> ) <strong>\ud310\ub9e4<\/strong> \uc5f4\uc5d0 \uc788\ub294 \uac12\uc758 \ud569\uacc4\ub97c \uacc4\uc0b0\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p> <span style=\"color: #000000;\">\uc2dc\uacc4\uc5f4 \ub370\uc774\ud130\ub97c \ub2e4\uc74c\uc744 \ud3ec\ud568\ud558\uc5ec \ub2e4\uc591\ud55c \uae30\uac04\uc73c\ub85c \ub2e4\uc2dc \uc0d8\ud50c\ub9c1\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\"><strong>S<\/strong> : \ucd08<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>min<\/strong> : \ubd84<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>H<\/strong> : \uc2dc\uac04<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>J<\/strong> :\uc77c<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>\uc5ec<\/strong> : \uc8fc<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>\ub0a8<\/strong> : \uc6d4<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>Q<\/strong> : \ubd84\uae30<\/span><\/li>\n<li> <span style=\"color: #000000;\"><strong>A<\/strong> : \uc5f0\ub3c4<\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\">\ub2e4\uc74c \uc608\uc5d0\uc11c\ub294 \uc2e4\uc81c\ub85c <strong>\uadf8\ub8f9<\/strong> \ubcc4 \uc791\uc5c5\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc2dc\uacc4\uc5f4 \ub370\uc774\ud130\ub97c \ub9ac\uc0d8\ud50c\ub9c1\ud558\ub294 \ubc29\ubc95\uc744 \ubcf4\uc5ec\uc90d\ub2c8\ub2e4.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>\uc608: Pandas\uc5d0\uc11c groupby\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2dc\uacc4\uc5f4 \ub9ac\uc0d8\ud50c\ub9c1<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">\ub450 \uac1c\uc758 \uc11c\ub85c \ub2e4\ub978 \ub9e4\uc7a5\uc5d0\uc11c \ub9e4\uc77c \ubc1c\uc0dd\ud55c \ucd1d \ub9e4\ucd9c\uc744 \ubcf4\uc5ec\uc8fc\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 pandas DataFrame\uc774 \uc788\ub2e4\uace0 \uac00\uc815\ud569\ub2c8\ub2e4.<\/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\n<\/span>df = pd. <span style=\"color: #3366ff;\">DataFrame<\/span> ({' <span style=\"color: #ff0000;\">sales<\/span> ': [13, 14, 17, 17, 16, 22, 28, 10, 17, 10, 11],\n                   ' <span style=\"color: #ff0000;\">store<\/span> ': ['A', 'A', 'A', 'A', 'A', 'B', 'B', 'B', 'B', 'B', 'B']} ,\n                   index=pd. <span style=\"color: #3366ff;\">date_range<\/span> ('2023-01-06', '2023-01-16', freq='d'))\n\n<span style=\"color: #008080;\">#view DataFrame\n<\/span><span style=\"color: #008000;\">print<\/span> (df)\n\n            sales store\n2023-01-06 13 A\n2023-01-07 14 A\n2023-01-08 17 A\n2023-01-09 17 A\n2023-01-10 16A\n2023-01-11 22 B\n2023-01-12 28 B\n2023-01-13 10 B\n2023-01-14 17 B\n2023-01-15 10 B\n2023-01-16 11 B<\/strong><\/pre>\n<p> <span style=\"color: #000000;\"><strong>\ub9e4\uc7a5<\/strong> \ubcc4\ub85c \ud589\uc744 \uadf8\ub8f9\ud654\ud55c \ub2e4\uc74c \uc8fc\ubcc4\ub85c \uc2dc\uacc4\uc5f4\uc744 \ub2e4\uc2dc \uc0d8\ud50c\ub9c1\ud55c \ub2e4\uc74c <strong>\ud310\ub9e4<\/strong> \uc5f4\uc758 \uac12 \ud569\uacc4\ub97c \uacc4\uc0b0\ud55c\ub2e4\uace0 \uac00\uc815\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p> <span style=\"color: #000000;\">\uc774\ub97c \uc704\ud574 \ub2e4\uc74c \uad6c\ubb38\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #008080;\">#group by store and resample time series by week<\/span>\ngroup = df. <span style=\"color: #3366ff;\">groupby<\/span> ([pd. <span style=\"color: #3366ff;\">Group<\/span> (freq=' <span style=\"color: #ff0000;\">W<\/span> '), ' <span style=\"color: #ff0000;\">store<\/span> '])\n\n<span style=\"color: #008080;\">#calculate sum of sales each week by store\n<\/span>result = group[' <span style=\"color: #ff0000;\">sales<\/span> ']. <span style=\"color: #3366ff;\">sum<\/span> (). <span style=\"color: #3366ff;\">unstack<\/span> (' <span style=\"color: #ff0000;\">store<\/span> '). <span style=\"color: #3366ff;\">fillna<\/span> (0)\n\n<span style=\"color: #008080;\">#view results<\/span>\n<span style=\"color: #008000;\">print<\/span> (result)\n\nstore AB\n2023-01-08 14.0 0.0\n2023-01-15 16.5 17.0\n2023-01-22 0.0 11.0\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">\uacb0\uacfc\uc5d0\uc11c \uc6b0\ub9ac\ub294 \ub2e4\uc74c\uc744 \ubcfc \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\">\ub9e4\uc7a5 A\uc5d0\uc11c 2023\ub144 1\uc6d4 8\uc77c\ub85c \ub05d\ub098\ub294 \uc8fc \ub3d9\uc548\uc758 \ub9e4\ucd9c \ud569\uacc4\ub294 <strong>14<\/strong> \uc785\ub2c8\ub2e4.<\/span><\/li>\n<li> <span style=\"color: #000000;\">\ub9e4\uc7a5 B\uc5d0\uc11c 2023\ub144 1\uc6d4 8\uc77c\ub85c \ub05d\ub098\ub294 \uc8fc \ub3d9\uc548\uc758 \ub9e4\ucd9c \ud569\uacc4\ub294 <strong>0<\/strong> \uc785\ub2c8\ub2e4.<\/span><\/li>\n<\/ul>\n<p> <span style=\"color: #000000;\">\ub4f1\ub4f1.<\/span><\/p>\n<p> <span style=\"color: #000000;\">\uc774 \uc608\uc5d0\uc11c\ub294 <strong>\ud310\ub9e4<\/strong> \uc5f4\uc758 \uac12 \ud569\uacc4\ub97c \uacc4\uc0b0\ud558\ub3c4\ub85d \uc120\ud0dd\ud588\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p> <span style=\"color: #000000;\">\uadf8\ub7ec\ub098 \uac1c\uc218, \ud3c9\uade0, \uc911\uc559\uac12, \ucd5c\uc18c\uac12, \ucd5c\ub300\uac12 \ub4f1\uacfc \uac19\uc740 \ub2e4\ub978 \uce21\uc815\ud56d\ubaa9\uc744 \uc120\ud0dd\ud560 \uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4.<\/span><\/p>\n<p> <span style=\"color: #000000;\">\uac04\ub2e8\ud788 \uc704 \ucf54\ub4dc\uc758 <strong>sum() \uc744<\/strong> <strong>count()<\/strong> , <strong>Mean()<\/strong> , <strong>Median()<\/strong> \ub4f1\uc73c\ub85c \ubc14\uafb8\uc138\uc694. \uc6d0\ud558\ub294 \uce21\uc815\ud56d\ubaa9\uc744 \uacc4\uc0b0\ud569\ub2c8\ub2e4.<\/span><\/p>\n<h2> <span style=\"color: #000000;\"><strong>\ucd94\uac00 \ub9ac\uc18c\uc2a4<\/strong><\/span><\/h2>\n<p> <span style=\"color: #000000;\">\ub2e4\uc74c \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 Python\uc5d0\uc11c \ub2e4\ub978 \uc77c\ubc18\uc801\uc778 \uc791\uc5c5\uc744 \uc218\ud589\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p> <a href=\"https:\/\/statorials.org\/ko\/matplotlib-\u1109\u1175\u1100\u1168\u110b\u1167\u11af\/\" target=\"_blank\" rel=\"noopener\">Matplotlib\uc5d0\uc11c \uc2dc\uacc4\uc5f4\uc744 \uadf8\ub9ac\ub294 \ubc29\ubc95<\/a><br \/> <a href=\"https:\/\/statorials.org\/ko\/\u110a\u1175\u1107\u1169\u11ab-\u1110\u1161\u110b\u1175\u11b7\u1105\u1161\u110b\u1175\u11ab\/\" target=\"_blank\" rel=\"noopener\">Seaborn\uc5d0\uc11c \uc2dc\uacc4\uc5f4\uc744 \uadf8\ub9ac\ub294 \ubc29\ubc95<\/a><br \/> <a href=\"https:\/\/statorials.org\/ko\/\u1111\u1161\u110b\u1175\u110a\u1165\u11ab-\u110f\u1161\u1103\u1173\/\" target=\"_blank\" rel=\"noopener\">Python\uc758 \uc2dc\uacc4\uc5f4\uc5d0\uc11c MAPE\ub97c \uacc4\uc0b0\ud558\ub294 \ubc29\ubc95<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc2dc\uacc4\uc5f4 \ub370\uc774\ud130\ub97c \ub9ac\uc0d8\ud50c\ub9c1\ud55c\ub2e4\ub294 \uac83\uc740 \uc0c8\ub85c\uc6b4 \uae30\uac04\uc5d0 \uac78\uccd0 \ub370\uc774\ud130\ub97c \uc9d1\uacc4\ud558\ub294 \uac83\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4. groupby \uc5f0\uc0b0\uc790\ub97c \uc0ac\uc6a9\ud558\uc5ec pandas\uc5d0\uc11c \uc2dc\uacc4\uc5f4\uc744 \ub2e4\uc2dc \uc0d8\ud50c\ub9c1\ud558\ub824\uba74 \ub2e4\uc74c \uae30\ubcf8 \uad6c\ubb38\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. group = df. groupby ([pd. Group (freq=&#8217; W &#8216;), &#8216; store &#8216;]) result = group[&#8216; sales &#8216;]. sum (). unstack (&#8216; store &#8216;). fillna (0) \uc774 \ud2b9\uc815 \uc608\ub294 \ub9e4\uc7a5 \uc5f4\ubcc4\ub85c DataFrame\uc758 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"class_list":["post-4233","post","type-post","status-publish","format-standard","hentry","category-20"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Pandas: groupby()\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2dc\uacc4\uc5f4\uc744 \ub9ac\uc0d8\ud50c\ub9c1\ud558\ub294 \ubc29\ubc95 \u2013 Statorials<\/title>\n<meta name=\"description\" content=\"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 \uc608\uc81c\ub97c \ud3ec\ud568\ud558\uc5ec groupby \uc791\uc5c5\uc744 \uc0ac\uc6a9\ud558\ub294 \ub3d9\uc548 pandas\uc5d0\uc11c \uc2dc\uacc4\uc5f4\uc744 \ub9ac\uc0d8\ud50c\ub9c1\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4.\" \/>\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\/ko\/pandas-groupby-\u1105\u1175\u1109\u1162\u11b7\u1111\u1173\u11af\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pandas: groupby()\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2dc\uacc4\uc5f4\uc744 \ub9ac\uc0d8\ud50c\ub9c1\ud558\ub294 \ubc29\ubc95 \u2013 Statorials\" \/>\n<meta property=\"og:description\" content=\"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 \uc608\uc81c\ub97c \ud3ec\ud568\ud558\uc5ec groupby \uc791\uc5c5\uc744 \uc0ac\uc6a9\ud558\ub294 \ub3d9\uc548 pandas\uc5d0\uc11c \uc2dc\uacc4\uc5f4\uc744 \ub9ac\uc0d8\ud50c\ub9c1\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/ko\/pandas-groupby-\u1105\u1175\u1109\u1162\u11b7\u1111\u1173\u11af\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-12T15:37:29+00:00\" \/>\n<meta name=\"author\" content=\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/ko\/pandas-groupby-%e1%84%85%e1%85%b5%e1%84%89%e1%85%a2%e1%86%b7%e1%84%91%e1%85%b3%e1%86%af\/\",\"url\":\"https:\/\/statorials.org\/ko\/pandas-groupby-%e1%84%85%e1%85%b5%e1%84%89%e1%85%a2%e1%86%b7%e1%84%91%e1%85%b3%e1%86%af\/\",\"name\":\"Pandas: groupby()\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2dc\uacc4\uc5f4\uc744 \ub9ac\uc0d8\ud50c\ub9c1\ud558\ub294 \ubc29\ubc95 \u2013 Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/ko\/#website\"},\"datePublished\":\"2023-07-12T15:37:29+00:00\",\"dateModified\":\"2023-07-12T15:37:29+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4\"},\"description\":\"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 \uc608\uc81c\ub97c \ud3ec\ud568\ud558\uc5ec groupby \uc791\uc5c5\uc744 \uc0ac\uc6a9\ud558\ub294 \ub3d9\uc548 pandas\uc5d0\uc11c \uc2dc\uacc4\uc5f4\uc744 \ub9ac\uc0d8\ud50c\ub9c1\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4.\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/ko\/pandas-groupby-%e1%84%85%e1%85%b5%e1%84%89%e1%85%a2%e1%86%b7%e1%84%91%e1%85%b3%e1%86%af\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/ko\/pandas-groupby-%e1%84%85%e1%85%b5%e1%84%89%e1%85%a2%e1%86%b7%e1%84%91%e1%85%b3%e1%86%af\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/ko\/pandas-groupby-%e1%84%85%e1%85%b5%e1%84%89%e1%85%a2%e1%86%b7%e1%84%91%e1%85%b3%e1%86%af\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\uc9d1\",\"item\":\"https:\/\/statorials.org\/ko\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pandas: groupby()\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2dc\uacc4\uc5f4\uc744 \ub9ac\uc0d8\ud50c\ub9c1\ud558\ub294 \ubc29\ubc95\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/ko\/#website\",\"url\":\"https:\/\/statorials.org\/ko\/\",\"name\":\"Statorials\",\"description\":\"\ud1b5\uacc4 \ud65c\uc6a9 \ub2a5\ub825\uc744 \uc704\ud55c \uac00\uc774\ub4dc!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/ko\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4\",\"name\":\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/statorials.org\/ko\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8\"},\"description\":\"\uc548\ub155\ud558\uc138\uc694. \uc800\ub294 \ud1b5\uacc4\ud559 \uad50\uc218\ub97c \ud1f4\uc9c1\ud558\uace0 \uc804\uc784 \ud1b5\uacc4 \uad50\uc0ac\ub85c \ubcc0\uc2e0\ud55c \ubca4\uc790\ubbfc\uc785\ub2c8\ub2e4. \ud1b5\uacc4 \ubd84\uc57c\uc758 \uad11\ubc94\uc704\ud55c \uacbd\ud5d8\uacfc \uc804\ubb38 \uc9c0\uc2dd\uc744 \ubc14\ud0d5\uc73c\ub85c Statorials\ub97c \ud1b5\ud574 \ud559\uc0dd\ub4e4\uc5d0\uac8c \ud798\uc744 \uc2e4\uc5b4\uc8fc\uae30 \uc704\ud574 \uc9c0\uc2dd\uc744 \uacf5\uc720\ud558\uace0 \uc2f6\uc2b5\ub2c8\ub2e4. \ub354 \uc54c\uc544\ubcf4\uae30\",\"sameAs\":[\"https:\/\/statorials.org\/ko\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pandas: groupby()\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2dc\uacc4\uc5f4\uc744 \ub9ac\uc0d8\ud50c\ub9c1\ud558\ub294 \ubc29\ubc95 \u2013 Statorials","description":"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 \uc608\uc81c\ub97c \ud3ec\ud568\ud558\uc5ec groupby \uc791\uc5c5\uc744 \uc0ac\uc6a9\ud558\ub294 \ub3d9\uc548 pandas\uc5d0\uc11c \uc2dc\uacc4\uc5f4\uc744 \ub9ac\uc0d8\ud50c\ub9c1\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4.","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\/ko\/pandas-groupby-\u1105\u1175\u1109\u1162\u11b7\u1111\u1173\u11af\/","og_locale":"ko_KR","og_type":"article","og_title":"Pandas: groupby()\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2dc\uacc4\uc5f4\uc744 \ub9ac\uc0d8\ud50c\ub9c1\ud558\ub294 \ubc29\ubc95 \u2013 Statorials","og_description":"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 \uc608\uc81c\ub97c \ud3ec\ud568\ud558\uc5ec groupby \uc791\uc5c5\uc744 \uc0ac\uc6a9\ud558\ub294 \ub3d9\uc548 pandas\uc5d0\uc11c \uc2dc\uacc4\uc5f4\uc744 \ub9ac\uc0d8\ud50c\ub9c1\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4.","og_url":"https:\/\/statorials.org\/ko\/pandas-groupby-\u1105\u1175\u1109\u1162\u11b7\u1111\u1173\u11af\/","og_site_name":"Statorials","article_published_time":"2023-07-12T15:37:29+00:00","author":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8","twitter_card":"summary_large_image","twitter_misc":{"Written by":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8","Est. reading time":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/ko\/pandas-groupby-%e1%84%85%e1%85%b5%e1%84%89%e1%85%a2%e1%86%b7%e1%84%91%e1%85%b3%e1%86%af\/","url":"https:\/\/statorials.org\/ko\/pandas-groupby-%e1%84%85%e1%85%b5%e1%84%89%e1%85%a2%e1%86%b7%e1%84%91%e1%85%b3%e1%86%af\/","name":"Pandas: groupby()\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2dc\uacc4\uc5f4\uc744 \ub9ac\uc0d8\ud50c\ub9c1\ud558\ub294 \ubc29\ubc95 \u2013 Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/ko\/#website"},"datePublished":"2023-07-12T15:37:29+00:00","dateModified":"2023-07-12T15:37:29+00:00","author":{"@id":"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4"},"description":"\uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 \uc608\uc81c\ub97c \ud3ec\ud568\ud558\uc5ec groupby \uc791\uc5c5\uc744 \uc0ac\uc6a9\ud558\ub294 \ub3d9\uc548 pandas\uc5d0\uc11c \uc2dc\uacc4\uc5f4\uc744 \ub9ac\uc0d8\ud50c\ub9c1\ud558\ub294 \ubc29\ubc95\uc744 \uc124\uba85\ud569\ub2c8\ub2e4.","breadcrumb":{"@id":"https:\/\/statorials.org\/ko\/pandas-groupby-%e1%84%85%e1%85%b5%e1%84%89%e1%85%a2%e1%86%b7%e1%84%91%e1%85%b3%e1%86%af\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/ko\/pandas-groupby-%e1%84%85%e1%85%b5%e1%84%89%e1%85%a2%e1%86%b7%e1%84%91%e1%85%b3%e1%86%af\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/ko\/pandas-groupby-%e1%84%85%e1%85%b5%e1%84%89%e1%85%a2%e1%86%b7%e1%84%91%e1%85%b3%e1%86%af\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\uc9d1","item":"https:\/\/statorials.org\/ko\/"},{"@type":"ListItem","position":2,"name":"Pandas: groupby()\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc2dc\uacc4\uc5f4\uc744 \ub9ac\uc0d8\ud50c\ub9c1\ud558\ub294 \ubc29\ubc95"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/ko\/#website","url":"https:\/\/statorials.org\/ko\/","name":"Statorials","description":"\ud1b5\uacc4 \ud65c\uc6a9 \ub2a5\ub825\uc744 \uc704\ud55c \uac00\uc774\ub4dc!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/ko\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ko-KR"},{"@type":"Person","@id":"https:\/\/statorials.org\/ko\/#\/schema\/person\/600556789b7d79cbaa9d9f0c721b74f4","name":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/statorials.org\/ko\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/ko\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\ubca4\uc790\ubbfc \uc564\ub354\uc2a8"},"description":"\uc548\ub155\ud558\uc138\uc694. \uc800\ub294 \ud1b5\uacc4\ud559 \uad50\uc218\ub97c \ud1f4\uc9c1\ud558\uace0 \uc804\uc784 \ud1b5\uacc4 \uad50\uc0ac\ub85c \ubcc0\uc2e0\ud55c \ubca4\uc790\ubbfc\uc785\ub2c8\ub2e4. \ud1b5\uacc4 \ubd84\uc57c\uc758 \uad11\ubc94\uc704\ud55c \uacbd\ud5d8\uacfc \uc804\ubb38 \uc9c0\uc2dd\uc744 \ubc14\ud0d5\uc73c\ub85c Statorials\ub97c \ud1b5\ud574 \ud559\uc0dd\ub4e4\uc5d0\uac8c \ud798\uc744 \uc2e4\uc5b4\uc8fc\uae30 \uc704\ud574 \uc9c0\uc2dd\uc744 \uacf5\uc720\ud558\uace0 \uc2f6\uc2b5\ub2c8\ub2e4. \ub354 \uc54c\uc544\ubcf4\uae30","sameAs":["https:\/\/statorials.org\/ko"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/posts\/4233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/comments?post=4233"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/posts\/4233\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/media?parent=4233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/categories?post=4233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/ko\/wp-json\/wp\/v2\/tags?post=4233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}