{"description":"NumPy\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3001\u30b9\u30e9\u30a4\u30b9\u306b\u3064\u3044\u3066\u3002 \uff11\u6b21\u5143\u914d\u5217\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3001\u30b9\u30e9\u30a4\u30b9 \u5024\u306e\u53c2\u7167\uff1apython\u7d44\u307f\u8fbc\u307f\u306elist\u3068\u540c\u69d8 \u5024\u306e\u4ee3\u5165\uff1a\u307e\u3068\u3081\u3066\u540c\u3058\u5024\u304c\u4ee3\u5165\uff08\u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8\uff09 import numpy as np # \u5024\u306e\u53c2\u7167\u3001\u4ee3\u5165 a1 = np.arange(1, 10) print(a1) # [1 2 3 4 5 6 7 8 9] print(a1[3]) # 4 print(a1[3:6]) # [4 5 6] a1[3:6] = 0 # \u3059\u3079\u3066\u306e\u8981\u7d20\u306e0\u3092\u4ee3\u5165 print(a1) # [1 2 3 0 0 0 7 8 9] \u30fb[\u6ce8\u610f]\u90e8\u5206\u914d\u5217\u306f\u30b3\u30d4\u30fc\u3067\u306f\u306a\u304f\u30d3\u30e5\u30fc\u306b\u306a\u308b\u3002\u3064\u307e\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpython-remrin.hatenadiary.jp%2Fentry%2F2017%2F05%2F10%2F125930\" title=\"NumPy\u306e\u4f7f\u3044\u65b9\uff08\uff13\uff09\u3000\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3001\u30b9\u30e9\u30a4\u30b9 - 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>","version":"1.0","title":"NumPy\u306e\u4f7f\u3044\u65b9\uff08\uff13\uff09\u3000\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3001\u30b9\u30e9\u30a4\u30b9","provider_url":"https://hatena.blog","image_url":null,"width":"100%","categories":["numpy","\u30e9\u30a4\u30d6\u30e9\u30ea","python"],"url":"https://python-remrin.hatenadiary.jp/entry/2017/05/10/125930","published":"2017-05-10 12:59:30","provider_name":"Hatena Blog","blog_url":"https://python-remrin.hatenadiary.jp/","author_name":"rare_Remrin","height":"190","blog_title":"Remrin\u306epython\u653b\u7565\u65e5\u8a18","author_url":"https://blog.hatena.ne.jp/rare_Remrin/","type":"rich"}