<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shu10038</author_name>
  <author_url>https://blog.hatena.ne.jp/shu10038/</author_url>
  <blog_title>Research Note！！</blog_title>
  <blog_url>https://publicjournal.hatenablog.com/</blog_url>
  <categories>
    <anon>Python3.X</anon>
  </categories>
  <description>In [11]: import pandas as pd In [12]: import numpy as np In [13]: df = pd.DataFrame(np.array([[1,1,1,1],[1,'A',1,'B'],[1,'A',1,'B'],[1,1,1,'B']]), columns=['C1','C2','C3','C4']) In [14]: df[df['C2']=='A'][['C2','C4']] Out[14]: C2 C4 1 A B 2 A B</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpublicjournal.hatenablog.com%2Fentry%2F2017%2F01%2F20%2F223202&quot; title=&quot;Python,Pandas:データフレーム操作 - Research Note！！&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>2017-01-20 22:32:02</published>
  <title>Python,Pandas:データフレーム操作</title>
  <type>rich</type>
  <url>https://publicjournal.hatenablog.com/entry/2017/01/20/223202</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
