<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nekoyukimmm</author_name>
  <author_url>https://blog.hatena.ne.jp/nekoyukimmm/</author_url>
  <blog_title>ねこゆきのメモ</blog_title>
  <blog_url>https://nekoyukimmm.hatenablog.com/</blog_url>
  <categories>
    <anon>pandas</anon>
    <anon>Python</anon>
  </categories>
  <description>データフレームDataFrameの１カラムColumnにある、要素elementで、 ユニークuniqueなものがいくつあるか？勘定する。 In [3]: import pandas as pd In [20]: df = pd.DataFrame({'a':[1,2,2,2,3,3],'b':[4,4,4,5,6,6]}) In [21]: df Out[21]: a b 0 1 4 1 2 4 2 2 4 3 2 5 4 3 6 5 3 6 In [23]: df.a.value_counts() Out[23]: 2 3 3 2 1 1 Name: a, dtype: int64 In …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnekoyukimmm.hatenablog.com%2Fentry%2F2016%2F02%2F12%2F101049&quot; title=&quot;&amp;lt;pandas, Python&amp;gt; データフレーム中の要素のユニークなものの個数を勘定 - ねこゆきのメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-02-12 10:10:49</published>
  <title>&lt;pandas, Python&gt; データフレーム中の要素のユニークなものの個数を勘定</title>
  <type>rich</type>
  <url>https://nekoyukimmm.hatenablog.com/entry/2016/02/12/101049</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
