{"blog_url":"https://sinhrks.hatenablog.com/","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","image_url":null,"categories":["pandas","Python"],"title":"Python \u3067\u30d1\u30a4\u30d7\u6f14\u7b97\u5b50\u3092\u4f7f\u3044\u305f\u3044 <2>","url":"https://sinhrks.hatenablog.com/entry/2016/10/18/074006","width":"100%","version":"1.0","blog_title":"StatsFragments","author_url":"https://blog.hatena.ne.jp/sinhrks/","published":"2016-10-18 07:40:06","height":"190","description":"\u30cd\u30bf\u8a18\u4e8b\u3067\u3059\u3002/ This is a joke post which makes no practical sense. \u904e\u53bb\u306b\u3053\u3093\u306a\u30a8\u30f3\u30c8\u30ea\u3092\u66f8\u3044\u305f\u3002 sinhrks.hatenablog.com R \u3067\u306f \u30d1\u30a4\u30d7\u6f14\u7b97\u5b50 %>% \u3092\u4f7f\u3063\u3066\u9023\u7d9a\u3057\u305f\u51e6\u7406\u3092\u8a18\u8ff0\u3067\u304d\u308b\u3002\u5f0f\u306b\u542b\u307e\u308c\u308b x, y, z \u306f\u975e\u6a19\u6e96\u8a55\u4fa1 (NSE) \u306b\u3088\u3063\u3066 data.frame \u306e\u5217\u3068\u3057\u3066\u89e3\u6c7a\u3055\u308c\u308b\u3002 # R (magrittr + dplyr) df %>% mutate(x = y + z) %>% group_by(x) %>% summarize_each(funs(sum)) Python (pandas) \u3067\u2026","author_name":"sinhrks","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsinhrks.hatenablog.com%2Fentry%2F2016%2F10%2F18%2F074006\" title=\"Python \u3067\u30d1\u30a4\u30d7\u6f14\u7b97\u5b50\u3092\u4f7f\u3044\u305f\u3044 &lt;2&gt; - StatsFragments\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}