{"author_url":"https://blog.hatena.ne.jp/chayarokurokuro/","blog_url":"https://chayarokurokuro.hatenablog.com/","provider_url":"https://hatena.blog","categories":["python","numpy","pandas","JupyterNotebook","Android","termux"],"blog_title":"\u3088\u3061\u3088\u3061python   ","title":"\u3010dir\u3068inspect\u3011Python\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u5c5e\u6027\u3001\u30e1\u30bd\u30c3\u30c9\u4e00\u89a7\u3092\u8abf\u3079\u308b\u65b9\u6cd5","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchayarokurokuro.hatenablog.com%2Fentry%2F2021%2F12%2F20%2F201334\" title=\"\u3010dir\u3068inspect\u3011Python\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u5c5e\u6027\u3001\u30e1\u30bd\u30c3\u30c9\u4e00\u89a7\u3092\u8abf\u3079\u308b\u65b9\u6cd5 - \u3088\u3061\u3088\u3061python   \" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://chayarokurokuro.hatenablog.com/entry/2021/12/20/201334","image_url":null,"published":"2021-12-20 20:13:34","author_name":"chayarokurokuro","width":"100%","provider_name":"Hatena Blog","version":"1.0","type":"rich","height":"190","description":"\u306f\u3058\u3081\u306b \u305f\u3068\u3048\u3070NumPy\u3067\u6700\u5c0f\u5024\u3084\u6700\u5927\u5024\u3092\u53d6\u5f97\u3057\u305f\u3044\u3068\u304d\u3001numpy\u914d\u5217\u30aa\u30d6\u30b8\u30a7\u30af\u30c8.min()\u3084numpy\u914d\u5217\u30aa\u30d6\u30b8\u30a7\u30af\u30c8.max()\u3092\u4f7f\u3046\u3068\u51fa\u6765\u307e\u3059\u3002 import numpy as np # \u914d\u5217 arr = np.array([1,2,3,4,5]) print(arr) # \u914d\u5217\u306e\u6700\u5c0f\u5024 print(arr.min()) # \u914d\u5217\u306e\u6700\u5927\u5024 print(arr.max()) [1 2 3 4 5] 1 5 Python\u3067\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5f8c\u308d\u306b\u300c.\u306a\u3093\u3068\u304b\u300d\u3092\u4ed8\u3051\u308c\u3070\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u8272\u3005\u306a\u5024\u3084\u64cd\u4f5c\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002 Numpy\u306b\u306fmin()\u3084max()\u4ee5\u5916\u306b\u3082\u30e1\u30bd\u30c3\u30c9\u304c\u6ca2\u2026"}