{"author_name":"coffee_kabu","provider_name":"Hatena Blog","description":"numpy\u306eload(\"hoge.npz\")\u3068\u304b\u3067\u30c7\u30fc\u30bf\u3092\u8aad\u307f\u8fbc\u3093\u3060\u6642\u306b\u3001\u5c0f\u6570\u70b9\u4ee5\u4e0b\u306e\u6841\u306b0\u3058\u3083\u306a\u3044\u5024\u304c\u51fa\u3066\u304d\u3066\u56f0\u3063\u305f\u30fb\u30fb\u30fb\u305d\u306e\u5024\u3092\u4ed6\u306e\u3082\u306e\u3068\u6bd4\u8f03\u3059\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u306e\u3067\u3001 \u3053\u3061\u3089\u3067\u4e38\u3081\u3066\u3001\u5bfe\u5fdc\u3057\u305fimport numpy as np b = np.around(a, 2)\u3067a\u3092\u5c0f\u6570\u70b9\u4ee5\u4e0b2\u6841\u307e\u3067\u4e38\u3081\u308b \u5c0f\u6570\u70b9\u4ee5\u4e0b\u3058\u3083\u306a\u304f\u3066\u3001\u6574\u6570\u90e8\u5206\u3092\u4f55\u6841\u304b\u3067\u4e38\u3081\u305f\u3044\u3068\u304d\u306f\u3001-2\u3068\u304b\u3092\u5165\u308c\u308c\u3070\u3044\u3044\u4ed6\u306b\u3082\u3044\u308d\u3093\u306a\u7a2e\u985e\u306e\u4e38\u3081\u304cnumpy\u306b\u306f\u5b9f\u88c5\u3055\u308c\u3066\u308b\u2193\u25a0 \u53c2\u8003 : numpy \u2013 \u6d6e\u52d5\u5c0f\u6570\u70b9\u306b\u95a2\u4fc2\u3059\u308b\u95a2\u6570\u306b\u3064\u3044\u3066\u25a0 \u53c2\u8003 : NumPy\u914d\u5217ndarray\u306e\u8868\u793a\u5f62\u5f0f\uff08\u6841\u6570\u3084\u6307\u6570\u8868\u8a18\u30010\u57cb\u3081\u306a\u3069\uff09\u3092\u6307\u5b9a \u30e9\u30f3\u30ad\u30f3\u30b0\u53c2\u52a0\u2026","type":"rich","author_url":"https://blog.hatena.ne.jp/coffee_kabu/","title":"\u3010python3, numpy\u3011\u6570\u5b57\u3092\u4e38\u3081\u308b","version":"1.0","height":"190","provider_url":"https://hatena.blog","published":"2025-12-17 00:00:00","url":"https://coffee-guhaw.hateblo.jp/entry/2025/12/17/000000","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcoffee-guhaw.hateblo.jp%2Fentry%2F2025%2F12%2F17%2F000000\" title=\"\u3010python3, numpy\u3011\u6570\u5b57\u3092\u4e38\u3081\u308b - Bus error\u3068Segmentation fault\u306b\u56f0\u3063\u305f\u3089\u898b\u308b\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","image_url":null,"blog_title":"Bus error\u3068Segmentation fault\u306b\u56f0\u3063\u305f\u3089\u898b\u308b\u30d6\u30ed\u30b0","blog_url":"https://coffee-guhaw.hateblo.jp/","categories":["python","numpy"]}