{"title":"NumPy\u306e\u4f7f\u3044\u65b9\uff08\uff18\uff09\u3000\u771f\u507d\u5024","provider_name":"Hatena Blog","published":"2017-05-12 12:07:53","categories":["numpy","\u30e9\u30a4\u30d6\u30e9\u30ea","python"],"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/r/rare_Remrin/20170512/20170512120642.png","blog_title":"Remrin\u306epython\u653b\u7565\u65e5\u8a18","version":"1.0","height":"190","url":"https://python-remrin.hatenadiary.jp/entry/2017/05/12/120753","blog_url":"https://python-remrin.hatenadiary.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpython-remrin.hatenadiary.jp%2Fentry%2F2017%2F05%2F12%2F120753\" title=\"NumPy\u306e\u4f7f\u3044\u65b9\uff08\uff18\uff09\u3000\u771f\u507d\u5024 - 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","width":"100%","description":"NumPy\u306e\u771f\u507d\u5024\u306b\u3064\u3044\u3066\u3002 \u30fbTrue\u3068False python\u6a19\u6e96\u306eTrue, False\u3067\u306f False \u6570\u5024\u306e\u30bc\u30ed\u3001\u7a7a\u6587\u5b57\u5217\u3001\u7a7a\u914d\u5217\u3001False True \u4ed6\u3059\u3079\u3066 True\u304cFalse\u4ee5\u5916\u3068\u3044\u3046\u3053\u3068\u306f\u3001 \u8ca0\u306e\u5024\u3001NaN\u3001inf\u3082True\u3068\u306a\u308b\u3002\u30fb\u6761\u4ef6\u304cTrue\u3068\u306a\u308b\u8981\u7d20\u306e\u78ba\u8a8d import numpy as np a1 = np.arange(8).reshape(2, 4) print(a1) # [[0 1 2 3] # [4 5 6 7]] # \uff12\u306e\u500d\u6570\u304b\u3069\u3046\u304b(1) print(a1 % 2 == 0) # [[ True False True False] # [ True\u2026","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/rare_Remrin/","author_name":"rare_Remrin"}