{"author_url":"https://blog.hatena.ne.jp/derwind/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2016%2F06%2F04%2F221406\" title=\"pandas\u3059\u3052\u30fc - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"pandas\u3068\u304b - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6\u3067\u6298\u89d2\u5165\u308c\u305f\u306e\u3067\u4f7f\u3063\u3066\u307f\u305f\u3002 \u3059\u3052\u30fc\u3002\u3053\u3046\u3044\u3046\u6642\u4ee3\u306a\u306e\u304b...\u3002\u3082\u3046\u6191\u3044\u3066\u3044\u3051\u306a\u3044...\u3002 #! /usr/bin/env python # -*- coding: utf-8 -*- import numpy as np import pandas as pd import matplotlib.pyplot as plt df = pd.read_csv(\"test.csv\") print pd.crosstab(df[\"\u30b5\u30bf\u30fc\u30f3/\u30d7\u30ec\u30b9\u30c6\"], df[\"\u6027\u5225\"]) \u307f\u305f\u3044\u306a\u611f\u3058\u3067\u3055\u304f\u3063\u3068\u30af\u30ed\u30b9\u96c6\u8a08\u3067\u304d\u308b\u3002 print pd.crosstab(df[\"\u30b5\u2026","height":"190","url":"https://randommemory.hatenablog.com/entry/2016/06/04/221406","author_name":"derwind","categories":["Python","statistics"],"blog_title":"\u3089\u3093\u3060\u3080\u306a\u8a18\u61b6","version":"1.0","published":"2016-06-04 22:14:06","blog_url":"https://randommemory.hatenablog.com/","title":"pandas\u3059\u3052\u30fc","type":"rich","width":"100%","provider_url":"https://hatena.blog","image_url":null,"provider_name":"Hatena Blog"}