<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shigemk2</author_name>
  <author_url>https://blog.hatena.ne.jp/shigemk2/</author_url>
  <blog_title>by shigemk2</blog_title>
  <blog_url>https://www.shigemk2.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>Python map/filter こんな感じ。 &gt;&gt;&gt; items = [{&quot;id&quot;:1,&quot;name&quot;:&quot;Alice&quot;}, {&quot;id&quot;:2,&quot;name&quot;:&quot;Bob&quot;}, {&quot;id&quot;:3,&quot;name&quot;:&quot;Charles&quot;}] &gt;&gt;&gt; list(filter(lambda x: x[&quot;id&quot;], items)) [{'id': 1, 'name': 'Alice'}, {'id': 2, 'name': 'Bob'}, {'id': 3, 'name': 'Charles'}] &gt;&gt;&gt; list(map(lambda x: x[&quot;id&quot;], items)) [1, 2, 3] &gt;&gt;&gt; list(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F2017%2F12%2F24%2FPython_map%2Ffilter&quot; title=&quot;Python map/filter - by shigemk2&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-12-24 15:42:04</published>
  <title>Python map/filter</title>
  <type>rich</type>
  <url>https://www.shigemk2.com/entry/2017/12/24/Python_map/filter</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
