{"height":"190","provider_name":"Hatena Blog","blog_title":"done is better than perfect","width":"100%","version":"1.0","image_url":null,"type":"rich","provider_url":"https://hatena.blog","blog_url":"https://dibtp.hateblo.jp/","author_name":"thekoruku","published":"2015-01-20 00:58:46","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdibtp.hateblo.jp%2Fentry%2F2015%2F01%2F20%2F005846\" title=\"numpy.array\u3084scipy.sparse.lil_matrix\u306a\u3069\u3067\u6307\u5b9a\u3057\u305f\u884c\u3060\u3051\u3067\u3067\u304d\u305f\u884c\u5217\u3092\u4f5c\u308b - done is better than perfect\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u81ea\u5206\u7528\u30e1\u30e2\u66f8\u304d\uff0e\u3042\u308b\u884c\u5217\u304b\u3089\u6307\u5b9a\u3057\u305f\u884c\u3060\u3051(\u4f8b\u3048\u3070[1,3,4]\u307f\u305f\u3044\u306a\u611f\u3058\u3067\u30ea\u30b9\u30c8\u3067\u629c\u304d\u51fa\u3057\u305f\u3044\u884c\u304c\u5165\u3063\u3066\u3044\u308b\u3068\u3059\u308b)\u3067\u3067\u304d\u305f\u884c\u5217\u3092\u4f5c\u308b\uff0e In [1]: choices = [[0, 1, 2, 3], [10, 11, 12, 13], ...: [20, 21, 22, 23], [30, 31, 32, 33]] In [3]: import numpy as np In [4]: choices = np.array(choices) In [5]: choices Out[5]: array([[ 0, 1, 2, 3], [10, 11, 12, 13], [20, 21, 2\u2026","author_url":"https://blog.hatena.ne.jp/thekoruku/","title":"numpy.array\u3084scipy.sparse.lil_matrix\u306a\u3069\u3067\u6307\u5b9a\u3057\u305f\u884c\u3060\u3051\u3067\u3067\u304d\u305f\u884c\u5217\u3092\u4f5c\u308b","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"url":"https://dibtp.hateblo.jp/entry/2015/01/20/005846"}