<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>HK29</author_name>
  <author_url>https://blog.hatena.ne.jp/HK29/</author_url>
  <blog_title>PythonとVBAで世の中を便利にする</blog_title>
  <blog_url>https://hk29.hatenablog.jp/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>pandas</anon>
    <anon>抽出</anon>
  </categories>
  <description>'22/04/14更新：欠損値のある行を抽出したい場合を追記 指定区間内は、次のようにして抽出できます。orにしたい場合は、|（半角縦棒）です。 # 数値型の指定列の各要素について、指定区間にある値の行を全て抽出する df2 = df[(df['PRICE'] &gt;= 17) &amp; (df['PRICE'] &lt;= 25)]# 指定した列に対して、指定した値に等しい行を抽出したい場合df2 = df[df['PRICE'] == 20]# 指定した列に対して、欠損値のある行を抽出したい場合df2 = df[df['PRICE'].isnull()] 本記事では実例の雛形コードを載せました。例えば、機…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhk29.hatenablog.jp%2Fentry%2F2020%2F10%2F26%2F002029&quot; title=&quot;Python 数値型の列について、指定区間内にある値の行を全て抽出する「pandas」 - PythonとVBAで世の中を便利にする&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>https://cdn-ak.f.st-hatena.com/images/fotolife/H/HK29/20201026/20201026000726.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-10-26 00:20:29</published>
  <title>Python 数値型の列について、指定区間内にある値の行を全て抽出する「pandas」</title>
  <type>rich</type>
  <url>https://hk29.hatenablog.jp/entry/2020/10/26/002029</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
