{"id":478240,"date":"2023-08-09T09:29:36","date_gmt":"2023-08-09T09:29:36","guid":{"rendered":""},"modified":"2023-09-05T11:16:20","modified_gmt":"2023-09-05T11:16:20","slug":"numpy","status":"publish","type":"wiki","link":"https:\/\/oneproxy.pro\/jp\/wiki\/numpy\/","title":{"rendered":"\u30ca\u30f3\u30d4"},"content":{"rendered":"<p>NumPy \u306f\u300cNumerical Python\u300d\u306e\u7565\u3067\u3001Python \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306e\u6570\u5024\u8a08\u7b97\u7528\u306e\u57fa\u672c\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002\u5927\u898f\u6a21\u306a\u591a\u6b21\u5143\u914d\u5217\u3068\u884c\u5217\u306e\u30b5\u30dd\u30fc\u30c8\u306b\u52a0\u3048\u3001\u3053\u308c\u3089\u306e\u914d\u5217\u3092\u52b9\u7387\u7684\u306b\u64cd\u4f5c\u3059\u308b\u305f\u3081\u306e\u6570\u5b66\u95a2\u6570\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002NumPy \u306f\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9 \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u3042\u308a\u3001\u30c7\u30fc\u30bf \u30b5\u30a4\u30a8\u30f3\u30b9\u3001\u6a5f\u68b0\u5b66\u7fd2\u3001\u79d1\u5b66\u7814\u7a76\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0\u306a\u3069\u306e\u3055\u307e\u3056\u307e\u306a\u5206\u91ce\u3067\u91cd\u8981\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u30022005 \u5e74\u306b\u521d\u3081\u3066\u5c0e\u5165\u3055\u308c\u3066\u4ee5\u6765\u3001Python \u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u3067\u6700\u3082\u5e83\u304f\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u306e 1 \u3064\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>NumPy\u306e\u8d77\u6e90\u3068\u305d\u306e\u6700\u521d\u306e\u8a00\u53ca\u306e\u6b74\u53f2<\/h2>\n<p>NumPy \u306f\u3001Python \u3067\u3088\u308a\u52b9\u7387\u7684\u306a\u914d\u5217\u51e6\u7406\u6a5f\u80fd\u3092\u5b9f\u73fe\u3057\u305f\u3044\u3068\u3044\u3046\u8981\u671b\u304b\u3089\u751f\u307e\u308c\u307e\u3057\u305f\u3002NumPy \u306e\u57fa\u790e\u306f\u30011995 \u5e74\u306b Numeric \u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f5c\u6210\u3057\u305f Jim Hugunin \u306b\u3088\u3063\u3066\u7bc9\u304b\u308c\u307e\u3057\u305f\u3002Numeric \u306f Python \u306e\u6700\u521d\u306e\u914d\u5217\u51e6\u7406\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3042\u308a\u3001NumPy \u306e\u524d\u8eab\u3068\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>2005 \u5e74\u3001\u79d1\u5b66 Python \u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306e\u958b\u767a\u8005\u3067\u3042\u308b Travis Oliphant \u6c0f\u306f\u3001Numeric \u306e\u512a\u308c\u305f\u6a5f\u80fd\u3068\u300cnumarray\u300d\u3068\u547c\u3070\u308c\u308b\u5225\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3001NumPy \u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u65b0\u3057\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3001\u4ee5\u524d\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5236\u9650\u306b\u5bfe\u51e6\u3057\u3001Python \u958b\u767a\u8005\u306b\u5f37\u529b\u306a\u914d\u5217\u64cd\u4f5c\u30c4\u30fc\u30eb\u30bb\u30c3\u30c8\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3092\u76ee\u7684\u3068\u3057\u3066\u3044\u307e\u3057\u305f\u3002\u305d\u306e\u5c0e\u5165\u306b\u3088\u308a\u3001NumPy \u306f\u7814\u7a76\u8005\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u3001\u30c7\u30fc\u30bf \u30b5\u30a4\u30a8\u30f3\u30c6\u30a3\u30b9\u30c8\u306e\u9593\u3067\u6025\u901f\u306b\u4eba\u6c17\u3068\u8a8d\u77e5\u5ea6\u3092\u7372\u5f97\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>NumPy \u306b\u95a2\u3059\u308b\u8a73\u7d30\u60c5\u5831\u3002\u30c8\u30d4\u30c3\u30af NumPy \u3092\u62e1\u5f35\u3057\u307e\u3059\u3002<\/h2>\n<p>NumPy \u306f\u5358\u306a\u308b\u914d\u5217\u51e6\u7406\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002SciPy\u3001Pandas\u3001Matplotlib\u3001scikit-learn \u306a\u3069\u3001\u3055\u307e\u3056\u307e\u306a\u4ed6\u306e Python \u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d0\u30c3\u30af\u30dc\u30fc\u30f3\u3068\u3057\u3066\u6a5f\u80fd\u3057\u307e\u3059\u3002NumPy \u306e\u4e3b\u306a\u7279\u5fb4\u3068\u6a5f\u80fd\u306b\u306f\u6b21\u306e\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u52b9\u7387\u7684\u306a\u914d\u5217\u64cd\u4f5c<\/strong>NumPy \u306f\u3001\u914d\u5217\u306b\u5bfe\u3057\u3066\u8981\u7d20\u3054\u3068\u306e\u64cd\u4f5c\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306e\u5e83\u7bc4\u306a\u95a2\u6570\u30bb\u30c3\u30c8\u3092\u63d0\u4f9b\u3057\u3001\u6570\u5b66\u6f14\u7b97\u3068\u30c7\u30fc\u30bf\u64cd\u4f5c\u3092\u3088\u308a\u9ad8\u901f\u304b\u3064\u7c21\u6f54\u306b\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u591a\u6b21\u5143\u914d\u5217\u306e\u30b5\u30dd\u30fc\u30c8<\/strong>NumPy \u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u591a\u6b21\u5143\u914d\u5217\u3092\u64cd\u4f5c\u3067\u304d\u308b\u305f\u3081\u3001\u5927\u898f\u6a21\u306a\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3084\u8907\u96d1\u306a\u6570\u5b66\u8a08\u7b97\u3092\u52b9\u7387\u7684\u306b\u51e6\u7406\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u653e\u9001<\/strong>NumPy \u306e\u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8\u6a5f\u80fd\u306b\u3088\u308a\u3001\u7570\u306a\u308b\u5f62\u72b6\u306e\u914d\u5217\u9593\u3067\u306e\u64cd\u4f5c\u304c\u53ef\u80fd\u306b\u306a\u308a\u3001\u660e\u793a\u7684\u306a\u30eb\u30fc\u30d7\u306e\u5fc5\u8981\u6027\u304c\u6e1b\u308a\u3001\u30b3\u30fc\u30c9\u306e\u8aad\u307f\u3084\u3059\u3055\u304c\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u6570\u5b66\u95a2\u6570<\/strong>NumPy \u306f\u3001\u57fa\u672c\u7684\u306a\u7b97\u8853\u6f14\u7b97\u3001\u4e09\u89d2\u95a2\u6570\u3001\u5bfe\u6570\u95a2\u6570\u3001\u7d71\u8a08\u95a2\u6570\u3001\u7dda\u5f62\u4ee3\u6570\u6f14\u7b97\u306a\u3069\u3001\u5e45\u5e83\u3044\u6570\u5b66\u95a2\u6570\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u914d\u5217\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3068\u30b9\u30e9\u30a4\u30b9<\/strong>NumPy \u306f\u9ad8\u5ea6\u306a\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u4f5c\u6210\u6280\u8853\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u304a\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u7279\u5b9a\u306e\u8981\u7d20\u307e\u305f\u306f\u914d\u5217\u306e\u30b5\u30d6\u30bb\u30c3\u30c8\u306b\u3059\u3070\u3084\u304f\u30a2\u30af\u30bb\u30b9\u3057\u3066\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>C\/C++\u304a\u3088\u3073Fortran\u3068\u306e\u7d71\u5408<\/strong>NumPy \u306f\u3001C\u3001C++\u3001Fortran \u3067\u8a18\u8ff0\u3055\u308c\u305f\u30b3\u30fc\u30c9\u3068\u30b7\u30fc\u30e0\u30ec\u30b9\u306b\u7d71\u5408\u3059\u308b\u3088\u3046\u306b\u8a2d\u8a08\u3055\u308c\u3066\u304a\u308a\u3001\u30e6\u30fc\u30b6\u30fc\u306f Python \u306e\u4f7f\u3044\u3084\u3059\u3055\u3068\u4f4e\u30ec\u30d9\u30eb\u8a00\u8a9e\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u6700\u9069\u5316<\/strong>NumPy \u306e\u30b3\u30a2\u306f C \u3067\u5b9f\u88c5\u3055\u308c\u3066\u304a\u308a\u3001\u52b9\u7387\u7684\u306a\u30e1\u30e2\u30ea\u7ba1\u7406\u304c\u53ef\u80fd\u306b\u306a\u308a\u3001\u6570\u5024\u8a08\u7b97\u306e\u5b9f\u884c\u6642\u9593\u304c\u77ed\u7e2e\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u76f8\u4e92\u904b\u7528\u6027<\/strong>NumPy \u306f Python \u5185\u306e\u4ed6\u306e\u30c7\u30fc\u30bf\u69cb\u9020\u3068\u30b7\u30fc\u30e0\u30ec\u30b9\u306b\u3084\u308a\u53d6\u308a\u3067\u304d\u3001\u5916\u90e8\u30e9\u30a4\u30d6\u30e9\u30ea\u3084\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f\u3068\u306e\u30c7\u30fc\u30bf\u4ea4\u63db\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>NumPy \u306e\u5185\u90e8\u69cb\u9020\u3002NumPy \u306e\u4ed5\u7d44\u307f\u3002<\/h2>\n<p>NumPy \u306e\u5185\u90e8\u69cb\u9020\u306f\u3001\u305d\u306e\u30b3\u30a2 \u30c7\u30fc\u30bf\u69cb\u9020\u3067\u3042\u308b ndarray (n \u6b21\u5143\u914d\u5217) \u3092\u4e2d\u5fc3\u306b\u5c55\u958b\u3055\u308c\u307e\u3059\u3002ndarray \u306f\u3001\u540c\u3058\u30c7\u30fc\u30bf\u578b\u306e\u8981\u7d20\u3092\u683c\u7d0d\u3059\u308b\u540c\u7a2e\u914d\u5217\u3067\u3059\u3002\u3053\u308c\u306f\u3059\u3079\u3066\u306e NumPy \u64cd\u4f5c\u306e\u57fa\u790e\u3067\u3042\u308a\u3001Python \u30ea\u30b9\u30c8\u306b\u6bd4\u3079\u3066\u6b21\u306e\u3088\u3046\u306a\u5927\u304d\u306a\u5229\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u9ad8\u901f\u30a2\u30af\u30bb\u30b9\u3068\u64cd\u4f5c\u306e\u305f\u3081\u306e\u9023\u7d9a\u3057\u305f\u30e1\u30e2\u30ea\u30d6\u30ed\u30c3\u30af<\/li>\n<li>\u8981\u7d20\u3054\u3068\u306e\u64cd\u4f5c\u306e\u305f\u3081\u306e\u52b9\u7387\u7684\u306a\u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8<\/li>\n<li>\u30d9\u30af\u30c8\u30eb\u5316\u3055\u308c\u305f\u64cd\u4f5c\u306b\u3088\u308a\u3001\u660e\u793a\u7684\u306a\u30eb\u30fc\u30d7\u304c\u4e0d\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u5185\u90e8\u7684\u306b\u306f\u3001NumPy \u306f\u914d\u5217\u51e6\u7406\u306e\u91cd\u8981\u306a\u90e8\u5206\u306b C \u304a\u3088\u3073 C++ \u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u7d14\u7c8b\u306a Python \u5b9f\u88c5\u306b\u6bd4\u3079\u3066\u5927\u5e45\u306b\u9ad8\u901f\u5316\u3055\u308c\u3066\u3044\u307e\u3059\u3002NumPy \u306f\u3001\u6700\u9069\u5316\u3055\u308c\u305f\u7dda\u5f62\u4ee3\u6570\u8a08\u7b97\u306e\u305f\u3081\u306b BLAS (Basic Linear Algebra Subprograms) \u304a\u3088\u3073 LAPACK (Linear Algebra PACKage) \u30e9\u30a4\u30d6\u30e9\u30ea\u3082\u6d3b\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>NumPy \u306e\u914d\u5217\u3068\u6f14\u7b97\u306e\u5b9f\u88c5\u306f\u3001\u512a\u308c\u305f\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306b\u614e\u91cd\u306b\u6700\u9069\u5316\u3055\u308c\u3066\u304a\u308a\u3001\u5927\u898f\u6a21\u306a\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3084\u8a08\u7b97\u96c6\u7d04\u578b\u306e\u30bf\u30b9\u30af\u3092\u51e6\u7406\u3059\u308b\u5834\u5408\u306b\u6700\u9069\u3067\u3059\u3002<\/p>\n<h2>NumPy \u306e\u4e3b\u306a\u6a5f\u80fd\u306e\u5206\u6790\u3002<\/h2>\n<p>NumPy \u306e\u4e3b\u306a\u6a5f\u80fd\u306b\u3088\u308a\u3001NumPy \u306f\u3055\u307e\u3056\u307e\u306a\u79d1\u5b66\u304a\u3088\u3073\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0 \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u6b20\u304b\u305b\u306a\u3044\u30c4\u30fc\u30eb\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u6700\u3082\u91cd\u8981\u306a\u5229\u70b9\u306e\u3044\u304f\u3064\u304b\u3092\u8a73\u3057\u304f\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u52b9\u7387<\/strong>NumPy \u306e\u914d\u5217\u64cd\u4f5c\u306f\u9ad8\u5ea6\u306b\u6700\u9069\u5316\u3055\u308c\u3066\u304a\u308a\u3001\u5f93\u6765\u306e Python \u30ea\u30b9\u30c8\u3084\u30eb\u30fc\u30d7\u306b\u6bd4\u3079\u3066\u5b9f\u884c\u6642\u9593\u304c\u77ed\u7e2e\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30a2\u30ec\u30a4\u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8<\/strong>: \u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8\u306b\u3088\u308a\u3001NumPy \u306f\u3055\u307e\u3056\u307e\u306a\u5f62\u72b6\u306e\u914d\u5217\u306b\u5bfe\u3057\u3066\u8981\u7d20\u3054\u3068\u306e\u64cd\u4f5c\u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u3001\u7c21\u6f54\u3067\u8aad\u307f\u3084\u3059\u3044\u30b3\u30fc\u30c9\u304c\u5b9f\u73fe\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30e1\u30e2\u30ea\u52b9\u7387<\/strong>NumPy \u914d\u5217\u306f\u9023\u7d9a\u3057\u305f\u30e1\u30e2\u30ea \u30d6\u30ed\u30c3\u30af\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u3001\u30aa\u30fc\u30d0\u30fc\u30d8\u30c3\u30c9\u304c\u524a\u6e1b\u3055\u308c\u3001\u52b9\u7387\u7684\u306a\u30e1\u30e2\u30ea\u4f7f\u7528\u304c\u4fdd\u8a3c\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u76f8\u4e92\u904b\u7528\u6027<\/strong>NumPy \u306f Python \u306e\u4ed6\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3084\u30c7\u30fc\u30bf\u69cb\u9020\u3068\u30b7\u30fc\u30e0\u30ec\u30b9\u306b\u7d71\u5408\u3067\u304d\u308b\u305f\u3081\u3001\u79d1\u5b66\u8a08\u7b97\u30c4\u30fc\u30eb\u306e\u8c4a\u5bcc\u306a\u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30d9\u30af\u30c8\u30eb\u5316\u3055\u308c\u305f\u64cd\u4f5c<\/strong>NumPy \u306f\u30d9\u30af\u30c8\u30eb\u5316\u3055\u308c\u305f\u64cd\u4f5c\u3092\u63a8\u5968\u3057\u3066\u304a\u308a\u3001\u660e\u793a\u7684\u306a\u30eb\u30fc\u30d7\u306e\u5fc5\u8981\u6027\u304c\u306a\u304f\u306a\u308a\u3001\u3088\u308a\u7c21\u6f54\u3067\u4fdd\u5b88\u3057\u3084\u3059\u3044\u30b3\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u6570\u5b66\u95a2\u6570<\/strong>NumPy \u306e\u5e83\u7bc4\u306a\u6570\u5b66\u95a2\u6570\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306f\u3001\u7279\u306b\u7dda\u5f62\u4ee3\u6570\u3068\u7d71\u8a08\u306b\u304a\u3051\u308b\u8907\u96d1\u306a\u8a08\u7b97\u3092\u7c21\u7d20\u5316\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30c7\u30fc\u30bf\u5206\u6790\u3068\u8996\u899a\u5316<\/strong>NumPy \u306f\u30c7\u30fc\u30bf\u5206\u6790\u3068\u8996\u899a\u5316\u306b\u304a\u3044\u3066\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u63a2\u7d22\u3068\u5206\u6790\u3092\u5bb9\u6613\u306b\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>NumPy\u914d\u5217\u306e\u7a2e\u985e<\/h2>\n<p>NumPy \u306f\u3001\u3055\u307e\u3056\u307e\u306a\u30c7\u30fc\u30bf\u8981\u4ef6\u306b\u5bfe\u5fdc\u3059\u308b\u305f\u3081\u306b\u3055\u307e\u3056\u307e\u306a\u7a2e\u985e\u306e\u914d\u5217\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u6700\u3082\u3088\u304f\u4f7f\u7528\u3055\u308c\u308b\u30bf\u30a4\u30d7\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>ndarray<\/strong>: \u8907\u6570\u306e\u6b21\u5143\u3067\u540c\u3058\u30c7\u30fc\u30bf\u578b\u306e\u8981\u7d20\u3092\u4fdd\u6301\u3067\u304d\u308b\u4e3b\u8981\u306a\u914d\u5217\u578b\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u69cb\u9020\u5316\u914d\u5217<\/strong>: \u7570\u7a2e\u306e\u30c7\u30fc\u30bf\u578b\u3092\u4fdd\u6301\u3067\u304d\u308b\u914d\u5217\u3002\u69cb\u9020\u5316\u914d\u5217\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u69cb\u9020\u5316\u30c7\u30fc\u30bf\u3092\u52b9\u7387\u7684\u306b\u51e6\u7406\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30de\u30b9\u30af\u3055\u308c\u305f\u914d\u5217<\/strong>: \u6b20\u843d\u3057\u305f\u30c7\u30fc\u30bf\u3084\u7121\u52b9\u306a\u30c7\u30fc\u30bf\u3092\u8a31\u5bb9\u3059\u308b\u914d\u5217\u3002\u30c7\u30fc\u30bf\u306e\u30af\u30ea\u30fc\u30cb\u30f3\u30b0\u3084\u4e0d\u5b8c\u5168\u306a\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u51e6\u7406\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30ec\u30b3\u30fc\u30c9\u914d\u5217<\/strong>: \u5404\u8981\u7d20\u306b\u540d\u524d\u4ed8\u304d\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u63d0\u4f9b\u3057\u3001\u3088\u308a\u4fbf\u5229\u306a\u30c7\u30fc\u30bf \u30a2\u30af\u30bb\u30b9\u3092\u53ef\u80fd\u306b\u3059\u308b\u69cb\u9020\u5316\u914d\u5217\u306e\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30d3\u30e5\u30fc\u3068\u30b3\u30d4\u30fc<\/strong>: NumPy \u914d\u5217\u306b\u306f\u30d3\u30e5\u30fc\u307e\u305f\u306f\u30b3\u30d4\u30fc\u304c\u3042\u308a\u3001\u30c7\u30fc\u30bf\u306e\u30a2\u30af\u30bb\u30b9\u65b9\u6cd5\u3084\u5909\u66f4\u65b9\u6cd5\u306b\u5f71\u97ff\u3057\u307e\u3059\u3002\u30d3\u30e5\u30fc\u306f\u540c\u3058\u57fa\u790e\u30c7\u30fc\u30bf\u3092\u53c2\u7167\u3057\u307e\u3059\u304c\u3001\u30b3\u30d4\u30fc\u306f\u500b\u5225\u306e\u30c7\u30fc\u30bf \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>NumPy\u306e\u4f7f\u3044\u65b9\u3001\u4f7f\u7528\u4e0a\u306e\u554f\u984c\u3068\u305d\u306e\u89e3\u6c7a\u7b56<\/h2>\n<p>NumPy \u3092\u52b9\u679c\u7684\u306b\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u305d\u306e\u30b3\u30a2\u6a5f\u80fd\u3092\u7406\u89e3\u3057\u3001\u30d9\u30b9\u30c8 \u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u3092\u63a1\u7528\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4e00\u822c\u7684\u306a\u8ab2\u984c\u3068\u305d\u306e\u89e3\u6c7a\u7b56\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u30e1\u30e2\u30ea\u4f7f\u7528\u91cf<\/strong>: NumPy \u914d\u5217\u306f\u3001\u7279\u306b\u5927\u898f\u6a21\u306a\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u5834\u5408\u3001\u5927\u91cf\u306e\u30e1\u30e2\u30ea\u3092\u6d88\u8cbb\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3092\u8efd\u6e1b\u3059\u308b\u306b\u306f\u3001\u30c7\u30fc\u30bf\u5727\u7e2e\u6280\u8853\u3092\u4f7f\u7528\u3059\u308b\u304b\u3001NumPy \u306e\u30e1\u30e2\u30ea\u30de\u30c3\u30d7\u914d\u5217\u3092\u4f7f\u7528\u3057\u3066\u30c7\u30a3\u30b9\u30af\u4e0a\u306e\u30c7\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u3092\u691c\u8a0e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u30dc\u30c8\u30eb\u30cd\u30c3\u30af<\/strong>: NumPy \u306e\u7279\u5b9a\u306e\u64cd\u4f5c\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u4f5c\u6210\u3057\u305f\u30b3\u30fc\u30c9\u306e\u975e\u52b9\u7387\u6027\u306b\u3088\u308a\u9045\u304f\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u30d9\u30af\u30c8\u30eb\u5316\u3055\u308c\u305f\u64cd\u4f5c\u3092\u5229\u7528\u3057\u3001\u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8\u3092\u5229\u7528\u3059\u308b\u3068\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u5927\u5e45\u306b\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30c7\u30fc\u30bf\u306e\u30af\u30ea\u30fc\u30cb\u30f3\u30b0\u3068\u6b20\u640d\u5024<\/strong>: \u6b20\u640d\u5024\u306e\u3042\u308b\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u5834\u5408\u3001NumPy \u306e\u30de\u30b9\u30af\u3055\u308c\u305f\u914d\u5217\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u6b20\u640d\u30c7\u30fc\u30bf\u3084\u7121\u52b9\u306a\u30c7\u30fc\u30bf\u3092\u52b9\u679c\u7684\u306b\u51e6\u7406\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u914d\u5217\u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8\u30a8\u30e9\u30fc<\/strong>: \u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8\u3092\u8aa4\u3063\u3066\u4f7f\u7528\u3059\u308b\u3068\u3001\u4e88\u671f\u3057\u306a\u3044\u7d50\u679c\u304c\u751f\u3058\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8\u95a2\u9023\u306e\u554f\u984c\u3092\u30c7\u30d0\u30c3\u30b0\u3059\u308b\u306b\u306f\u3001\u914d\u5217\u306e\u5f62\u72b6\u3068\u6b21\u5143\u3092\u614e\u91cd\u306b\u8abf\u3079\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u304c\u3088\u304f\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u6570\u5024\u7cbe\u5ea6<\/strong>NumPy \u306f\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u306b\u6709\u9650\u7cbe\u5ea6\u306e\u8868\u73fe\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u3001\u7279\u5b9a\u306e\u8a08\u7b97\u3067\u4e38\u3081\u8aa4\u5dee\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u91cd\u8981\u306a\u8a08\u7b97\u3092\u5b9f\u884c\u3059\u308b\u3068\u304d\u306f\u3001\u6570\u5024\u306e\u7cbe\u5ea6\u306b\u6ce8\u610f\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u4e3b\u306a\u7279\u5fb4\u3068\u305d\u306e\u4ed6\u306e\u985e\u4f3c\u7528\u8a9e\u3068\u306e\u6bd4\u8f03\u3092\u8868\u3068\u30ea\u30b9\u30c8\u306e\u5f62\u5f0f\u3067\u793a\u3057\u307e\u3059\u3002<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u7279\u5fb4<\/th>\n<th>\u30ca\u30f3\u30d4<\/th>\n<th>Python \u306e\u30ea\u30b9\u30c8<\/th>\n<th>NumPy \u3068\u30ea\u30b9\u30c8<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30c7\u30fc\u30bf\u69cb\u9020<\/td>\n<td>ndarray (\u591a\u6b21\u5143\u914d\u5217)<\/td>\n<td>\u30ea\u30b9\u30c8\uff081\u6b21\u5143\u914d\u5217\uff09<\/td>\n<td>NumPy \u914d\u5217\u306f\u8907\u6570\u306e\u6b21\u5143\u3092\u6301\u3064\u3053\u3068\u304c\u3067\u304d\u308b\u305f\u3081\u3001\u8907\u96d1\u306a\u30c7\u30fc\u30bf\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002\u30ea\u30b9\u30c8\u306f 1 \u6b21\u5143\u3067\u3042\u308b\u305f\u3081\u3001\u79d1\u5b66\u8a08\u7b97\u3067\u306e\u4f7f\u7528\u306f\u5236\u9650\u3055\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9<\/td>\n<td>\u52b9\u7387\u7684\u306a\u914d\u5217\u64cd\u4f5c<\/td>\n<td>Python\u306e\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u578b\u306e\u6027\u8cea\u306b\u3088\u308a\u9045\u3044<\/td>\n<td>NumPy \u306e\u914d\u5217\u64cd\u4f5c\u306f\u6700\u9069\u5316\u3055\u308c\u3066\u304a\u308a\u3001\u30ea\u30b9\u30c8\u306b\u6bd4\u3079\u3066\u8a08\u7b97\u304c\u5927\u5e45\u306b\u9ad8\u901f\u5316\u3055\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u653e\u9001<\/td>\n<td>\u8981\u7d20\u3054\u3068\u306e\u64cd\u4f5c\u306e\u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8\u3092\u30b5\u30dd\u30fc\u30c8<\/td>\n<td>\u653e\u9001\u306f\u76f4\u63a5\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093<\/td>\n<td>\u30d6\u30ed\u30fc\u30c9\u30ad\u30e3\u30b9\u30c8\u306b\u3088\u308a\u3001\u8981\u7d20\u3054\u3068\u306e\u64cd\u4f5c\u304c\u7c21\u7d20\u5316\u3055\u308c\u3001\u660e\u793a\u7684\u306a\u30eb\u30fc\u30d7\u306e\u5fc5\u8981\u6027\u304c\u8efd\u6e1b\u3055\u308c\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u6570\u5b66\u95a2\u6570<\/td>\n<td>\u8c4a\u5bcc\u306a\u6570\u5b66\u95a2\u6570\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3<\/td>\n<td>\u6570\u5b66\u7684\u6a5f\u80fd\u304c\u5236\u9650\u3055\u308c\u3066\u3044\u308b<\/td>\n<td>NumPy \u306f\u79d1\u5b66\u8a08\u7b97\u306e\u305f\u3081\u306e\u5e45\u5e83\u3044\u6570\u5b66\u95a2\u6570\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u30e1\u30e2\u30ea\u4f7f\u7528\u7387<\/td>\n<td>\u52b9\u7387\u7684\u306a\u30e1\u30e2\u30ea\u7ba1\u7406<\/td>\n<td>\u975e\u52b9\u7387\u7684\u306a\u30e1\u30e2\u30ea\u4f7f\u7528<\/td>\n<td>NumPy \u306e\u9023\u7d9a\u3057\u305f\u30e1\u30e2\u30ea \u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u3088\u308a\u3001\u52b9\u7387\u7684\u306a\u30e1\u30e2\u30ea\u5229\u7528\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u591a\u6b21\u5143\u30b9\u30e9\u30a4\u30b9<\/td>\n<td>\u9ad8\u5ea6\u306a\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u4f5c\u6210\u3068\u30b9\u30e9\u30a4\u30b9\u3092\u30b5\u30dd\u30fc\u30c8<\/td>\n<td>\u30b9\u30e9\u30a4\u30b9\u6a5f\u80fd\u304c\u5236\u9650\u3055\u308c\u3066\u3044\u308b<\/td>\n<td>NumPy \u306e\u9ad8\u5ea6\u306a\u30b9\u30e9\u30a4\u30b9\u306b\u3088\u308a\u3001\u591a\u69d8\u306a\u30c7\u30fc\u30bf \u30a2\u30af\u30bb\u30b9\u3068\u64cd\u4f5c\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>NumPy\u306b\u95a2\u3059\u308b\u5c06\u6765\u306e\u5c55\u671b\u3068\u6280\u8853<\/h2>\n<p>NumPy \u306f\u3001\u30c7\u30fc\u30bf \u30b5\u30a4\u30a8\u30f3\u30b9\u3068\u79d1\u5b66\u8a08\u7b97\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306e\u57fa\u672c\u7684\u306a\u30c4\u30fc\u30eb\u3067\u3042\u308a\u7d9a\u3051\u3066\u3044\u307e\u3059\u3002NumPy \u306f\u5e83\u304f\u63a1\u7528\u3055\u308c\u3066\u304a\u308a\u3001\u958b\u767a\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u3082\u6d3b\u767a\u3067\u3042\u308b\u305f\u3081\u3001\u4eca\u5f8c\u3082 Python \u30a8\u30b3\u30b7\u30b9\u30c6\u30e0\u306e\u91cd\u8981\u306a\u30d7\u30ec\u30fc\u30e4\u30fc\u3067\u3042\u308a\u7d9a\u3051\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u6280\u8853\u306e\u9032\u5316\u306b\u4f34\u3044\u3001NumPy \u306f\u65b0\u3057\u3044\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2 \u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u3092\u63a1\u7528\u3057\u3001\u3088\u308a\u512a\u308c\u305f\u4e26\u5217\u5316\u3068\u6700\u65b0\u306e\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u6a5f\u80fd\u306e\u6d3b\u7528\u304c\u53ef\u80fd\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3068\u6570\u5024\u624b\u6cd5\u306e\u5f37\u5316\u306b\u3088\u308a\u3001NumPy \u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3068\u52b9\u7387\u304c\u3055\u3089\u306b\u5411\u4e0a\u3057\u307e\u3059\u3002<\/p>\n<p>\u6a5f\u68b0\u5b66\u7fd2\u3068\u4eba\u5de5\u77e5\u80fd\u3078\u306e\u95a2\u5fc3\u304c\u9ad8\u307e\u308b\u4e2d\u3001NumPy \u306f\u9ad8\u5ea6\u306a\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u958b\u767a\u3068\u6700\u9069\u5316\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u4e0a\u3067\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3059\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u52b9\u7387\u7684\u306a\u30c7\u30fc\u30bf\u51e6\u7406\u3068\u6570\u5024\u8a08\u7b97\u3092\u4fc3\u9032\u3059\u308b\u9ad8\u30ec\u30d9\u30eb\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u30d0\u30c3\u30af\u30dc\u30fc\u30f3\u3067\u3042\u308a\u7d9a\u3051\u308b\u3053\u3068\u304c\u671f\u5f85\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u30fc\u3092NumPy\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3084NumPy\u3068\u95a2\u9023\u4ed8\u3051\u308b\u65b9\u6cd5<\/h2>\n<p>\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 \u30c7\u30d0\u30a4\u30b9\u3068 Web \u30b5\u30fc\u30d0\u30fc\u9593\u306e\u4ef2\u4ecb\u5f79\u3068\u3057\u3066\u6a5f\u80fd\u3057\u3001\u533f\u540d\u6027\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3001\u30b3\u30f3\u30c6\u30f3\u30c4 \u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u306a\u3069\u306e\u3055\u307e\u3056\u307e\u306a\u5229\u70b9\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002NumPy \u81ea\u4f53\u306f\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306b\u76f4\u63a5\u95a2\u4fc2\u3057\u3066\u3044\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001NumPy \u3092\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u7528\u3059\u308b\u3068\u4fbf\u5229\u306a\u30b7\u30ca\u30ea\u30aa\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u30d7\u30ed\u30ad\u30b7\u30ed\u30b0\u306e\u30c7\u30fc\u30bf\u5206\u6790<\/strong>: \u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u30e6\u30fc\u30b6\u30fc \u30a2\u30af\u30c6\u30a3\u30d3\u30c6\u30a3 \u30c7\u30fc\u30bf\u3092\u542b\u3080\u30ed\u30b0 \u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3057\u307e\u3059\u3002NumPy \u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u3053\u308c\u3089\u306e\u30ed\u30b0\u3092\u52b9\u7387\u7684\u306b\u51e6\u7406\u304a\u3088\u3073\u5206\u6790\u3057\u3001\u6d1e\u5bdf\u3092\u62bd\u51fa\u3057\u3066\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u52d5\u4f5c\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u7279\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u52b9\u7387\u7684\u306a\u30c7\u30fc\u30bf\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0<\/strong>: \u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u591a\u304f\u306e\u5834\u5408\u3001Web \u30da\u30fc\u30b8\u304b\u3089\u4e0d\u8981\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u30d5\u30a3\u30eb\u30bf\u30fc\u51e6\u7406\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002NumPy \u306e\u914d\u5217\u30d5\u30a3\u30eb\u30bf\u30fc\u51e6\u7406\u6a5f\u80fd\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u3053\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u52b9\u7387\u5316\u3057\u3001\u5168\u4f53\u7684\u306a\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u5411\u4e0a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u306e\u7d71\u8a08\u5206\u6790<\/strong>NumPy \u306f\u3001\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306b\u3088\u3063\u3066\u53ce\u96c6\u3055\u308c\u305f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af \u30c8\u30e9\u30d5\u30a3\u30c3\u30af \u30c7\u30fc\u30bf\u306e\u5206\u6790\u3092\u652f\u63f4\u3057\u3001\u7ba1\u7406\u8005\u304c\u7570\u5e38\u306a\u30d1\u30bf\u30fc\u30f3\u3084\u6f5c\u5728\u7684\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u8105\u5a01\u3092\u8b58\u5225\u3057\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u6700\u9069\u5316\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u30d7\u30ed\u30ad\u30b7\u7ba1\u7406\u306e\u305f\u3081\u306e\u6a5f\u68b0\u5b66\u7fd2<\/strong>: NumPy \u306f\u3001\u3055\u307e\u3056\u307e\u306a\u6a5f\u68b0\u5b66\u7fd2\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u91cd\u8981\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u3059\u3002\u30d7\u30ed\u30ad\u30b7 \u30d7\u30ed\u30d0\u30a4\u30c0\u30fc\u306f\u3001\u6a5f\u68b0\u5b66\u7fd2\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u4f7f\u7528\u3057\u3066\u3001\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306e\u7ba1\u7406\u3092\u6700\u9069\u5316\u3057\u3001\u30ea\u30bd\u30fc\u30b9\u3092\u52b9\u7387\u7684\u306b\u5272\u308a\u5f53\u3066\u3001\u6f5c\u5728\u7684\u306a\u4e0d\u6b63\u4f7f\u7528\u3092\u691c\u51fa\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u95a2\u9023\u30ea\u30f3\u30af<\/h2>\n<p>NumPy \u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001\u6b21\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ol>\n<li>NumPy\u516c\u5f0f\u30b5\u30a4\u30c8: <a href=\"https:\/\/numpy.org\/\" target=\"_new\" rel=\"noopener nofollow\">https:\/\/numpy.org\/<\/a><\/li>\n<li>NumPy \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8: <a href=\"https:\/\/numpy.org\/doc\/\" target=\"_new\" rel=\"noopener nofollow\">https:\/\/numpy.org\/doc\/<\/a><\/li>\n<li>\u30b5\u30a4\u30d1\u30a4: <a href=\"https:\/\/www.scipy.org\/\" target=\"_new\" rel=\"noopener nofollow\">https:\/\/www.scipy.org\/<\/a><\/li>\n<li>NumPy GitHub \u30ea\u30dd\u30b8\u30c8\u30ea: <a href=\"https:\/\/github.com\/numpy\/numpy\" target=\"_new\" rel=\"noopener nofollow\">https:\/\/github.com\/numpy\/numpy<\/a><\/li>\n<\/ol>\n<p>NumPy \u306f\u3001\u305d\u306e\u5f37\u529b\u306a\u914d\u5217\u51e6\u7406\u6a5f\u80fd\u306b\u3088\u308a\u3001\u4e16\u754c\u4e2d\u306e\u958b\u767a\u8005\u3084\u79d1\u5b66\u8005\u3092\u652f\u63f4\u3057\u7d9a\u3051\u3001\u3055\u307e\u3056\u307e\u306a\u5206\u91ce\u3067\u30a4\u30ce\u30d9\u30fc\u30b7\u30e7\u30f3\u3092\u4fc3\u9032\u3057\u3066\u3044\u307e\u3059\u3002\u30c7\u30fc\u30bf \u30b5\u30a4\u30a8\u30f3\u30b9 \u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3001\u6a5f\u68b0\u5b66\u7fd2\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3001\u79d1\u5b66\u7814\u7a76\u306e\u3044\u305a\u308c\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u308b\u5834\u5408\u3067\u3082\u3001NumPy \u306f Python \u3067\u306e\u52b9\u7387\u7684\u306a\u6570\u5024\u8a08\u7b97\u306b\u6b20\u304b\u305b\u306a\u3044\u30c4\u30fc\u30eb\u3067\u3059\u3002<\/p>","protected":false},"featured_media":0,"menu_order":0,"template":"","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"class_list":["post-478240","wiki","type-wiki","status-publish","hentry"],"acf":{"faq_title":"Frequently Asked Questions about <mark>NumPy: The Foundation of Efficient Numerical Computing<\/mark>","faq_items":[{"question":"What is NumPy?","answer":"<p>NumPy, short for \"Numerical Python,\" is a fundamental library for numerical computing in the Python programming language. It provides support for large, multi-dimensional arrays and matrices, along with a collection of mathematical functions to operate on these arrays efficiently. NumPy is an open-source project and has become a crucial component in various domains such as data science, machine learning, scientific research, and engineering.<\/p>"},{"question":"How did NumPy originate, and when was it first introduced?","answer":"<p>NumPy originated from the desire to have a more efficient array processing capability in Python. The foundation of NumPy was laid by Jim Hugunin, who created the Numeric library in 1995. Numeric was the first array processing package for Python and served as the precursor to NumPy.<\/p><p>In 2005, Travis Oliphant combined the best features of Numeric and another library called \"numarray\" to create NumPy. This new library aimed to address the limitations of the previous packages and provide a powerful array manipulation toolset to Python developers. With its introduction, NumPy quickly gained popularity and recognition among researchers, engineers, and data scientists.<\/p>"},{"question":"What are the key features of NumPy?","answer":"<p>NumPy offers several key features that make it an indispensable tool for numerical computing in Python:<\/p><ul><li>Efficient array operations for faster computations<\/li><li>Support for multi-dimensional arrays, enabling complex data handling<\/li><li>Broadcasting for element-wise operations on arrays with different shapes<\/li><li>A wide range of mathematical functions for scientific computing<\/li><li>Interoperability with other Python libraries and data structures<\/li><li>Vectorized operations for concise and maintainable code<\/li><\/ul>"},{"question":"What types of NumPy arrays exist?","answer":"<p>NumPy provides various types of arrays to accommodate different data requirements:<\/p><ul><li><strong>ndarray<\/strong>: The primary array type, capable of holding elements of the same data type in multiple dimensions.<\/li><li><strong>Structured arrays<\/strong>: Arrays that can hold heterogeneous data types, allowing for efficient handling of structured data.<\/li><li><strong>Masked arrays<\/strong>: Arrays that allow for missing or invalid data, useful for data cleaning and handling incomplete datasets.<\/li><li><strong>Record arrays<\/strong>: A variation of structured arrays that provide named fields for each element, simplifying data access.<\/li><\/ul>"},{"question":"How can I use NumPy effectively?","answer":"<p>Using NumPy effectively involves understanding its core functionalities and adopting best practices:<\/p><ul><li>Optimize memory usage for large datasets by considering data compression or memory-mapped arrays.<\/li><li>Utilize vectorized operations and broadcasting to improve performance.<\/li><li>Handle missing values with masked arrays for efficient data cleaning.<\/li><li>Be cautious of numerical precision to avoid rounding errors in critical computations.<\/li><\/ul>"},{"question":"How does NumPy compare to Python lists?","answer":"<p>NumPy arrays and Python lists have several differences:<\/p><ul><li>NumPy arrays can have multiple dimensions, while lists are one-dimensional.<\/li><li>NumPy's array operations are optimized and faster than traditional Python lists and loops.<\/li><li>Broadcasting simplifies element-wise operations with NumPy, which is not directly supported with lists.<\/li><li>NumPy provides an extensive collection of mathematical functions, which is limited in Python lists.<\/li><\/ul>"},{"question":"What does the future hold for NumPy?","answer":"<p>As technology evolves, NumPy is likely to embrace new hardware architectures, enabling better parallelization and utilization of modern hardware capabilities. Enhancements in algorithms and numerical methods will further improve NumPy's performance and efficiency.<\/p><p>With the growing interest in machine learning and artificial intelligence, NumPy will continue to support the development and optimization of advanced algorithms, remaining a crucial tool in the data science and scientific computing community.<\/p>"},{"question":"How can proxy servers be associated with NumPy?","answer":"<p>While NumPy itself may not be directly related to proxy servers, there are scenarios where using NumPy in conjunction with proxy servers can be valuable. For instance:<\/p><ul><li>Data analysis can be performed on proxy logs using NumPy to extract insights from user activity data.<\/li><li>NumPy's array filtering capabilities can help proxy servers efficiently filter out unwanted content from web pages.<\/li><li>Proxy providers can use machine learning algorithms with NumPy to optimize server management and resource allocation.<\/li><\/ul><p>Explore the potential of NumPy in conjunction with proxy servers to enhance data processing and optimize server operations.<\/p>"}]},"_links":{"self":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/478240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki"}],"about":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/types\/wiki"}],"version-history":[{"count":0,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/478240\/revisions"}],"wp:attachment":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media?parent=478240"}],"curies":[{"name":"\u3046\u30fc\u3093","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}