{"description":"Python map/filter \u3053\u3093\u306a\u611f\u3058\u3002 >>> items = [{\"id\":1,\"name\":\"Alice\"}, {\"id\":2,\"name\":\"Bob\"}, {\"id\":3,\"name\":\"Charles\"}] >>> list(filter(lambda x: x[\"id\"], items)) [{'id': 1, 'name': 'Alice'}, {'id': 2, 'name': 'Bob'}, {'id': 3, 'name': 'Charles'}] >>> list(map(lambda x: x[\"id\"], items)) [1, 2, 3] >>> list(\u2026","categories":["Python"],"blog_title":"by shigemk2","image_url":null,"blog_url":"https://www.shigemk2.com/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","width":"100%","height":"190","published":"2017-12-24 15:42:04","author_name":"shigemk2","version":"1.0","author_url":"https://blog.hatena.ne.jp/shigemk2/","title":"Python map/filter","url":"https://www.shigemk2.com/entry/2017/12/24/Python_map/filter","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F2017%2F12%2F24%2FPython_map%2Ffilter\" title=\"Python map/filter - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich"}