{"id":44400,"date":"2025-08-08T16:33:27","date_gmt":"2025-08-08T07:33:27","guid":{"rendered":"https:\/\/techgym.jp\/?p=44400"},"modified":"2025-08-08T16:33:31","modified_gmt":"2025-08-08T07:33:31","slug":"numpy-ndarray","status":"publish","type":"post","link":"https:\/\/techgym.jp\/column\/numpy-ndarray\/","title":{"rendered":"NumPy\u914d\u5217\u3092\u5b89\u5168\u306b\uff01ndarray\u3092\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\uff08\u66f8\u304d\u63db\u3048\u7981\u6b62\uff09\u306b\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"\n<div id=\"model-response-message-contentr_650c4753b9ef2fec\" class=\"markdown markdown-main-panel stronger enable-updated-hr-color\" dir=\"ltr\"><br \/>\n<p>\u00a0<\/p>\n<hr \/>\n<p>NumPy\u306fPython\u3067\u9ad8\u901f\u306a\u6570\u5024\u8a08\u7b97\u3092\u884c\u3046\u305f\u3081\u306e\u5f37\u529b\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002\u305d\u306e\u4e2d\u5fc3\u3068\u306a\u308b\u306e\u304c<b>ndarray<\/b>\u3068\u3044\u3046\u591a\u6b21\u5143\u914d\u5217\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u304c\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u8981\u7d20\u306e\u66f8\u304d\u63db\u3048\u304c\u53ef\u80fd\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u610f\u56f3\u3057\u306a\u3044\u30c7\u30fc\u30bf\u5909\u66f4\u3092\u9632\u304e\u305f\u3044\u5834\u5408\u3084\u3001\u7279\u5b9a\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3067\u30c7\u30fc\u30bf\u306e\u6574\u5408\u6027\u3092\u4fdd\u3061\u305f\u3044\u5834\u5408\u306b\u306f\u3001ndarray\u3092\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\uff08\u66f8\u304d\u63db\u3048\u7981\u6b62\uff09\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001NumPy\u914d\u5217\u3092\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u306b\u3059\u308b\u65b9\u6cd5\u3068\u3001\u305d\u306e\u30e1\u30ea\u30c3\u30c8\u30fb\u30c7\u30e1\u30ea\u30c3\u30c8\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<hr \/>\n<p>\u00a0<\/p>\n<h2>\u306a\u305cNumPy\u914d\u5217\u3092\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u304b\uff1f<\/h2>\n<p>\u00a0<\/p>\n<p>NumPy\u914d\u5217\u3092\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u306b\u8a2d\u5b9a\u3059\u308b\u4e3b\u306a\u7406\u7531\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<p>\u00a0<\/p>\n<h3>\u30c7\u30fc\u30bf\u306e\u6574\u5408\u6027\u4fdd\u8b77<\/h3>\n<p>\u00a0<\/p>\n<p>\u8aa4\u3063\u3066\u914d\u5217\u306e\u5024\u3092\u5909\u66f4\u3057\u3066\u3057\u307e\u3046\u300c\u526f\u4f5c\u7528\u300d\u3092\u9632\u304e\u307e\u3059\u3002\u7279\u306b\u3001\u8907\u6570\u306e\u95a2\u6570\u3084\u30b9\u30ec\u30c3\u30c9\u3067\u540c\u3058\u914d\u5217\u3092\u5171\u6709\u3059\u308b\u5834\u5408\u306b\u3001\u30c7\u30fc\u30bf\u306e\u4e88\u671f\u305b\u306c\u5909\u66f4\u3092\u9632\u304e\u3001\u30d0\u30b0\u306e\u767a\u751f\u3092\u6291\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u00a0<\/p>\n<h3>\u30cf\u30c3\u30b7\u30e5\u5316\u53ef\u80fd\u6027<\/h3>\n<p>\u00a0<\/p>\n<p>\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u30cf\u30c3\u30b7\u30e5\u53ef\u80fd\u306b\u306a\u308b\u305f\u3081\u3001Python\u306e\u30bb\u30c3\u30c8\uff08<code>set<\/code>\uff09\u306e\u8981\u7d20\u3084\u8f9e\u66f8\uff08<code>dict<\/code>\uff09\u306e\u30ad\u30fc\u3068\u3057\u3066\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u00a0<\/p>\n<h3>\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306e\u6700\u9069\u5316\uff08\u5834\u5408\u306b\u3088\u308b\uff09<\/h3>\n<p>\u00a0<\/p>\n<p>C\/C++\u306a\u3069\u306e\u4f4e\u30ec\u30d9\u30eb\u8a00\u8a9e\u3067\u66f8\u304b\u308c\u305f\u95a2\u6570\u306bNumPy\u914d\u5217\u3092\u6e21\u3059\u969b\u3001\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u3067\u3042\u308b\u3068\u660e\u793a\u3059\u308b\u3053\u3068\u3067\u3001\u30b3\u30d4\u30fc\u306e\u767a\u751f\u3092\u9632\u304e\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u5411\u4e0a\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<hr \/>\n<p>\u00a0<\/p>\n<h2>ndarray\u3092\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u306b\u8a2d\u5b9a\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>\u00a0<\/p>\n<p>NumPy\u914d\u5217\u3092\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u306b\u3059\u308b\u306b\u306f\u3001<code>flags.writeable<\/code>\u5c5e\u6027\u3092<code>False<\/code>\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u00a0<\/p>\n<h3>\u57fa\u672c\u7684\u306a\u8a2d\u5b9a\u65b9\u6cd5<\/h3>\n<p>\u00a0<\/p>\n<p>\u65e2\u5b58\u306eNumPy\u914d\u5217\u3092\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u306b\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<div class=\"code-block ng-tns-c4256198410-97 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation\">\n<div class=\"code-block-decoration header-formatted gds-title-s ng-tns-c4256198410-97 ng-star-inserted\"><span class=\"ng-tns-c4256198410-97\">Python<\/span>\n<div class=\"buttons ng-tns-c4256198410-97 ng-star-inserted\">\u00a0<\/div>\n<\/div>\n<div class=\"formatted-code-block-internal-container ng-tns-c4256198410-97\">\n<div class=\"animated-opacity ng-tns-c4256198410-97\">\n<pre class=\"ng-tns-c4256198410-97\"><code class=\"code-container formatted ng-tns-c4256198410-97\" role=\"text\" data-test-id=\"code-content\"><span class=\"hljs-keyword\">import<\/span> numpy <span class=\"hljs-keyword\">as<\/span> np\n\n<span class=\"hljs-comment\"># \u66f8\u304d\u63db\u3048\u53ef\u80fd\u306aNumPy\u914d\u5217\u3092\u4f5c\u6210<\/span>\narr = np.array([<span class=\"hljs-number\">1<\/span>, <span class=\"hljs-number\">2<\/span>, <span class=\"hljs-number\">3<\/span>, <span class=\"hljs-number\">4<\/span>, <span class=\"hljs-number\">5<\/span>])\nprint(<span class=\"hljs-string\">f\"\u5143\u306e\u914d\u5217: <span class=\"hljs-subst\">{arr}<\/span>\"<\/span>)\nprint(<span class=\"hljs-string\">f\"\u66f8\u304d\u8fbc\u307f\u53ef\u80fd\u304b\uff1f: <span class=\"hljs-subst\">{arr.flags.writeable}<\/span>\"<\/span>)\n\n<span class=\"hljs-comment\"># \u914d\u5217\u3092\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u306b\u8a2d\u5b9a<\/span>\narr.flags.writeable = <span class=\"hljs-literal\">False<\/span>\nprint(<span class=\"hljs-string\">f\"\u66f8\u304d\u8fbc\u307f\u53ef\u80fd\u304b\uff1f (\u5909\u66f4\u5f8c): <span class=\"hljs-subst\">{arr.flags.writeable}<\/span>\"<\/span>)\n\n<span class=\"hljs-comment\"># \u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u306a\u914d\u5217\u3092\u5909\u66f4\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u767a\u751f<\/span>\n<span class=\"hljs-keyword\">try<\/span>:\n    arr[<span class=\"hljs-number\">0<\/span>] = <span class=\"hljs-number\">10<\/span>\n<span class=\"hljs-keyword\">except<\/span> ValueError <span class=\"hljs-keyword\">as<\/span> e:\n    print(<span class=\"hljs-string\">f\"\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f: <span class=\"hljs-subst\">{e}<\/span>\"<\/span>)\n<\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<p>\u4e0a\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001<code>arr.flags.writeable = False<\/code>\u3092\u8a2d\u5b9a\u3057\u305f\u5f8c\u306b<code>arr[0] = 10<\/code>\u3092\u5b9f\u884c\u3057\u3088\u3046\u3068\u3059\u308b\u3068<code>ValueError: assignment destination is read-only<\/code>\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3001\u914d\u5217\u304c\u66f8\u304d\u63db\u3048\u7981\u6b62\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u00a0<\/p>\n<h3><code>as_strided<\/code>\u3068\u7d44\u307f\u5408\u308f\u305b\u3066View\u3092\u4f5c\u6210\u3059\u308b<\/h3>\n<p>\u00a0<\/p>\n<p><code>np.lib.stride_tricks.as_strided<\/code>\u3092\u4f7f\u3063\u3066\u65e2\u5b58\u306e\u914d\u5217\u306e\u30d3\u30e5\u30fc\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u30d3\u30e5\u30fc\u3082\u5143\u306e\u914d\u5217\u3068\u540c\u69d8\u306b\u66f8\u304d\u63db\u3048\u53ef\u80fd\u3067\u3059\u3002\u30d3\u30e5\u30fc\u3092\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u306b\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u5225\u9014<code>flags.writeable = False<\/code>\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<div class=\"code-block ng-tns-c4256198410-98 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation\">\n<div class=\"code-block-decoration header-formatted gds-title-s ng-tns-c4256198410-98 ng-star-inserted\"><span class=\"ng-tns-c4256198410-98\">Python<\/span>\n<div class=\"buttons ng-tns-c4256198410-98 ng-star-inserted\">\u00a0<\/div>\n<\/div>\n<div class=\"formatted-code-block-internal-container ng-tns-c4256198410-98\">\n<div class=\"animated-opacity ng-tns-c4256198410-98\">\n<pre class=\"ng-tns-c4256198410-98\"><code class=\"code-container formatted ng-tns-c4256198410-98\" role=\"text\" data-test-id=\"code-content\"><span class=\"hljs-keyword\">import<\/span> numpy <span class=\"hljs-keyword\">as<\/span> np\n\n<span class=\"hljs-comment\"># \u5143\u306e\u914d\u5217<\/span>\noriginal_arr = np.array([<span class=\"hljs-number\">1<\/span>, <span class=\"hljs-number\">2<\/span>, <span class=\"hljs-number\">3<\/span>, <span class=\"hljs-number\">4<\/span>, <span class=\"hljs-number\">5<\/span>])\n\n<span class=\"hljs-comment\"># View\u3092\u4f5c\u6210\u3057\u3001\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u306b\u8a2d\u5b9a<\/span>\nview_arr = np.lib.stride_tricks.as_strided(original_arr, shape=(<span class=\"hljs-number\">3<\/span>,), strides=(original_arr.strides[<span class=\"hljs-number\">0<\/span>],))\nview_arr.flags.writeable = <span class=\"hljs-literal\">False<\/span>\n\nprint(<span class=\"hljs-string\">f\"View: <span class=\"hljs-subst\">{view_arr}<\/span>\"<\/span>)\nprint(<span class=\"hljs-string\">f\"View\u306f\u66f8\u304d\u8fbc\u307f\u53ef\u80fd\u304b\uff1f: <span class=\"hljs-subst\">{view_arr.flags.writeable}<\/span>\"<\/span>)\n\n<span class=\"hljs-comment\"># View\u3092\u5909\u66f4\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u30a8\u30e9\u30fc<\/span>\n<span class=\"hljs-keyword\">try<\/span>:\n    view_arr[<span class=\"hljs-number\">0<\/span>] = <span class=\"hljs-number\">100<\/span>\n<span class=\"hljs-keyword\">except<\/span> ValueError <span class=\"hljs-keyword\">as<\/span> e:\n    print(<span class=\"hljs-string\">f\"\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f: <span class=\"hljs-subst\">{e}<\/span>\"<\/span>)\n<\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<hr \/>\n<p>\u00a0<\/p>\n<h2>\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u306aNumPy\u914d\u5217\u306e\u6ce8\u610f\u70b9<\/h2>\n<p>\u00a0<\/p>\n<p>\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u306b\u8a2d\u5b9a\u3059\u308b\u969b\u306b\u306f\u3001\u3044\u304f\u3064\u304b\u6ce8\u610f\u3059\u3079\u304d\u70b9\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u00a0<\/p>\n<h3>\u65b0\u3057\u3044\u914d\u5217\u306e\u4f5c\u6210\u3067\u306f\u306a\u3044<\/h3>\n<p>\u00a0<\/p>\n<p><code>flags.writeable = False<\/code>\u306f\u3001<b>\u65e2\u5b58\u306e\u914d\u5217\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u81ea\u4f53\u3092\u66f8\u304d\u63db\u3048\u7981\u6b62\u306b\u3059\u308b<\/b>\u3082\u306e\u3067\u3042\u308a\u3001\u65b0\u3057\u3044\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u306a\u914d\u5217\u3092\u4f5c\u6210\u3059\u308b\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u00a0<\/p>\n<h3>\u30b3\u30d4\u30fc\u3068\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u5316<\/h3>\n<p>\u00a0<\/p>\n<p>\u5143\u306e\u914d\u5217\u3092\u4fdd\u6301\u3057\u3064\u3064\u3001\u305d\u306e\u30b3\u30d4\u30fc\u3092\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u306b\u3057\u305f\u3044\u5834\u5408\u306f\u3001<code>copy()<\/code>\u30e1\u30bd\u30c3\u30c9\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<div class=\"code-block ng-tns-c4256198410-99 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation\">\n<div class=\"code-block-decoration header-formatted gds-title-s ng-tns-c4256198410-99 ng-star-inserted\"><span class=\"ng-tns-c4256198410-99\">Python<\/span>\n<div class=\"buttons ng-tns-c4256198410-99 ng-star-inserted\">\u00a0<\/div>\n<\/div>\n<div class=\"formatted-code-block-internal-container ng-tns-c4256198410-99\">\n<div class=\"animated-opacity ng-tns-c4256198410-99\">\n<pre class=\"ng-tns-c4256198410-99\"><code class=\"code-container formatted ng-tns-c4256198410-99\" role=\"text\" data-test-id=\"code-content\"><span class=\"hljs-keyword\">import<\/span> numpy <span class=\"hljs-keyword\">as<\/span> np\n\noriginal_arr = np.array([<span class=\"hljs-number\">1<\/span>, <span class=\"hljs-number\">2<\/span>, <span class=\"hljs-number\">3<\/span>])\nimmutable_copy = original_arr.copy()\nimmutable_copy.flags.writeable = <span class=\"hljs-literal\">False<\/span>\n\nprint(<span class=\"hljs-string\">f\"\u5143\u306e\u914d\u5217\u306f\u66f8\u304d\u8fbc\u307f\u53ef\u80fd\u304b\uff1f: <span class=\"hljs-subst\">{original_arr.flags.writeable}<\/span>\"<\/span>)\nprint(<span class=\"hljs-string\">f\"\u30b3\u30d4\u30fc\u306f\u66f8\u304d\u8fbc\u307f\u53ef\u80fd\u304b\uff1f: <span class=\"hljs-subst\">{immutable_copy.flags.writeable}<\/span>\"<\/span>)\n<\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<p>\u00a0<\/p>\n<h3>\u5225\u306e\u65b9\u6cd5\u3067\u306e\u5909\u66f4\u306e\u53ef\u80fd\u6027\uff08\u4e0a\u7d1a\u8005\u5411\u3051\uff09<\/h3>\n<p>\u00a0<\/p>\n<p>NumPy\u306e\u5185\u90e8\u69cb\u9020\u3092\u7406\u89e3\u3057\u3066\u3044\u308b\u5834\u5408\u3001<code>ctypes<\/code>\u306a\u3069\u306e\u4f4e\u30ec\u30d9\u30eb\u306a\u65b9\u6cd5\u3092\u4f7f\u7528\u3059\u308c\u3070\u3001<code>flags.writeable = False<\/code>\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u3066\u3082\u5024\u3092\u5909\u66f4\u3067\u304d\u3066\u3057\u307e\u3046\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u3053\u308c\u306f\u63a8\u5968\u3055\u308c\u308b\u65b9\u6cd5\u3067\u306f\u306a\u304f\u3001\u901a\u5e38\u306e\u4f7f\u7528\u306b\u304a\u3044\u3066\u306f<code>flags.writeable<\/code>\u3067\u5341\u5206\u306a\u4fdd\u8b77\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<hr \/>\n<p>\u00a0<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u00a0<\/p>\n<p>NumPy\u914d\u5217\u3092\u30a4\u30df\u30e5\u30fc\u30bf\u30d6\u30eb\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306f\u3001\u30c7\u30fc\u30bf\u306e\u6574\u5408\u6027\u3092\u4fdd\u3061\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4fe1\u983c\u6027\u3092\u9ad8\u3081\u308b\u4e0a\u3067\u975e\u5e38\u306b\u6709\u52b9\u306a\u624b\u6bb5\u3067\u3059\u3002\u7279\u306b\u5927\u898f\u6a21\u306a\u30c7\u30fc\u30bf\u51e6\u7406\u3084\u3001\u8907\u6570\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u30c7\u30fc\u30bf\u3092\u5171\u6709\u3059\u308b\u3088\u3046\u306a\u30b1\u30fc\u30b9\u3067\u306f\u3001\u7a4d\u6975\u7684\u306b\u5229\u7528\u3092\u691c\u8a0e\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305f<code>flags.writeable<\/code>\u5c5e\u6027\u3092\u9069\u5207\u306b\u6d3b\u7528\u3057\u3001\u3088\u308a\u5805\u7262\u306aNumPy\u30b3\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u00a0<\/p>\n<\/div>\n\n\n\n<p>\u25a0\u30d7\u30ed\u30f3\u30d7\u30c8\u3060\u3051\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u30a2\u30d7\u30ea\u3092\u958b\u767a\u30fb\u516c\u958b\u3057\u3066\u307f\u305f\uff01\uff01<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"kp1Oiaqfsj\"><a href=\"https:\/\/techgym.jp\/column\/ori-app\/\">\u30d7\u30ed\u30f3\u30d7\u30c8\u3060\u3051\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u30a2\u30d7\u30ea\u3092\u958b\u767a\u30fb\u516c\u958b\u3057\u3066\u307f\u305f\uff01\uff01<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u30d7\u30ed\u30f3\u30d7\u30c8\u3060\u3051\u3067\u30aa\u30ea\u30b8\u30ca\u30eb\u30a2\u30d7\u30ea\u3092\u958b\u767a\u30fb\u516c\u958b\u3057\u3066\u307f\u305f\uff01\uff01&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/column\/ori-app\/embed\/#?secret=yhALet3J8G#?secret=kp1Oiaqfsj\" data-secret=\"kp1Oiaqfsj\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u25a0AI\u6642\u4ee3\u306e\u7b2c\u4e00\u6b69\uff01\u300cAI\u99c6\u52d5\u958b\u767a\u30b3\u30fc\u30b9\u300d\u306f\u3058\u3081\u307e\u3057\u305f\uff01<\/p>\n\n\n\n<p>\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821\u3067\u5148\u884c\u958b\u59cb\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"X4aAfzTnTJ\"><a href=\"https:\/\/techgym.jp\/about\/ai-driven-development\/\">AI\u99c6\u52d5\u958b\u767a\/\u751f\u6210AI\u30a8\u30f3\u30b8\u30cb\u30a2\u30b3\u30fc\u30b9\uff08\u521d\u5fc3\u8005\u5411\u3051\uff09<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;AI\u99c6\u52d5\u958b\u767a\/\u751f\u6210AI\u30a8\u30f3\u30b8\u30cb\u30a2\u30b3\u30fc\u30b9\uff08\u521d\u5fc3\u8005\u5411\u3051\uff09&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/about\/ai-driven-development\/embed\/#?secret=tFbYF5yJBs#?secret=X4aAfzTnTJ\" data-secret=\"X4aAfzTnTJ\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u25a0\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821<\/p>\n\n\n\n<p>\u300c\u6b66\u7530\u587e\u300d\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u7248\u3068\u3044\u3048\u3070\u300c\u30c6\u30c3\u30af\u30b8\u30e0\u300d\u3002<br>\u8b1b\u7fa9\u52d5\u753b\u306a\u3057\u3001\u6559\u79d1\u66f8\u306a\u3057\u3002\u300c\u9032\u6357\u7ba1\u7406\u3068\u30b3\u30fc\u30c1\u30f3\u30b0\u300d\u3067\u52b9\u7387\u5b66\u7fd2\u3002<br>\u3088\u308a\u65e9\u304f\u3001\u3088\u308a\u5b89\u304f\u3001\u3057\u304b\u3082\u5bfe\u9762\u578b\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"1NpIPVwtuk\"><a href=\"https:\/\/techgym.jp\/tokyo\/tokyo_honko\/\">\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u30c6\u30c3\u30af\u30b8\u30e0\u6771\u4eac\u672c\u6821&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/tokyo\/tokyo_honko\/embed\/#?secret=HkPYle9iFV#?secret=1NpIPVwtuk\" data-secret=\"1NpIPVwtuk\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\uff1c\u77ed\u671f\u8b1b\u7fd2\uff1e5\u65e5\u30675\u4e07\u5186\u306e\u300cPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u958b\u50ac\u4e2d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"bEr9xbmqdD\"><a href=\"https:\/\/techgym.jp\/event\/nagatacho_camp\/\">\u72ec\u5b66\u3082\u30aa\u30f3\u30e9\u30a4\u30f3\u3082\u7121\u7406\u3060\u304b\u3089\u3001\u6709\u7d66\u3068\u3063\u3066\u300cPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u3078\u30105\u65e5\u9593\u30675\u4e07\u5186\u3011<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u72ec\u5b66\u3082\u30aa\u30f3\u30e9\u30a4\u30f3\u3082\u7121\u7406\u3060\u304b\u3089\u3001\u6709\u7d66\u3068\u3063\u3066\u300cPython\u30df\u30cb\u30ad\u30e3\u30f3\u30d7\u300d\u3078\u30105\u65e5\u9593\u30675\u4e07\u5186\u3011&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/event\/nagatacho_camp\/embed\/#?secret=asDhmHwhMy#?secret=bEr9xbmqdD\" data-secret=\"bEr9xbmqdD\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\uff1c\u67081\u958b\u50ac\uff1e\u653e\u9001\u4f5c\u5bb6\u306b\u3088\u308b\u6620\u50cf\u30c7\u30a3\u30ec\u30af\u30bf\u30fc\u990a\u6210\u8b1b\u5ea7<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"ZJ8vAKcBrr\"><a href=\"https:\/\/techgym.jp\/event\/video_director\/\">\u73fe\u5f79\u653e\u9001\u4f5c\u5bb6\u304c\u6559\u3048\u308b\u52d5\u753b\u8b1b\u5ea7\uff01\u300e\uff24\uff2f\uff27\uff21\u300f<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u73fe\u5f79\u653e\u9001\u4f5c\u5bb6\u304c\u6559\u3048\u308b\u52d5\u753b\u8b1b\u5ea7\uff01\u300e\uff24\uff2f\uff27\uff21\u300f&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/event\/video_director\/embed\/#?secret=JfrBWMrm2I#?secret=ZJ8vAKcBrr\" data-secret=\"ZJ8vAKcBrr\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\uff1c\u30aa\u30f3\u30e9\u30a4\u30f3\u7121\u6599\uff1e\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"M77mvmlJBN\"><a href=\"https:\/\/techgym.jp\/tokyo_python\/\">\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7\uff08\u7406\u7cfb\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u521d\u5fc3\u8005\u5411\u3051\uff09<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u30bc\u30ed\u304b\u3089\u59cb\u3081\u308bPython\u7206\u901f\u8b1b\u5ea7\uff08\u7406\u7cfb\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u521d\u5fc3\u8005\u5411\u3051\uff09&#8221; &#8212; \u3010\u30c6\u30c3\u30af\u30b8\u30e0\u3011\u683c\u5b89\u30fb\u5bfe\u9762\u578b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\" src=\"https:\/\/techgym.jp\/tokyo_python\/embed\/#?secret=O8Yky4WbQO#?secret=M77mvmlJBN\" data-secret=\"M77mvmlJBN\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 NumPy\u306fPython\u3067\u9ad8\u901f\u306a\u6570\u5024\u8a08\u7b97\u3092\u884c\u3046\u305f\u3081\u306e\u5f37\u529b\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002\u305d\u306e\u4e2d\u5fc3\u3068\u306a\u308b\u306e\u304cndarray\u3068\u3044\u3046\u591a\u6b21\u5143\u914d\u5217\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3059\u304c\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u8981\u7d20\u306e\u66f8\u304d\u63db\u3048\u304c\u53ef\u80fd\u3067\u3059\u3002\u3057\u304b\u3057\u3001\u610f\u56f3\u3057\u306a\u3044\u30c7\u30fc\u30bf\u5909\u66f4\u3092\u9632\u304e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":42501,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-44400","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-column"],"views":48,"jetpack_featured_media_url":"\/wp-content\/uploads\/2025\/07\/f3403acf5c65aedec0dba821c4c26404.png","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/44400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/comments?post=44400"}],"version-history":[{"count":0,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/posts\/44400\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/media\/42501"}],"wp:attachment":[{"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/media?parent=44400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/categories?post=44400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techgym.jp\/wp-json\/wp\/v2\/tags?post=44400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}