<?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>Nanのある行、ない行を選択する。 .isnull()と.dropna()。 お互いが逆だが、返す値がちと違う。 まずは、Nanのある行を選択。 In [31]: import pandas as pd In [32]: import numpy as np In [33]: df = pd.DataFrame({'a':[1,2,np.nan,3,4],'b':[np.nan,2,3,np.nan,5]}) In [34]: df Out[34]: a b 0 1 NaN 1 2 2 2 NaN 3 3 3 NaN 4 4 5 In [35]: df.isnull() Out[35]: a …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnekoyukimmm.hatenablog.com%2Fentry%2F2016%2F03%2F04%2F224609&quot; title=&quot;&amp;lt;Python, pandas&amp;gt; Nanのある行を選択する。Nanない行を選択する。 - ねこゆきのメモ&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-03-04 22:46:09</published>
  <title>&lt;Python, pandas&gt; Nanのある行を選択する。Nanない行を選択する。</title>
  <type>rich</type>
  <url>https://nekoyukimmm.hatenablog.com/entry/2016/03/04/224609</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
