{"provider_url":"https://hatena.blog","description":"NumPy\u306esort\u306b\u3064\u3044\u3066\u3002 sort()\u30e1\u30bd\u30c3\u30c9 \u5185\u90e8\u3067\u914d\u5217\u3092\u30bd\u30fc\u30c8\u3002\u8fd4\u308a\u5024\u306fNone np.sort()\u95a2\u6570 \u30bd\u30fc\u30c8\u6e08\u307f\u914d\u5217\u3092\u8fd4\u3059\u3002\u5143\u306e\u914d\u5217\u306f\u4fdd\u5b58\u3002 # coding: utf-8 import numpy as np np.random.seed(1) a1 = np.random.randint(0, 100, 10) print(a1) # [37 12 72 9 75 5 79 64 16 1] a1.sort() print(a1) # [ 1 5 9 12 16 37 64 72 75 79] print(a1.sort()) # None np.random.seed(1)\u2026","published":"2017-05-12 14:48:06","height":"190","title":"NumPy\u306e\u4f7f\u3044\u65b9\uff08\uff19\uff09 \u4e26\u3079\u66ff\u3048sort\u306a\u3069","author_name":"rare_Remrin","url":"https://python-remrin.hatenadiary.jp/entry/2017/05/12/144806","blog_url":"https://python-remrin.hatenadiary.jp/","categories":["numpy","python","\u30e9\u30a4\u30d6\u30e9\u30ea"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpython-remrin.hatenadiary.jp%2Fentry%2F2017%2F05%2F12%2F144806\" title=\"NumPy\u306e\u4f7f\u3044\u65b9\uff08\uff19\uff09 \u4e26\u3079\u66ff\u3048sort\u306a\u3069 - 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>","blog_title":"Remrin\u306epython\u653b\u7565\u65e5\u8a18","width":"100%","version":"1.0","type":"rich","provider_name":"Hatena Blog","image_url":null,"author_url":"https://blog.hatena.ne.jp/rare_Remrin/"}