{"image_url":null,"author_name":"rare_Remrin","categories":["numpy","\u30e9\u30a4\u30d6\u30e9\u30ea","python"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpython-remrin.hatenadiary.jp%2Fentry%2F2017%2F05%2F11%2F222534\" title=\"NumPy\u306e\u4f7f\u3044\u65b9\uff08\uff16\uff09\u3000\u6761\u4ef6\u5236\u5fa1 - Remrin\u306epython\u653b\u7565\u65e5\u8a18\" 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","description":"NumPy\u306e\u6761\u4ef6\u5236\u5fa1\u306b\u3064\u3044\u3066\u3002 if\uff5eelse\u3067\u6761\u4ef6\u5206\u5c90\u3092\u3059\u308b\u3068\u304d a = 5 if a >= 0: b = 1 else: b = -1 \u3068\u66f8\u3051\u307e\u3059\u304c\u3001\u3053\u308c\u3092\uff13\u9805\u6f14\u7b97\u5b50\u3092\u4f7f\u3044\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3082\u66f8\u3051\u307e\u3059\u3002 b = 1 if a >= 0 else -1 \u4f3c\u305f\u3088\u3046\u306a\u52d5\u4f5c\u3092\u7d44\u307f\u8fbc\u307f\u306e\u30ea\u30b9\u30c8\u578b\u3067\u884c\u3046\u3068\u304d\u3001 \u4f8b\u3048\u3070\u3001True\u306a\u3089list1\u304b\u3089\u3001\u305d\u3046\u3067\u306a\u3051\u308c\u3070list2\u304b\u3089\u8981\u7d20\u3092\u9078\u3076\u3068\u304d\u3001 list1 = [1, 2, 3, 4, 5] list2 = [11, 12, 13, 14, 15] condi = [True, False, True, False, True] list3 = [x if c \u2026","width":"100%","blog_url":"https://python-remrin.hatenadiary.jp/","version":"1.0","author_url":"https://blog.hatena.ne.jp/rare_Remrin/","blog_title":"Remrin\u306epython\u653b\u7565\u65e5\u8a18","height":"190","url":"https://python-remrin.hatenadiary.jp/entry/2017/05/11/222534","title":"NumPy\u306e\u4f7f\u3044\u65b9\uff08\uff16\uff09\u3000\u6761\u4ef6\u5236\u5fa1","provider_url":"https://hatena.blog","published":"2017-05-11 22:25:34","provider_name":"Hatena Blog"}