{"id":26753,"date":"2026-08-08T10:16:43","date_gmt":"2026-08-08T01:16:43","guid":{"rendered":"https:\/\/genai-ai.co.jp\/ai-kanri\/?p=26753"},"modified":"2026-08-08T10:16:43","modified_gmt":"2026-08-08T01:16:43","slug":"cc-python-numpy-matrix","status":"publish","type":"post","link":"https:\/\/genai-ai.co.jp\/ai-kanri\/blog\/cc-python-numpy-matrix\/","title":{"rendered":"\u30102026\u5e748\u6708\u6700\u65b0\u3011Python\u884c\u5217\uff08NumPy\uff09\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u4f5c\u6210\u30fb\u5f62\u72b6\u5909\u63db\u30fb\u8a08\u7b97\u304b\u3089\u753b\u50cf\u30c7\u30fc\u30bf\u51e6\u7406\u307e\u3067"},"content":{"rendered":"\n<style>\n.g-flow-row{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;align-items:center;}\n.g-flow-item{background:linear-gradient(135deg,#1a1a1a,#2a1015);color:#fff;border-radius:8px;padding:16px 14px;min-width:130px;flex:1;text-align:center;}\n.g-flow-arrow{color:#dc2626;font-size:20px;font-weight:700;}\n.g-card-row{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 32px;}\n.g-card-row>div{flex:1;min-width:220px;}\n@media(max-width:600px){\n  .g-flow-row{flex-direction:column;}\n  .g-flow-arrow{transform:rotate(90deg);}\n  .g-card-row{flex-direction:column;}\n  .g-card-row>div{min-width:100%;}\n}\n<\/style>\n\n\n\n<div style=\"margin:0 0 32px;\">\n  <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/08\/thumb-cc-python-numpy-matrix.jpg\" alt=\"\u30102026\u5e748\u6708\u6700\u65b0\u3011Python\u884c\u5217\uff08NumPy\uff09\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u4f5c\u6210\u30fb\u5f62\u72b6\u5909\u63db\u30fb\u8a08\u7b97\u304b\u3089\u753b\u50cf\u30c7\u30fc\u30bf\u51e6\u7406\u307e\u3067\" style=\"width:100%;height:auto;border-radius:12px;display:block;\">\n<\/div>\n\n\n\n<div style=\"background:#f8f9fa;border-radius:12px;padding:24px 28px;margin:0 0 32px;border-left:4px solid #dc2626;\">\n  <p style=\"font-size:15px;font-weight:700;color:#1a1a1a;margin:0 0 16px;\">\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9<\/p>\n  <ol style=\"margin:0;padding-left:20px;font-size:14px;line-height:2.2;list-style:none;\">\n    <li><a href=\"#sec-01\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">01<\/span>Python\u306e\u884c\u5217\u3068\u306f\u2015\u2015\u57fa\u790e\u3068\u7528\u9014<\/a><\/li>\n    <li><a href=\"#sec-02\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">02<\/span>\u884c\u5217\u306e\u4f5c\u6210\u65b9\u6cd5\uff08\u30ea\u30b9\u30c8\u3068NumPy\u306e\u9055\u3044\uff09<\/a><\/li>\n    <li><a href=\"#sec-03\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">03<\/span>\u884c\u5217\u64cd\u4f5c\u306e\u57fa\u672c\uff08\u5f62\u72b6\u78ba\u8a8d\u30fbreshape\u30fb\u8ee2\u7f6e\uff09<\/a><\/li>\n    <li><a href=\"#sec-04\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">04<\/span>\u884c\u5217\u8a08\u7b97\uff08\u8db3\u3057\u7b97\u30fb\u5f15\u304d\u7b97\u30fb\u639b\u3051\u7b97\u30fb\u5272\u308a\u7b97\uff09<\/a><\/li>\n    <li><a href=\"#sec-05\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">05<\/span>\u753b\u50cf\u30c7\u30fc\u30bf\u3092NumPy\u884c\u5217\u3068\u3057\u3066\u6271\u3046\u5b9f\u8df5\u7de8<\/a><\/li>\n    <li><a href=\"#sec-06\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">06<\/span>\u696d\u52d9\u3067\u3088\u304f\u4f7f\u3046NumPy\u884c\u5217\u6d3b\u7528\u30d1\u30bf\u30fc\u30f3\u96c6<\/a><\/li>\n    <li><a href=\"#sec-07\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">07<\/span>Claude Code\u3067Python\u884c\u5217\u30b3\u30fc\u30c9\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b\u65b9\u6cd5<\/a><\/li>\n    <li><a href=\"#sec-08\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">08<\/span>\u307e\u3068\u3081<\/a><\/li>\n    <li><a href=\"#faq\" style=\"color:#495057;text-decoration:none;\"><span style=\"color:#dc2626;font-weight:700;margin-right:8px;\">FAQ<\/span>\u3088\u304f\u3042\u308b\u8cea\u554f<\/a><\/li>\n  <\/ol>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u300c\u30c7\u30fc\u30bf\u5206\u6790\u306e\u52c9\u5f37\u3092\u59cb\u3081\u305f\u3089\u884c\u5217\u3068\u3044\u3046\u8a00\u8449\u304c\u51fa\u3066\u304d\u305f\u3051\u3069\u3001\u6b63\u76f4\u3088\u304f\u5206\u304b\u3089\u306a\u3044\u300d\u300c\u753b\u50cf\u51e6\u7406\u3084AI\u306e\u89e3\u8aac\u8a18\u4e8b\u306b\u5fc5\u305a\u51fa\u3066\u304f\u308b\u884c\u5217\u3092\u3001Python\u3067\u3069\u3046\u6271\u3048\u3070\u3044\u3044\u306e\u304b\u77e5\u308a\u305f\u3044\u300d\u2014\u2014\u305d\u3093\u306a\u7591\u554f\u3092\u6301\u3063\u3066\u3053\u306e\u8a18\u4e8b\u306b\u305f\u3069\u308a\u7740\u3044\u305f\u65b9\u306f\u591a\u3044\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Python\u3067\u884c\u5217\u3092\u6271\u3046\u969b\u3001\u5b9f\u52d9\u3067\u306f\u6a19\u6e96\u306e\u30ea\u30b9\u30c8\u578b\u3067\u306f\u306a\u304f<strong>NumPy<\/strong>\u3068\u3044\u3046\u6570\u5024\u8a08\u7b97\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3046\u306e\u304c\u4e00\u822c\u7684\u3067\u3059\u3002NumPy\u306e<code>ndarray<\/code>\uff08\u591a\u6b21\u5143\u914d\u5217\uff09\u3092\u4f7f\u3046\u3068\u3001\u884c\u5217\u306e\u4f5c\u6210\u30fb\u5909\u5f62\u30fb\u8a08\u7b97\u307e\u3067\u3092\u30b7\u30f3\u30d7\u30eb\u306a\u30b3\u30fc\u30c9\u3067\u9ad8\u901f\u306b\u51e6\u7406\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Python\u3067\u306e\u884c\u5217\u306e\u57fa\u672c\u7684\u306a\u4f5c\u308a\u65b9\u304b\u3089\u3001\u5f62\u72b6\u5909\u63db\u30fb\u8ee2\u7f6e\u3001\u56db\u5247\u6f14\u7b97\u3001\u305d\u3057\u3066\u753b\u50cf\u30c7\u30fc\u30bf\u3092\u884c\u5217\u3068\u3057\u3066\u6271\u3046\u5b9f\u8df5\u7684\u306a\u4f7f\u3044\u65b9\u307e\u3067\u3092<strong>\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u4ed8\u304d\u3067\u4f53\u7cfb\u7684\u306b<\/strong>\u89e3\u8aac\u3057\u307e\u3059\u3002\u3055\u3089\u306b\u8a18\u4e8b\u306e\u6700\u5f8c\u3067\u306f\u3001Claude Code\u3068\u3044\u3046AI\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u3053\u3046\u3057\u305f\u884c\u5217\u51e6\u7406\u30b3\u30fc\u30c9\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b\u65b9\u6cd5\u3082\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300c\u884c\u5217\u300d\u3068\u805e\u304f\u3068\u6570\u5b66\u306e\u6388\u696d\u3092\u601d\u3044\u51fa\u3057\u3066\u8eab\u69cb\u3048\u308b\u65b9\u3082\u591a\u3044\u3067\u3059\u304c\u3001Python\u3067\u306e\u5b9f\u52d9\u5229\u7528\u3067\u306f\u300c\u6570\u5024\u3092\u683c\u5b50\u72b6\u306b\u4e26\u3079\u305f\u30c7\u30fc\u30bf\u300d\u304f\u3089\u3044\u306e\u7406\u89e3\u3067\u5341\u5206\u30b9\u30bf\u30fc\u30c8\u3067\u304d\u307e\u3059\u3002\u753b\u50cf\u51e6\u7406\u30fb\u6a5f\u68b0\u5b66\u7fd2\u30fb\u58f2\u4e0a\u30c7\u30fc\u30bf\u306e\u96c6\u8a08\u306a\u3069\u3001\u884c\u5217\u306f\u601d\u3063\u305f\u3088\u308a\u8eab\u8fd1\u306a\u5834\u6240\u3067\u4f7f\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u3053\u306e\u8a18\u4e8b\u306e\u30b3\u30fc\u30c9\u306f\u3059\u3079\u3066\u30b3\u30d4\u30fc\u3057\u3066\u305d\u306e\u307e\u307e\u52d5\u304b\u305b\u308b\u5f62\u306b\u3057\u3066\u3044\u307e\u3059\u3002Python\u306e\u5b9f\u884c\u74b0\u5883\uff08Google Colab\u306a\u3069\uff09\u3092\u7528\u610f\u3057\u3066\u3001\u5b9f\u969b\u306b\u624b\u3092\u52d5\u304b\u3057\u306a\u304c\u3089\u8aad\u307f\u9032\u3081\u308b\u3068\u7406\u89e3\u304c\u5b9a\u7740\u3057\u3084\u3059\u3044\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3092\u6700\u5f8c\u307e\u3067\u8aad\u3080\u3068\u3001\u6b21\u306e6\u3064\u304c\u660e\u78ba\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u30ea\u30b9\u30c8\u3068NumPy\u914d\u5217<\/strong>\u306e\u9055\u3044\u3068\u3001\u884c\u5217\u3092\u6271\u3046\u969b\u306bNumPy\u3092\u4f7f\u3046\u3079\u304d\u7406\u7531<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u884c\u5217\u306e\u5f62\u72b6\u78ba\u8a8d\u30fbreshape\u30fb\u8ee2\u7f6e<\/strong>\u306e\u57fa\u672c\u64cd\u4f5c<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u8db3\u3057\u7b97\u30fb\u5f15\u304d\u7b97\u30fb\u639b\u3051\u7b97\u30fb\u5272\u308a\u7b97<\/strong>\u305d\u308c\u305e\u308c\u306e\u6b63\u3057\u3044\u66f8\u304d\u65b9\uff08\u8981\u7d20\u3054\u3068\u306e\u8a08\u7b97\u3068\u884c\u5217\u7a4d\u306e\u9055\u3044\uff09<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u753b\u50cf\u30c7\u30fc\u30bf\u3092\u884c\u5217\u3068\u3057\u3066\u6271\u3046<\/strong>\u57fa\u672c\u7684\u306a\u4ed5\u7d44\u307f<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u696d\u52d9\u30c7\u30fc\u30bf\u51e6\u7406<\/strong>\u3067\u3088\u304f\u4f7f\u3046NumPy\u6d3b\u7528\u30d1\u30bf\u30fc\u30f3<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>Claude Code<\/strong>\u3067Python\u306e\u884c\u5217\u51e6\u7406\u30b3\u30fc\u30c9\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b\u65b9\u6cd5<\/span><\/div>\n\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-python-numpy-matrix&#038;blog_slug=cc-python-numpy-matrix\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-python-numpy-matrix&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-01\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">01<\/span>\n  <span class=\"section-label\" style=\"display:block;\">MATRIX BASICS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">Python\u306e\u884c\u5217\u3068\u306f\u2015\u2015\u57fa\u790e\u3068\u7528\u9014<\/span>\n  <span class=\"section-desc\">\u6570\u5024\u3092\u683c\u5b50\u72b6\u306b\u4e26\u3079\u305f\u30c7\u30fc\u30bf\u69cb\u9020\u3068\u305d\u306e\u4f7f\u308f\u308c\u65b9<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u884c\u5217\u3068\u306f\u3001\u6570\u5024\u3092<strong>\u7e26\uff08\u884c\uff09\u3068\u6a2a\uff08\u5217\uff09\u306e\u683c\u5b50\u72b6\u306b\u4e26\u3079\u305f\u30c7\u30fc\u30bf<\/strong>\u306e\u3053\u3068\u3067\u3059\u3002\u30a8\u30af\u30bb\u30eb\u306e\u8868\u3092\u30a4\u30e1\u30fc\u30b8\u3059\u308b\u3068\u5206\u304b\u308a\u3084\u3059\u304f\u3001\u884c\u5217\u306e\u5404\u30de\u30b9\u76ee\u306b\u306f\u6570\u5024\u304c1\u3064\u305a\u3064\u5165\u308a\u3001\u300c\u4f55\u884c\u76ee\u30fb\u4f55\u5217\u76ee\u306b\u4f55\u306e\u5024\u304c\u3042\u308b\u304b\u300d\u3068\u3044\u3046\u4f4d\u7f6e\u95a2\u4fc2\u3092\u6301\u3063\u3066\u7ba1\u7406\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>\u884c\u5217\uff08Matrix\uff09<\/strong>\uff1a\u6570\u5024\u3092\u7e26\u30fb\u6a2a\u306b\u898f\u5247\u6b63\u3057\u304f\u4e26\u3079\u305f\u30c7\u30fc\u30bf\u69cb\u9020\u3002\u6570\u5b66\u7684\u306b\u306f\u300cm\u884cn\u5217\u306e\u884c\u5217\u300d\u306e\u3088\u3046\u306b\u8868\u73fe\u3055\u308c\u3001\u4f8b\u3048\u30703\u884c2\u5217\u306e\u884c\u5217\u306a\u3089\u30013\u00d72=6\u500b\u306e\u6570\u5024\u304c\u683c\u5b50\u72b6\u306b\u4e26\u3093\u3067\u3044\u307e\u3059\u3002\u753b\u50cf\u30fb\u97f3\u58f0\u30fb\u58f2\u4e0a\u8868\u306a\u3069\u3001\u591a\u304f\u306e\u73fe\u5b9f\u306e\u30c7\u30fc\u30bf\u306f\u884c\u5217\uff08\u307e\u305f\u306f\u3055\u3089\u306b\u6b21\u5143\u3092\u62e1\u5f35\u3057\u305f\u300c\u30c6\u30f3\u30bd\u30eb\u300d\uff09\u3068\u3057\u3066\u8868\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>NumPy<\/strong>\uff1aPython\u3067\u6570\u5024\u8a08\u7b97\u3092\u9ad8\u901f\u306b\u884c\u3046\u305f\u3081\u306e\u4ee3\u8868\u7684\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3002\u591a\u6b21\u5143\u914d\u5217\u3092\u6271\u3046\u305f\u3081\u306e<code>ndarray<\/code>\u3068\u3044\u3046\u578b\u3092\u63d0\u4f9b\u3057\u3066\u304a\u308a\u3001\u884c\u5217\u8a08\u7b97\u30fb\u7d71\u8a08\u51e6\u7406\u30fb\u7dda\u5f62\u4ee3\u6570\u306e\u6f14\u7b97\u3092\u3001\u6a19\u6e96\u306e\u30ea\u30b9\u30c8\u3088\u308a\u5927\u5e45\u306b\u9ad8\u901f\u304b\u3064\u7c21\u6f54\u306a\u30b3\u30fc\u30c9\u3067\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002\u30c7\u30fc\u30bf\u5206\u6790\u30fb\u6a5f\u68b0\u5b66\u7fd2\u30fb\u753b\u50cf\u51e6\u7406\u306e\u5206\u91ce\u3067\u4e8b\u5b9f\u4e0a\u306e\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u884c\u5217\u304c\u3069\u3093\u306a\u5834\u9762\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u304b\u3001\u5177\u4f53\u4f8b\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u7528\u9014<\/th><th>\u884c\u5217\u3068\u3057\u3066\u306e\u6271\u308f\u308c\u65b9<\/th><th>\u4e3b\u306a\u5229\u7528\u30b7\u30fc\u30f3<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u753b\u50cf\u30c7\u30fc\u30bf<\/td><td>\u5404\u30d4\u30af\u30bb\u30eb\u306e\u8272\uff08\u660e\u308b\u3055\uff09\u3092\u6570\u5024\u3068\u3057\u3066\u4e26\u3079\u305f\u884c\u5217<\/td><td>\u753b\u50cf\u51e6\u7406\u30fbAI\u753b\u50cf\u8a8d\u8b58<\/td><\/tr>\n<tr><td>\u58f2\u4e0a\u30fb\u5728\u5eab\u30c7\u30fc\u30bf<\/td><td>\u300c\u5546\u54c1\u00d7\u6708\u300d\u306e\u3088\u3046\u306b2\u8ef8\u3067\u6570\u5024\u3092\u6574\u7406\u3057\u305f\u8868<\/td><td>\u30c7\u30fc\u30bf\u5206\u6790\u30fb\u30ec\u30dd\u30fc\u30c8\u4f5c\u6210<\/td><\/tr>\n<tr><td>\u6a5f\u68b0\u5b66\u7fd2\u306e\u5165\u529b\u30c7\u30fc\u30bf<\/td><td>\u8907\u6570\u306e\u30c7\u30fc\u30bf\u30fb\u8907\u6570\u306e\u7279\u5fb4\u91cf\u3092\u4e26\u3079\u305f\u884c\u5217<\/td><td>AI\u30e2\u30c7\u30eb\u306e\u5b66\u7fd2\u30fb\u4e88\u6e2c<\/td><\/tr>\n<tr><td>\u97f3\u58f0\u30c7\u30fc\u30bf<\/td><td>\u6642\u9593\u3054\u3068\u306e\u6ce2\u5f62\u3092\u6570\u5024\u5316\u3057\u3066\u4e26\u3079\u305f\u3082\u306e<\/td><td>\u97f3\u58f0\u8a8d\u8b58\u30fb\u97f3\u58f0\u5408\u6210<\/td><\/tr>\n<tr><td>\u5ea7\u6a19\u5909\u63db\uff08CG\u30fb\u30b2\u30fc\u30e0\uff09<\/td><td>\u56de\u8ee2\u30fb\u62e1\u5927\u7e2e\u5c0f\u3092\u884c\u5217\u306e\u639b\u3051\u7b97\u3067\u8868\u73fe<\/td><td>\u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u51e6\u7406\u30fb\u30b2\u30fc\u30e0\u958b\u767a<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300c\u884c\u5217\uff1d\u96e3\u3057\u3044\u6570\u5b66\u300d\u3068\u3044\u3046\u30a4\u30e1\u30fc\u30b8\u304c\u5148\u884c\u3057\u304c\u3061\u3067\u3059\u304c\u3001\u5b9f\u52d9\u3067Python\u3092\u4f7f\u3046\u5834\u5408\u306fNumPy\u304c\u8a08\u7b97\u306e\u4e2d\u8eab\u3092\u5168\u90e8\u3084\u3063\u3066\u304f\u308c\u307e\u3059\u3002\u79c1\u305f\u3061\u304c\u7406\u89e3\u3059\u3079\u304d\u306f\u300c\u4f55\u3092\u3057\u305f\u3044\u304b\u300d\u3092\u6b63\u3057\u304f\u30b3\u30fc\u30c9\u306b\u843d\u3068\u3057\u8fbc\u3080\u90e8\u5206\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">1-1. \u30ea\u30b9\u30c8\u3068\u884c\u5217\u306e\u9055\u3044<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Python\u306b\u306f\u5143\u3005\u300c\u30ea\u30b9\u30c8\u300d\u3068\u3044\u3046\u30c7\u30fc\u30bf\u69cb\u9020\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u884c\u5217\uff08\u591a\u6b21\u5143\u914d\u5217\uff09\u3092\u52b9\u7387\u3088\u304f\u6271\u3046\u305f\u3081\u306b\u306fNumPy\u306endarray\u3092\u4f7f\u3046\u306e\u304c\u5b9f\u52d9\u3067\u306f\u57fa\u672c\u3067\u3059\u3002\u4e21\u8005\u306e\u9055\u3044\u3092\u6574\u7406\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u6bd4\u8f03\u8ef8<\/th><th>\u6a19\u6e96\u306e\u30ea\u30b9\u30c8\uff08list\uff09<\/th><th>NumPy\u914d\u5217\uff08ndarray\uff09<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u8a08\u7b97\u901f\u5ea6<\/td><td>\u25b3 \u8981\u7d20\u6570\u304c\u5897\u3048\u308b\u3068\u9045\u304f\u306a\u308a\u3084\u3059\u3044<\/td><td>\u25ce \u5185\u90e8\u3067C\u8a00\u8a9e\u5b9f\u88c5\u3055\u308c\u3066\u304a\u308a\u9ad8\u901f<\/td><\/tr>\n<tr><td>\u56db\u5247\u6f14\u7b97\u306e\u66f8\u304d\u3084\u3059\u3055<\/td><td>\u25b3 \u30eb\u30fc\u30d7\u30671\u8981\u7d20\u305a\u3064\u51e6\u7406\u304c\u5fc5\u8981<\/td><td>\u25ce \u914d\u5217\u5168\u4f53\u306b\u5bfe\u3057\u3066\u76f4\u63a5\u6f14\u7b97\u3067\u304d\u308b<\/td><\/tr>\n<tr><td>\u591a\u6b21\u5143\u30c7\u30fc\u30bf\u306e\u6271\u3044<\/td><td>\u25b3 \u30ea\u30b9\u30c8\u306e\u30ea\u30b9\u30c8\u3067\u8868\u73fe\u3001\u64cd\u4f5c\u304c\u7169\u96d1<\/td><td>\u25ce shape\/reshape\u7b49\u306e\u5c02\u7528\u6a5f\u80fd\u304c\u8c4a\u5bcc<\/td><\/tr>\n<tr><td>\u30e1\u30e2\u30ea\u52b9\u7387<\/td><td>\u25b3 \u5404\u8981\u7d20\u304c\u30d0\u30e9\u30d0\u30e9\u306b\u7ba1\u7406\u3055\u308c\u308b<\/td><td>\u25ce \u9023\u7d9a\u3057\u305f\u30e1\u30e2\u30ea\u9818\u57df\u306b\u307e\u3068\u3081\u3066\u683c\u7d0d<\/td><\/tr>\n<tr><td>\u753b\u50cf\u30fb\u6a5f\u68b0\u5b66\u7fd2\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u306e\u9023\u643a<\/td><td>\u25b3 \u5909\u63db\u304c\u5fc5\u8981\u306a\u5834\u5408\u304c\u591a\u3044<\/td><td>\u25ce \u305d\u306e\u307e\u307e\u6e21\u305b\u308b\u3053\u3068\u304c\u591a\u3044<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">\u8ff7\u3063\u305f\u3089NumPy\u3092\u4f7f\u3046<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u6570\u5024\u306e\u96c6\u307e\u308a\u30922\u6b21\u5143\u30fb3\u6b21\u5143\u3067\u6271\u3044\u305f\u3044\u5834\u9762\uff08\u8868\u5f62\u5f0f\u30c7\u30fc\u30bf\u30fb\u753b\u50cf\u30fb\u30bb\u30f3\u30b5\u30fc\u30c7\u30fc\u30bf\u306a\u3069\uff09\u3067\u306f\u3001\u57fa\u672c\u7684\u306b\u30ea\u30b9\u30c8\u3067\u306f\u306a\u304fNumPy\u306endarray\u3092\u4f7f\u3046\u3068\u8003\u3048\u3066\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002\u5b9f\u52d9\u306ePython\u30b3\u30fc\u30c9\u306e\u307b\u3068\u3093\u3069\u304c\u3053\u306e\u524d\u63d0\u3067\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">1-2. NumPy\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u8aad\u307f\u8fbc\u307f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">NumPy\u306f\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u306f\u542b\u307e\u308c\u306a\u3044\u305f\u3081\u3001\u4e8b\u524d\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e2e;border-radius:10px;padding:20px 24px;margin:20px 0;font-family:monospace;font-size:14px;line-height:1.8;color:#cdd6f4;overflow-x:auto;white-space:pre;\">\n<span style=\"color:#6c7086;\"># \u30bf\u30fc\u30df\u30ca\u30eb\uff08\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\uff09\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span>\npip install numpy\n\n<span style=\"color:#6c7086;\"># Python\u30b3\u30fc\u30c9\u306e\u5148\u982d\u3067\u8aad\u307f\u8fbc\u3080\uff08np\u3068\u3044\u3046\u5225\u540d\u3067\u4f7f\u3046\u306e\u304c\u6163\u4f8b\uff09<\/span>\n<span style=\"color:#cba6f7;\">import<\/span> numpy <span style=\"color:#cba6f7;\">as<\/span> np\n<\/div>\n\n\n\n<div style=\"background:#fef2f2;border:2px solid #dc2626;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:20px;\">&#9888;&#65039;<\/span>\n    <strong style=\"color:#dc2626;font-size:16px;\">Google Colab\u306a\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u4e0d\u8981<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">Google Colab\uff08\u30d6\u30e9\u30a6\u30b6\u4e0a\u3067\u52d5\u304fPython\u5b9f\u884c\u74b0\u5883\uff09\u3092\u4f7f\u3046\u5834\u5408\u3001NumPy\u306f\u6700\u521d\u304b\u3089\u4f7f\u3048\u308b\u72b6\u614b\u3067\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u306e\u69cb\u7bc9\u306b\u4e0d\u5b89\u304c\u3042\u308b\u65b9\u306f\u3001Colab\u304b\u3089\u8a66\u3059\u306e\u304c\u6700\u3082\u624b\u8efd\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-python-numpy-matrix&#038;blog_slug=cc-python-numpy-matrix\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-python-numpy-matrix&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-02\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">02<\/span>\n  <span class=\"section-label\" style=\"display:block;\">CREATING MATRICES<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u884c\u5217\u306e\u4f5c\u6210\u65b9\u6cd5\uff08\u30ea\u30b9\u30c8\u3068NumPy\u306e\u9055\u3044\uff09<\/span>\n  <span class=\"section-desc\">\u30cd\u30b9\u30c8\u3057\u305f\u30ea\u30b9\u30c8\u304b\u3089NumPy\u914d\u5217\u3078\u306e\u5909\u63db\u65b9\u6cd5\u3092\u7406\u89e3\u3059\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Python\u3067\u884c\u5217\u3092\u4f5c\u308b\u65b9\u6cd5\u306f\u5927\u304d\u304f2\u901a\u308a\u3042\u308a\u307e\u3059\u3002\u6a19\u6e96\u306e\u30ea\u30b9\u30c8\u3092\u5165\u308c\u5b50\u306b\u3059\u308b\u65b9\u6cd5\u3068\u3001NumPy\u306e\u6a5f\u80fd\u3092\u4f7f\u3046\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2-1. \u30ea\u30b9\u30c8\u3067\u884c\u5217\uff08\u98a8\u306e\u30c7\u30fc\u30bf\uff09\u3092\u4f5c\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30ea\u30b9\u30c8\u306e\u30ea\u30b9\u30c8\uff08\u30cd\u30b9\u30c8\u3057\u305f\u30ea\u30b9\u30c8\uff09\u3092\u4f7f\u3046\u3068\u3001\u898b\u305f\u76ee\u4e0a\u306f\u884c\u5217\u306e\u3088\u3046\u306a\u30c7\u30fc\u30bf\u3092\u4f5c\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u3053\u308c\u306f\u672c\u7269\u306e\u300c\u884c\u5217\u578b\u300d\u3067\u306f\u306a\u304f\u3001\u3042\u304f\u307e\u3067\u30ea\u30b9\u30c8\u304c\u30ea\u30b9\u30c8\u3092\u8981\u7d20\u3068\u3057\u3066\u6301\u3063\u3066\u3044\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e2e;border-radius:10px;padding:20px 24px;margin:20px 0;font-family:monospace;font-size:14px;line-height:1.8;color:#cdd6f4;overflow-x:auto;white-space:pre;\">\n<span style=\"color:#6c7086;\"># \u30ea\u30b9\u30c8\u30672\u884c3\u5217\u306e\u884c\u5217\u98a8\u30c7\u30fc\u30bf\u3092\u4f5c\u308b<\/span>\nmatrix_list = [\n    [1, 2, 3],\n    [4, 5, 6]\n]\n\n<span style=\"color:#6c7086;\"># 1\u884c\u76ee\u30fb2\u5217\u76ee\u306e\u5024\u3092\u53d6\u5f97\uff080\u756a\u304b\u3089\u6570\u3048\u308b\uff09<\/span>\n<span style=\"color:#89b4fa;\">print<\/span>(matrix_list[0][1])  <span style=\"color:#6c7086;\"># \u51fa\u529b: 2<\/span>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2-2. NumPy\u306earray()\u95a2\u6570\u3067\u884c\u5217\u3092\u4f5c\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>np.array()<\/code>\u95a2\u6570\u306b\u30cd\u30b9\u30c8\u3057\u305f\u30ea\u30b9\u30c8\u3092\u6e21\u3059\u3068\u3001NumPy\u306endarray\uff08\u591a\u6b21\u5143\u914d\u5217\uff09\u306b\u5909\u63db\u3055\u308c\u307e\u3059\u3002\u3053\u3053\u304b\u3089\u5148\u306e\u8a08\u7b97\u306f\u3059\u3079\u3066\u3053\u306endarray\u306b\u5bfe\u3057\u3066\u884c\u3046\u306e\u304c\u57fa\u672c\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e2e;border-radius:10px;padding:20px 24px;margin:20px 0;font-family:monospace;font-size:14px;line-height:1.8;color:#cdd6f4;overflow-x:auto;white-space:pre;\">\n<span style=\"color:#cba6f7;\">import<\/span> numpy <span style=\"color:#cba6f7;\">as<\/span> np\n\n<span style=\"color:#6c7086;\"># NumPy\u914d\u5217\u3068\u3057\u30662\u884c3\u5217\u306e\u884c\u5217\u3092\u4f5c\u308b<\/span>\nmatrix = np.array([\n    [1, 2, 3],\n    [4, 5, 6]\n])\n\n<span style=\"color:#89b4fa;\">print<\/span>(matrix)\n<span style=\"color:#6c7086;\"># \u51fa\u529b:\n# [[1 2 3]\n#  [4 5 6]]<\/span>\n\n<span style=\"color:#89b4fa;\">print<\/span>(<span style=\"color:#f9e2af;\">type<\/span>(matrix))  <span style=\"color:#6c7086;\"># &lt;class 'numpy.ndarray'&gt;<\/span>\n<\/div>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>ndarray\uff08N-dimensional array\uff09<\/strong>\uff1aNumPy\u304c\u63d0\u4f9b\u3059\u308b\u591a\u6b21\u5143\u914d\u5217\u5c02\u7528\u306e\u30c7\u30fc\u30bf\u578b\u3002\u300cN\u6b21\u5143\u914d\u5217\u300d\u306e\u7565\u3067\u30011\u6b21\u5143\uff08\u30d9\u30af\u30c8\u30eb\uff09\u30fb2\u6b21\u5143\uff08\u884c\u5217\uff09\u30fb3\u6b21\u5143\u4ee5\u4e0a\uff08\u30c6\u30f3\u30bd\u30eb\uff09\u307e\u3067\u7d71\u4e00\u7684\u306b\u6271\u3048\u307e\u3059\u3002Python\u306e\u6a19\u6e96\u30ea\u30b9\u30c8\u3068\u9055\u3044\u3001\u540c\u3058\u578b\u306e\u30c7\u30fc\u30bf\u3092\u52b9\u7387\u3088\u304f\u307e\u3068\u3081\u3066\u8a08\u7b97\u3067\u304d\u308b\u3088\u3046\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">2-3. \u7279\u6b8a\u306a\u884c\u5217\u3092\u4e00\u767a\u3067\u4f5c\u308b\u4fbf\u5229\u95a2\u6570<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">NumPy\u306b\u306f\u3001\u3088\u304f\u4f7f\u3046\u7279\u5b9a\u306e\u5f62\u306e\u884c\u5217\u30921\u884c\u3067\u751f\u6210\u3067\u304d\u308b\u4fbf\u5229\u306a\u95a2\u6570\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u95a2\u6570<\/th><th>\u751f\u6210\u3055\u308c\u308b\u884c\u5217<\/th><th>\u30b3\u30fc\u30c9\u4f8b<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>np.zeros((\u884c,\u5217))<\/td><td>\u3059\u3079\u3066\u306e\u8981\u7d20\u304c0\u306e\u884c\u5217<\/td><td>np.zeros((2, 3))<\/td><\/tr>\n<tr><td>np.ones((\u884c,\u5217))<\/td><td>\u3059\u3079\u3066\u306e\u8981\u7d20\u304c1\u306e\u884c\u5217<\/td><td>np.ones((2, 3))<\/td><\/tr>\n<tr><td>np.eye(n)<\/td><td>n\u00d7n\u306e\u5358\u4f4d\u884c\u5217\uff08\u5bfe\u89d2\u7dda\u4e0a\u304c1\u3001\u4ed6\u306f0\uff09<\/td><td>np.eye(3)<\/td><\/tr>\n<tr><td>np.arange(n).reshape(\u884c,\u5217)<\/td><td>\u9023\u756a\u306e\u6570\u5024\u3092\u6307\u5b9a\u306e\u5f62\u306b\u4e26\u3079\u305f\u884c\u5217<\/td><td>np.arange(6).reshape(2, 3)<\/td><\/tr>\n<tr><td>np.random.rand(\u884c,\u5217)<\/td><td>0\u301c1\u306e\u30e9\u30f3\u30c0\u30e0\u306a\u5024\u306e\u884c\u5217<\/td><td>np.random.rand(2, 3)<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">np.zeros()\u3084np.ones()\u306f\u3001\u5f8c\u304b\u3089\u5024\u3092\u66f8\u304d\u8fbc\u3093\u3067\u3044\u304f\u300c\u5165\u308c\u7269\u300d\u3092\u5148\u306b\u7528\u610f\u3057\u3066\u304a\u304d\u305f\u3044\u3068\u304d\u306b\u3088\u304f\u4f7f\u3044\u307e\u3059\u3002\u51e6\u7406\u901f\u5ea6\u306e\u89b3\u70b9\u3067\u3082\u3001\u3042\u3089\u304b\u3058\u3081\u30b5\u30a4\u30ba\u3092\u78ba\u4fdd\u3057\u3066\u304a\u304f\u66f8\u304d\u65b9\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-python-numpy-matrix&#038;blog_slug=cc-python-numpy-matrix\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-python-numpy-matrix&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-03\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">03<\/span>\n  <span class=\"section-label\" style=\"display:block;\">BASIC OPERATIONS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u884c\u5217\u64cd\u4f5c\u306e\u57fa\u672c\uff08\u5f62\u72b6\u78ba\u8a8d\u30fbreshape\u30fb\u8ee2\u7f6e\uff09<\/span>\n  <span class=\"section-desc\">\u884c\u5217\u306e\u300c\u304b\u305f\u3061\u300d\u3092\u78ba\u8a8d\u30fb\u5909\u66f4\u3059\u308b\u57fa\u672c\u64cd\u4f5c\u3092\u8eab\u306b\u3064\u3051\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u884c\u5217\u3092\u6271\u3046\u4e0a\u3067\u307e\u305a\u8eab\u306b\u3064\u3051\u308b\u3079\u304d\u306f\u3001\u300c\u4eca\u3053\u306e\u884c\u5217\u304c\u3069\u3093\u306a\u5f62\u3092\u3057\u3066\u3044\u308b\u304b\u300d\u3092\u78ba\u8a8d\u3057\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u5f62\u3092\u5909\u3048\u308b\u64cd\u4f5c\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3-1. shape\u5c5e\u6027\u3067\u884c\u5217\u306e\u5f62\u72b6\u3092\u78ba\u8a8d\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>.shape<\/code>\u306f\u3001\u884c\u5217\u304c\u300c\u4f55\u884c\u00d7\u4f55\u5217\u300d\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u308b\u304b\u3092\u30bf\u30d7\u30eb\uff08\u6570\u5024\u306e\u7d44\uff09\u3067\u8fd4\u3059\u5c5e\u6027\u3067\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e2e;border-radius:10px;padding:20px 24px;margin:20px 0;font-family:monospace;font-size:14px;line-height:1.8;color:#cdd6f4;overflow-x:auto;white-space:pre;\">\nmatrix = np.array([\n    [1, 2, 3],\n    [4, 5, 6]\n])\n\n<span style=\"color:#89b4fa;\">print<\/span>(matrix.shape)  <span style=\"color:#6c7086;\"># \u51fa\u529b: (2, 3) \u2192 2\u884c3\u5217<\/span>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3-2. size\u5c5e\u6027\u3067\u8981\u7d20\u306e\u7dcf\u6570\u3092\u78ba\u8a8d\u3059\u308b<\/h3>\n\n\n\n<div style=\"background:#1e1e2e;border-radius:10px;padding:20px 24px;margin:20px 0;font-family:monospace;font-size:14px;line-height:1.8;color:#cdd6f4;overflow-x:auto;white-space:pre;\">\n<span style=\"color:#89b4fa;\">print<\/span>(matrix.size)   <span style=\"color:#6c7086;\"># \u51fa\u529b: 6 \u2192 \u5168\u90e8\u30676\u500b\u306e\u8981\u7d20<\/span>\n<\/div>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>\u5c5e\u6027\uff08Attribute\uff09\u3068\u30e1\u30bd\u30c3\u30c9\uff08Method\uff09<\/strong>\uff1ashape\u3084size\u306e\u3088\u3046\u306b\u3001\u5024\u3092\u305d\u306e\u307e\u307e\u53d6\u5f97\u3067\u304d\u308b\u3082\u306e\u3092\u300c\u5c5e\u6027\u300d\u3068\u547c\u3073\u3001reshape()\u3084max()\u306e\u3088\u3046\u306b\u30ab\u30c3\u30b3\u3092\u4ed8\u3051\u3066\u5b9f\u884c\u3059\u308b\u3082\u306e\u3092\u300c\u30e1\u30bd\u30c3\u30c9\u300d\u3068\u547c\u3073\u307e\u3059\u3002\u5c5e\u6027\u306b\u306f\u30ab\u30c3\u30b3\u3092\u4ed8\u3051\u306a\u3044\u70b9\u304c\u3001\u521d\u5b66\u8005\u304c\u3064\u307e\u305a\u304d\u3084\u3059\u3044\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3-3. reshape()\u3067\u884c\u5217\u306e\u5f62\u3092\u5909\u63db\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>reshape()<\/code>\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3046\u3068\u3001\u8981\u7d20\u306e\u7dcf\u6570\u3092\u5909\u3048\u305a\u306b\u884c\u5217\u306e\u5f62\uff08\u884c\u6570\u00d7\u5217\u6570\uff09\u3092\u5909\u66f4\u3067\u304d\u307e\u3059\u3002<strong>\u5909\u63db\u524d\u5f8c\u3067\u8981\u7d20\u306e\u7dcf\u6570\u304c\u4e00\u81f4\u3057\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059<\/strong>\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e2e;border-radius:10px;padding:20px 24px;margin:20px 0;font-family:monospace;font-size:14px;line-height:1.8;color:#cdd6f4;overflow-x:auto;white-space:pre;\">\n<span style=\"color:#6c7086;\"># 6\u500b\u306e\u9023\u756a\u304b\u30892\u884c3\u5217\u306e\u884c\u5217\u3092\u4f5c\u308b<\/span>\na = np.arange(6)\n<span style=\"color:#89b4fa;\">print<\/span>(a)  <span style=\"color:#6c7086;\"># [0 1 2 3 4 5]<\/span>\n\nb = a.reshape(2, 3)\n<span style=\"color:#89b4fa;\">print<\/span>(b)\n<span style=\"color:#6c7086;\"># [[0 1 2]\n#  [3 4 5]]<\/span>\n\n<span style=\"color:#6c7086;\"># 3\u884c2\u5217\u306b\u3082\u5909\u63db\u3067\u304d\u308b\uff08\u8981\u7d20\u65706\u306f\u5909\u308f\u3089\u306a\u3044\uff09<\/span>\nc = a.reshape(3, 2)\n<\/div>\n\n\n\n<div style=\"background:#fef2f2;border:2px solid #dc2626;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:20px;\">&#9888;&#65039;<\/span>\n    <strong style=\"color:#dc2626;font-size:16px;\">reshape()\u306f\u8981\u7d20\u6570\u304c\u4e00\u81f4\u3057\u306a\u3044\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308b<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">6\u500b\u306e\u8981\u7d20\u3092\u6301\u3064\u914d\u5217\u3092(2, 4)\u306e\u3088\u3046\u306a\u5f62\u306breshape\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u300ccannot reshape array of size 6 into shape (2,4)\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3059\u3002\u5909\u63db\u524d\u5f8c\u3067\u300c\u884c\u6570\u00d7\u5217\u6570\uff1d\u8981\u7d20\u306e\u7dcf\u6570\u300d\u304c\u4e00\u81f4\u3057\u3066\u3044\u308b\u3053\u3068\u3092\u5fc5\u305a\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">3-4. T\u5c5e\u6027\u3067\u884c\u5217\u3092\u8ee2\u7f6e\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u8ee2\u7f6e\u3068\u306f\u3001\u884c\u3068\u5217\u3092\u5165\u308c\u66ff\u3048\u308b\u64cd\u4f5c\u3067\u3059\u3002NumPy\u3067\u306f<code>.T<\/code>\u3068\u3044\u3046\u5c5e\u6027\u3092\u4f7f\u3046\u3060\u3051\u3067\u8ee2\u7f6e\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e2e;border-radius:10px;padding:20px 24px;margin:20px 0;font-family:monospace;font-size:14px;line-height:1.8;color:#cdd6f4;overflow-x:auto;white-space:pre;\">\nmatrix = np.array([\n    [1, 2, 3],\n    [4, 5, 6]\n])\n<span style=\"color:#6c7086;\"># matrix.shape\u306f(2, 3)<\/span>\n\ntransposed = matrix.T\n<span style=\"color:#89b4fa;\">print<\/span>(transposed)\n<span style=\"color:#6c7086;\"># [[1 4]\n#  [2 5]\n#  [3 6]]<\/span>\n<span style=\"color:#6c7086;\"># transposed.shape\u306f(3, 2)\u306b\u306a\u308b<\/span>\n<\/div>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>\u8ee2\u7f6e\uff08Transpose\uff09<\/strong>\uff1a\u884c\u5217\u306e\u884c\u3068\u5217\u3092\u5165\u308c\u66ff\u3048\u308b\u64cd\u4f5c\u3002m\u884cn\u5217\u306e\u884c\u5217\u3092\u8ee2\u7f6e\u3059\u308b\u3068\u3001n\u884cm\u5217\u306e\u884c\u5217\u306b\u306a\u308a\u307e\u3059\u3002\u6570\u5b66\u306e\u884c\u5217\u8a08\u7b97\u3060\u3051\u3067\u306a\u304f\u3001\u30c7\u30fc\u30bf\u306e\u5411\u304d\uff08\u7e26\u6301\u3061\u30fb\u6a2a\u6301\u3061\uff09\u3092\u5909\u63db\u3057\u305f\u3044\u3068\u304d\u306b\u3082\u3088\u304f\u4f7f\u308f\u308c\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">shape\u30fbreshape\u30fb\u8ee2\u7f6e\u306e3\u3064\u306f\u3001\u884c\u5217\u3092\u6271\u3046\u4e0a\u3067\u306e\u300c\u4f53\u5e79\u300d\u306b\u3042\u305f\u308b\u64cd\u4f5c\u3067\u3059\u3002\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3068\u304d\u3082\u3001\u307e\u305a\u300c\u4eca\u3069\u3093\u306a\u5f62\u3092\u3057\u3066\u3044\u308b\u304b\u300d\u3092print(shape)\u3067\u78ba\u8a8d\u3059\u308b\u7656\u3092\u3064\u3051\u3066\u304a\u304f\u3068\u3001\u539f\u56e0\u306e8\u5272\u306f\u3059\u3050\u306b\u898b\u3064\u304b\u308a\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-python-numpy-matrix&#038;blog_slug=cc-python-numpy-matrix\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-python-numpy-matrix&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-04\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">04<\/span>\n  <span class=\"section-label\" style=\"display:block;\">MATRIX CALCULATIONS<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u884c\u5217\u8a08\u7b97\uff08\u8db3\u3057\u7b97\u30fb\u5f15\u304d\u7b97\u30fb\u639b\u3051\u7b97\u30fb\u5272\u308a\u7b97\uff09<\/span>\n  <span class=\"section-desc\">\u300c\u8981\u7d20\u3054\u3068\u306e\u8a08\u7b97\u300d\u3068\u300c\u884c\u5217\u7a4d\u300d\u306e\u9055\u3044\u3092\u6b63\u78ba\u306b\u7406\u89e3\u3059\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">NumPy\u306e\u884c\u5217\u8a08\u7b97\u3067\u6700\u3082\u9593\u9055\u3048\u3084\u3059\u3044\u306e\u304c\u3001<strong>\u300c\u8981\u7d20\u3054\u3068\u306e\u8a08\u7b97\u300d\u3068\u300c\u884c\u5217\u3068\u3057\u3066\u306e\u639b\u3051\u7b97\uff08\u884c\u5217\u7a4d\uff09\u300d\u306e\u9055\u3044<\/strong>\u3067\u3059\u3002\u3053\u3053\u3092\u6b63\u3057\u304f\u7406\u89e3\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u3001\u3053\u306e\u7ae0\u3067\u6700\u3082\u91cd\u8981\u306a\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4-1. \u8db3\u3057\u7b97\u30fb\u5f15\u304d\u7b97\uff08\u8981\u7d20\u3054\u3068\u306e\u8a08\u7b97\uff09<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u540c\u3058\u5f62\uff08shape\uff09\u3092\u6301\u3064\u884c\u5217\u540c\u58eb\u306f\u3001<code>+<\/code>\u3084<code>-<\/code>\u3067\u76f4\u611f\u7684\u306b\u8a08\u7b97\u3067\u304d\u307e\u3059\u3002\u540c\u3058\u4f4d\u7f6e\u306b\u3042\u308b\u8981\u7d20\u540c\u58eb\u304c\u8a08\u7b97\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e2e;border-radius:10px;padding:20px 24px;margin:20px 0;font-family:monospace;font-size:14px;line-height:1.8;color:#cdd6f4;overflow-x:auto;white-space:pre;\">\na = np.array([[1, 2], [3, 4]])\nb = np.array([[5, 6], [7, 8]])\n\n<span style=\"color:#89b4fa;\">print<\/span>(a + b)\n<span style=\"color:#6c7086;\"># [[ 6  8]\n#  [10 12]]<\/span>\n\n<span style=\"color:#89b4fa;\">print<\/span>(a - b)\n<span style=\"color:#6c7086;\"># [[-4 -4]\n#  [-4 -4]]<\/span>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">4-2. \u3010\u91cd\u8981\u3011\u639b\u3051\u7b97\u306b\u306f2\u7a2e\u985e\u3042\u308b<\/h3>\n\n\n\n<div style=\"background:#fef2f2;border:2px solid #dc2626;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:20px;\">&#9888;&#65039;<\/span>\n    <strong style=\"color:#dc2626;font-size:16px;\">*\uff08\u30a2\u30b9\u30bf\u30ea\u30b9\u30af\uff09\u306f\u300c\u8981\u7d20\u3054\u3068\u306e\u639b\u3051\u7b97\u300d\u3067\u3042\u308a\u300c\u884c\u5217\u306e\u639b\u3051\u7b97\u300d\u3067\u306f\u306a\u3044<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">NumPy\u914d\u5217\u540c\u58eb\u3092<code>*<\/code>\u3067\u8a08\u7b97\u3059\u308b\u3068\u3001\u6570\u5b66\u7684\u306a\u300c\u884c\u5217\u306e\u7a4d\uff08\u884c\u5217\u7a4d\uff09\u300d\u3067\u306f\u306a\u304f\u3001<strong>\u540c\u3058\u4f4d\u7f6e\u306e\u8981\u7d20\u540c\u58eb\u3092\u305d\u308c\u305e\u308c\u639b\u3051\u7b97\u3059\u308b<\/strong>\u7d50\u679c\u306b\u306a\u308a\u307e\u3059\u3002\u884c\u5217\u3068\u3057\u3066\u306e\u6b63\u3057\u3044\u639b\u3051\u7b97\u3092\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u5f8c\u8ff0\u3059\u308b<code>np.dot()<\/code>\u307e\u305f\u306f<code>@<\/code>\u6f14\u7b97\u5b50\u3092\u4f7f\u3046\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div style=\"background:#1e1e2e;border-radius:10px;padding:20px 24px;margin:20px 0;font-family:monospace;font-size:14px;line-height:1.8;color:#cdd6f4;overflow-x:auto;white-space:pre;\">\na = np.array([[1, 2], [3, 4]])\nb = np.array([[5, 6], [7, 8]])\n\n<span style=\"color:#6c7086;\"># \u8981\u7d20\u3054\u3068\u306e\u639b\u3051\u7b97\uff08\u30a2\u30c0\u30de\u30fc\u30eb\u7a4d\uff09<\/span>\n<span style=\"color:#89b4fa;\">print<\/span>(a * b)\n<span style=\"color:#6c7086;\"># [[ 5 12]\n#  [21 32]]<\/span>\n\n<span style=\"color:#6c7086;\"># \u884c\u5217\u7a4d\uff08\u7dda\u5f62\u4ee3\u6570\u3068\u3057\u3066\u306e\u6b63\u3057\u3044\u639b\u3051\u7b97\uff09<\/span>\n<span style=\"color:#89b4fa;\">print<\/span>(np.dot(a, b))\n<span style=\"color:#6c7086;\"># [[19 22]\n#  [43 50]]<\/span>\n\n<span style=\"color:#6c7086;\"># @\u6f14\u7b97\u5b50\u3067\u3082\u540c\u3058\u7d50\u679c\uff08Python 3.5\u4ee5\u964d\uff09<\/span>\n<span style=\"color:#89b4fa;\">print<\/span>(a @ b)\n<span style=\"color:#6c7086;\"># [[19 22]\n#  [43 50]]<\/span>\n<\/div>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>\u884c\u5217\u7a4d\uff08Matrix Product\uff09<\/strong>\uff1a\u6570\u5b66\u7684\u306b\u5b9a\u7fa9\u3055\u308c\u305f\u300c\u884c\u5217\u540c\u58eb\u306e\u6b63\u3057\u3044\u639b\u3051\u7b97\u300d\u30021\u3064\u76ee\u306e\u884c\u5217\u306e\u5404\u884c\u3068\u30012\u3064\u76ee\u306e\u884c\u5217\u306e\u5404\u5217\u306e\u8981\u7d20\u540c\u58eb\u3092\u639b\u3051\u3066\u5408\u8a08\u3059\u308b\u3001\u3068\u3044\u3046\u898f\u5247\u3067\u8a08\u7b97\u3055\u308c\u307e\u3059\u3002NumPy\u3067\u306fnp.dot()\u307e\u305f\u306f@\u6f14\u7b97\u5b50\u3092\u4f7f\u3044\u307e\u3059\u3002\u8981\u7d20\u3054\u3068\u306e\u5358\u7d14\u306a\u639b\u3051\u7b97\uff08\u30a2\u30c0\u30de\u30fc\u30eb\u7a4d\uff09\u3068\u306f\u5168\u304f\u7570\u306a\u308b\u7d50\u679c\u306b\u306a\u308b\u305f\u3081\u3001\u6df7\u540c\u3057\u306a\u3044\u3088\u3046\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<table>\n<thead><tr><th>\u66f8\u304d\u65b9<\/th><th>\u610f\u5473<\/th><th>\u8a08\u7b97\u65b9\u6cd5<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>a * b<\/td><td>\u8981\u7d20\u3054\u3068\u306e\u639b\u3051\u7b97\uff08\u30a2\u30c0\u30de\u30fc\u30eb\u7a4d\uff09<\/td><td>\u540c\u3058\u4f4d\u7f6e\u306e\u5024\u3092\u305d\u306e\u307e\u307e\u639b\u3051\u7b97<\/td><\/tr>\n<tr><td>np.dot(a, b)<\/td><td>\u884c\u5217\u7a4d\uff08\u7dda\u5f62\u4ee3\u6570\u306e\u6b63\u3057\u3044\u639b\u3051\u7b97\uff09<\/td><td>\u884c\u3068\u5217\u306e\u5185\u7a4d\u3092\u8a08\u7b97<\/td><\/tr>\n<tr><td>a @ b<\/td><td>np.dot(a, b)\u3068\u540c\u3058\uff08\u8aad\u307f\u3084\u3059\u3044\u8a18\u6cd5\uff09<\/td><td>\u884c\u3068\u5217\u306e\u5185\u7a4d\u3092\u8a08\u7b97<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<h3 class=\"wp-block-heading\">4-3. \u5272\u308a\u7b97\uff08\u8981\u7d20\u3054\u3068\u306e\u9664\u7b97\uff09<\/h3>\n\n\n\n<div style=\"background:#1e1e2e;border-radius:10px;padding:20px 24px;margin:20px 0;font-family:monospace;font-size:14px;line-height:1.8;color:#cdd6f4;overflow-x:auto;white-space:pre;\">\na = np.array([[10, 20], [30, 40]])\nb = np.array([[2, 4], [5, 8]])\n\n<span style=\"color:#89b4fa;\">print<\/span>(a \/ b)\n<span style=\"color:#6c7086;\"># [[5. 5.]\n#  [6. 5.]]<\/span>\n<\/div>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">\u884c\u5217\u7a4d\u304c\u3067\u304d\u308b\u6761\u4ef6<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u884c\u5217\u7a4d\uff08np.dot \/ @\uff09\u304c\u6210\u7acb\u3059\u308b\u306b\u306f\u300c1\u3064\u76ee\u306e\u884c\u5217\u306e\u5217\u6570\u300d\u3068\u300c2\u3064\u76ee\u306e\u884c\u5217\u306e\u884c\u6570\u300d\u304c\u4e00\u81f4\u3057\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4e00\u81f4\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u300cshapes not aligned\u300d\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u306e\u3067\u3001\u307e\u305ashape\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300c*\u300d\u3068\u300cnp.dot()\u300d\u3092\u9593\u9055\u3048\u3066\u4f7f\u3046\u30d0\u30b0\u306f\u3001Python\u00d7NumPy\u306e\u521d\u5b66\u8005\u304c\u6700\u3082\u8e0f\u307f\u3084\u3059\u3044\u843d\u3068\u3057\u7a74\u306e\u3072\u3068\u3064\u3067\u3059\u3002\u30a8\u30e9\u30fc\u306b\u306a\u3089\u305a\u306b\u8a08\u7b97\u7d50\u679c\u3060\u3051\u304c\u9055\u3046\u30b1\u30fc\u30b9\u3082\u3042\u308b\u306e\u3067\u3001\u884c\u5217\u306e\u639b\u3051\u7b97\u3092\u3059\u308b\u6642\u306f\u5fc5\u305a\u300c\u8981\u7d20\u3054\u3068\u304b\u3001\u884c\u5217\u7a4d\u304b\u300d\u3092\u610f\u8b58\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-python-numpy-matrix&#038;blog_slug=cc-python-numpy-matrix\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-python-numpy-matrix&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-05\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">05<\/span>\n  <span class=\"section-label\" style=\"display:block;\">IMAGE AS MATRIX<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u753b\u50cf\u30c7\u30fc\u30bf\u3092NumPy\u884c\u5217\u3068\u3057\u3066\u6271\u3046\u5b9f\u8df5\u7de8<\/span>\n  <span class=\"section-desc\">\u753b\u50cf\u51e6\u7406\u30fbAI\u5206\u91ce\u3067\u884c\u5217\u304c\u4f7f\u308f\u308c\u308b\u7406\u7531\u3092\u5b9f\u4f8b\u3067\u7406\u89e3\u3059\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u884c\u5217\u306e\u4ee3\u8868\u7684\u306a\u5b9f\u52d9\u6d3b\u7528\u4f8b\u304c<strong>\u753b\u50cf\u30c7\u30fc\u30bf\u306e\u51e6\u7406<\/strong>\u3067\u3059\u3002\u30c7\u30b8\u30bf\u30eb\u753b\u50cf\u306f\u3001\u5b9f\u306f\u5185\u90e8\u7684\u306b\u300c\u6570\u5024\u304c\u4e26\u3093\u3060\u884c\u5217\uff08\u6b63\u78ba\u306b\u306f3\u6b21\u5143\u914d\u5217\uff09\u300d\u3068\u3057\u3066\u6271\u308f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">5-1. \u306a\u305c\u753b\u50cf\u30c7\u30fc\u30bf\u3092\u884c\u5217\u3067\u6271\u3046\u306e\u304b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u753b\u50cf\u306f\u7121\u6570\u306e\u5c0f\u3055\u306a\u70b9\uff08\u30d4\u30af\u30bb\u30eb\uff09\u306e\u96c6\u307e\u308a\u3067\u3067\u304d\u3066\u304a\u308a\u3001\u5404\u30d4\u30af\u30bb\u30eb\u306f\u8272\u306e\u60c5\u5831\u3092\u6570\u5024\uff080\u301c255\uff09\u3067\u6301\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u300c\u7e26\u6a2a\u306b\u4e26\u3093\u3060\u6570\u5024\u300d\u304c\u307e\u3055\u306b\u884c\u5217\u305d\u306e\u3082\u306e\u3067\u3059\u3002\u30ab\u30e9\u30fc\u753b\u50cf\u306e\u5834\u5408\u306f\u3001\u8d64\uff08R\uff09\u30fb\u7dd1\uff08G\uff09\u30fb\u9752\uff08B\uff09\u306e3\u30c1\u30e3\u30f3\u30cd\u30eb\u5206\u306e\u30c7\u30fc\u30bf\u304c\u91cd\u306a\u3063\u305f3\u6b21\u5143\u914d\u5217\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<table>\n<thead><tr><th>\u753b\u50cf\u306e\u7a2e\u985e<\/th><th>\u30c7\u30fc\u30bf\u306e\u5f62\uff08shape\uff09<\/th><th>\u610f\u5473<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u30b0\u30ec\u30fc\u30b9\u30b1\u30fc\u30eb\u753b\u50cf<\/td><td>(\u9ad8\u3055, \u5e45)<\/td><td>\u5404\u30d4\u30af\u30bb\u30eb\u304c\u660e\u308b\u30551\u3064\u306e\u5024\uff080\u301c255\uff09\u3092\u6301\u30642\u6b21\u5143\u884c\u5217<\/td><\/tr>\n<tr><td>\u30ab\u30e9\u30fc\u753b\u50cf\uff08RGB\uff09<\/td><td>(\u9ad8\u3055, \u5e45, 3)<\/td><td>\u5404\u30d4\u30af\u30bb\u30eb\u304cR\u30fbG\u30fbB\u306e3\u3064\u306e\u5024\u3092\u6301\u30643\u6b21\u5143\u914d\u5217<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>\u30d4\u30af\u30bb\u30eb\uff08Pixel\uff09<\/strong>\uff1a\u30c7\u30b8\u30bf\u30eb\u753b\u50cf\u3092\u69cb\u6210\u3059\u308b\u6700\u5c0f\u5358\u4f4d\u306e\u70b9\u30021\u679a\u306e\u753b\u50cf\u306f\u7e26\u00d7\u6a2a\u306e\u30d4\u30af\u30bb\u30eb\u306e\u96c6\u307e\u308a\u3067\u3042\u308a\u3001\u5404\u30d4\u30af\u30bb\u30eb\u304c\u8272\u3084\u660e\u308b\u3055\u306e\u60c5\u5831\u3092\u6570\u5024\u3067\u6301\u3063\u3066\u3044\u307e\u3059\u3002\u300cPicture Element\u300d\u306e\u7565\u3067\u3001\u753b\u50cf\u3092\u884c\u5217\u3068\u3057\u3066\u6271\u3046\u969b\u306e1\u30de\u30b9\u306b\u76f8\u5f53\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">5-2. Pillow\u3067\u753b\u50cf\u3092\u8aad\u307f\u8fbc\u307fNumPy\u914d\u5217\u306b\u5909\u63db\u3059\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u753b\u50cf\u51e6\u7406\u3067\u3088\u304f\u4f7f\u308f\u308c\u308b<code>Pillow\uff08PIL\uff09<\/code>\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u753b\u50cf\u3092\u8aad\u307f\u8fbc\u307f\u3001<code>np.array()<\/code>\u306b\u6e21\u3059\u3060\u3051\u3067\u3001\u753b\u50cf\u30c7\u30fc\u30bf\u3092NumPy\u884c\u5217\u3068\u3057\u3066\u6271\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e2e;border-radius:10px;padding:20px 24px;margin:20px 0;font-family:monospace;font-size:14px;line-height:1.8;color:#cdd6f4;overflow-x:auto;white-space:pre;\">\n<span style=\"color:#6c7086;\"># Pillow\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb: pip install Pillow<\/span>\n<span style=\"color:#cba6f7;\">from<\/span> PIL <span style=\"color:#cba6f7;\">import<\/span> Image\n<span style=\"color:#cba6f7;\">import<\/span> numpy <span style=\"color:#cba6f7;\">as<\/span> np\n\n<span style=\"color:#6c7086;\"># \u753b\u50cf\u3092\u8aad\u307f\u8fbc\u3080<\/span>\nimg = Image.open(<span style=\"color:#a6e3a1;\">\"sample.jpg\"<\/span>)\n\n<span style=\"color:#6c7086;\"># NumPy\u914d\u5217\uff08\u884c\u5217\uff09\u306b\u5909\u63db<\/span>\nimg_array = np.array(img)\n\n<span style=\"color:#89b4fa;\">print<\/span>(img_array.shape)  <span style=\"color:#6c7086;\"># \u4f8b: (480, 640, 3) \u2192 \u7e26480px\u00d7\u6a2a640px\u00d7RGB3\u30c1\u30e3\u30f3\u30cd\u30eb<\/span>\n<span style=\"color:#89b4fa;\">print<\/span>(img_array.dtype)  <span style=\"color:#6c7086;\"># uint8 \u2192 0\u301c255\u306e\u6574\u6570\u5024<\/span>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">5-3. \u884c\u5217\u6f14\u7b97\u3067\u7c21\u5358\u306a\u753b\u50cf\u51e6\u7406\u3092\u3057\u3066\u307f\u308b<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u753b\u50cf\u304cNumPy\u914d\u5217\u306b\u306a\u308c\u3070\u3001\u3053\u308c\u307e\u3067\u89e3\u8aac\u3057\u305f\u884c\u5217\u8a08\u7b97\u306e\u30c6\u30af\u30cb\u30c3\u30af\u304c\u305d\u306e\u307e\u307e\u753b\u50cf\u51e6\u7406\u306b\u4f7f\u3048\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u660e\u308b\u3055\u3092\u4e00\u5f8b\u3067\u5909\u3048\u308b\u51e6\u7406\u306f\u300c\u5168\u8981\u7d20\u306b\u6570\u5024\u3092\u8db3\u3059\u30fb\u639b\u3051\u308b\u300d\u3060\u3051\u3067\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#1e1e2e;border-radius:10px;padding:20px 24px;margin:20px 0;font-family:monospace;font-size:14px;line-height:1.8;color:#cdd6f4;overflow-x:auto;white-space:pre;\">\n<span style=\"color:#6c7086;\"># \u753b\u50cf\u5168\u4f53\u3092\u660e\u308b\u304f\u3059\u308b\uff08\u5404\u30d4\u30af\u30bb\u30eb\u306e\u5024\u306b30\u3092\u52a0\u7b97\uff09<\/span>\n<span style=\"color:#6c7086;\"># np.clip\u30670\u301c255\u306e\u7bc4\u56f2\u306b\u53ce\u3081\u308b\uff08255\u3092\u8d85\u3048\u306a\u3044\u3088\u3046\u306b\u3059\u308b\uff09<\/span>\nbrighter = np.clip(img_array.astype(<span style=\"color:#a6e3a1;\">\"int16\"<\/span>) + 30, 0, 255).astype(<span style=\"color:#a6e3a1;\">\"uint8\"<\/span>)\n\n<span style=\"color:#6c7086;\"># \u30b0\u30ec\u30fc\u30b9\u30b1\u30fc\u30eb\u5316\u306e\u30b7\u30f3\u30d7\u30eb\u306a\u4f8b\uff08RGB\u5e73\u5747\u3092\u53d6\u308b\uff09<\/span>\ngray = img_array.mean(axis=2).astype(<span style=\"color:#a6e3a1;\">\"uint8\"<\/span>)\n<span style=\"color:#89b4fa;\">print<\/span>(gray.shape)  <span style=\"color:#6c7086;\"># (480, 640) \u2192 3\u30c1\u30e3\u30f3\u30cd\u30eb\u5206\u304c\u306a\u304f\u306a\u308a2\u6b21\u5143\u306b<\/span>\n<\/div>\n\n\n\n<div style=\"background:#f0fdf4;border:1px solid #22c55e;border-radius:8px;padding:20px 24px;margin:24px 0;\">\n  <div style=\"display:flex;align-items:center;gap:8px;margin-bottom:12px;\">\n    <span style=\"font-size:18px;\">&#128161;<\/span>\n    <strong style=\"color:#16a34a;font-size:15px;\">np.clip()\u306e\u5f79\u5272<\/strong>\n  <\/div>\n  <p style=\"margin:0;font-size:15px;line-height:1.8;color:#333;\">\u753b\u50cf\u30c7\u30fc\u30bf\u306fuint8\u578b\uff080\u301c255\u306e\u6574\u6570\uff09\u3067\u8868\u73fe\u3055\u308c\u308b\u305f\u3081\u3001\u8a08\u7b97\u7d50\u679c\u304c\u3053\u306e\u7bc4\u56f2\u3092\u8d85\u3048\u308b\u3068\u8272\u5316\u3051\u306e\u539f\u56e0\u306b\u306a\u308a\u307e\u3059\u3002np.clip(\u5024, \u6700\u5c0f, \u6700\u5927)\u3067\u7bc4\u56f2\u3092\u5f37\u5236\u7684\u306b\u53ce\u3081\u3066\u304b\u3089\u578b\u3092\u623b\u3059\u306e\u304c\u5b89\u5168\u306a\u66f8\u304d\u65b9\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u753b\u50cf\u3082\u300c\u305f\u3060\u306e\u6570\u5024\u306e\u96c6\u307e\u308a\u300d\u3060\u3068\u6349\u3048\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u3001AI\u306b\u3088\u308b\u753b\u50cf\u8a8d\u8b58\u3084\u753b\u50cf\u52a0\u5de5\u306e\u4ed5\u7d44\u307f\u304c\u3050\u3063\u3068\u7406\u89e3\u3057\u3084\u3059\u304f\u306a\u308a\u307e\u3059\u3002\u96e3\u3057\u3044\u6570\u5b66\u7406\u8ad6\u3092\u899a\u3048\u308b\u3088\u308a\u5148\u306b\u3001\u307e\u305a\u3053\u306e\u300c\u753b\u50cf\uff1d\u884c\u5217\u300d\u3068\u3044\u3046\u611f\u899a\u3092\u6301\u3064\u3053\u3068\u304c\u7b2c\u4e00\u6b69\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-python-numpy-matrix&#038;blog_slug=cc-python-numpy-matrix\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-python-numpy-matrix&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-06\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">06<\/span>\n  <span class=\"section-label\" style=\"display:block;\">BUSINESS USE CASES<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u696d\u52d9\u3067\u3088\u304f\u4f7f\u3046NumPy\u884c\u5217\u6d3b\u7528\u30d1\u30bf\u30fc\u30f3\u96c6<\/span>\n  <span class=\"section-desc\">\u73fe\u5834\u306e\u30c7\u30fc\u30bf\u51e6\u7406\u3067\u305d\u306e\u307e\u307e\u4f7f\u3048\u308b\u5b9f\u88c5\u4f8b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u3067\u306f\u3001\u696d\u52d9\u30c7\u30fc\u30bf\u51e6\u7406\u306e\u73fe\u5834\u3067\u3088\u304f\u4f7f\u308f\u308c\u308bNumPy\u884c\u5217\u306e\u6d3b\u7528\u30d1\u30bf\u30fc\u30f3\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">6-1. \u8907\u6570\u5e97\u8217\u00d7\u8907\u6570\u6708\u306e\u58f2\u4e0a\u30c7\u30fc\u30bf\u3092\u96c6\u8a08\u3059\u308b<\/h3>\n\n\n\n<div style=\"background:#1e1e2e;border-radius:10px;padding:20px 24px;margin:20px 0;font-family:monospace;font-size:14px;line-height:1.8;color:#cdd6f4;overflow-x:auto;white-space:pre;\">\n<span style=\"color:#6c7086;\"># \u884c=\u5e97\u8217\u3001\u5217=\u6708 \u306e\u58f2\u4e0a\u30c7\u30fc\u30bf\uff08\u4e07\u5186\uff09<\/span>\nsales = np.array([\n    [120, 135, 142],  <span style=\"color:#6c7086;\"># \u5e97\u8217A<\/span>\n    [98, 110, 105],   <span style=\"color:#6c7086;\"># \u5e97\u8217B<\/span>\n    [150, 148, 160],  <span style=\"color:#6c7086;\"># \u5e97\u8217C<\/span>\n])\n\n<span style=\"color:#6c7086;\"># \u5e97\u8217\u3054\u3068\u306e\u5408\u8a08\uff08\u884c\u65b9\u5411\u306b\u5408\u8a08\u3001axis=1\uff09<\/span>\n<span style=\"color:#89b4fa;\">print<\/span>(sales.sum(axis=1))  <span style=\"color:#6c7086;\"># [397 313 458]<\/span>\n\n<span style=\"color:#6c7086;\"># \u6708\u3054\u3068\u306e\u5408\u8a08\uff08\u5217\u65b9\u5411\u306b\u5408\u8a08\u3001axis=0\uff09<\/span>\n<span style=\"color:#89b4fa;\">print<\/span>(sales.sum(axis=0))  <span style=\"color:#6c7086;\"># [368 393 407]<\/span>\n<\/div>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>axis\uff08\u8ef8\uff09<\/strong>\uff1aNumPy\u3067\u591a\u6b21\u5143\u914d\u5217\u306e\u300c\u3069\u306e\u65b9\u5411\u306b\u51e6\u7406\u3059\u308b\u304b\u300d\u3092\u6307\u5b9a\u3059\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u30022\u6b21\u5143\u914d\u5217\u3067\u306faxis=0\u304c\u7e26\u65b9\u5411\uff08\u5217\u3054\u3068\uff09\u3001axis=1\u304c\u6a2a\u65b9\u5411\uff08\u884c\u3054\u3068\uff09\u306e\u96c6\u8a08\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u3053\u306e\u5411\u304d\u306e\u611f\u899a\u306f\u521d\u5b66\u8005\u304c\u6df7\u4e71\u3057\u3084\u3059\u3044\u30dd\u30a4\u30f3\u30c8\u306a\u306e\u3067\u3001\u5b9f\u969b\u306b\u5c0f\u3055\u3044\u30c7\u30fc\u30bf\u3067\u8a66\u3057\u3066\u78ba\u8a8d\u3059\u308b\u306e\u304c\u78ba\u5b9f\u3067\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">6-2. \u6761\u4ef6\u306b\u5408\u3046\u30c7\u30fc\u30bf\u3060\u3051\u3092\u62bd\u51fa\u3059\u308b<\/h3>\n\n\n\n<div style=\"background:#1e1e2e;border-radius:10px;padding:20px 24px;margin:20px 0;font-family:monospace;font-size:14px;line-height:1.8;color:#cdd6f4;overflow-x:auto;white-space:pre;\">\nscores = np.array([65, 82, 45, 90, 58, 77])\n\n<span style=\"color:#6c7086;\"># 70\u70b9\u4ee5\u4e0a\u306e\u30c7\u30fc\u30bf\u3060\u3051\u3092\u62bd\u51fa<\/span>\npassed = scores[scores >= 70]\n<span style=\"color:#89b4fa;\">print<\/span>(passed)  <span style=\"color:#6c7086;\"># [82 90 77]<\/span>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">6-3. \u7d71\u8a08\u5024\uff08\u5e73\u5747\u30fb\u6700\u5927\u30fb\u6700\u5c0f\uff09\u3092\u4e00\u62ec\u3067\u6c42\u3081\u308b<\/h3>\n\n\n\n<div style=\"background:#1e1e2e;border-radius:10px;padding:20px 24px;margin:20px 0;font-family:monospace;font-size:14px;line-height:1.8;color:#cdd6f4;overflow-x:auto;white-space:pre;\">\ndata = np.array([[80, 90, 70], [60, 75, 85]])\n\n<span style=\"color:#89b4fa;\">print<\/span>(data.mean())  <span style=\"color:#6c7086;\"># \u5168\u4f53\u306e\u5e73\u5747: 76.666...<\/span>\n<span style=\"color:#89b4fa;\">print<\/span>(data.max())   <span style=\"color:#6c7086;\"># \u5168\u4f53\u306e\u6700\u5927\u5024: 90<\/span>\n<span style=\"color:#89b4fa;\">print<\/span>(data.min())   <span style=\"color:#6c7086;\"># \u5168\u4f53\u306e\u6700\u5c0f\u5024: 60<\/span>\n<\/div>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\"><strong>Step 1<\/strong><br><span style=\"font-size:12px;\">\u30c7\u30fc\u30bf\u3092<br>\u30ea\u30b9\u30c8\u30fbCSV\u3067<br>\u7528\u610f\u3059\u308b<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>Step 2<\/strong><br><span style=\"font-size:12px;\">np.array()\u3067<br>NumPy\u884c\u5217\u306b<br>\u5909\u63db\u3059\u308b<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>Step 3<\/strong><br><span style=\"font-size:12px;\">shape\/reshape<br>\u3067\u5f62\u3092\u6574\u3048\u308b<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>Step 4<\/strong><br><span style=\"font-size:12px;\">\u8a08\u7b97\u30fb\u96c6\u8a08<br>\uff08sum\/mean\u7b49\uff09<br>\u3092\u5b9f\u884c\u3059\u308b<\/span><\/div>\n<\/div>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u8907\u6570\u5e97\u8217\u30fb\u8907\u6570\u671f\u9593\u306e\u30af\u30ed\u30b9\u96c6\u8a08\u30c7\u30fc\u30bf\u306e\u5408\u8a08\u30fb\u5e73\u5747\u3092\u4e00\u62ec\u8a08\u7b97<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u6761\u4ef6\u3092\u6e80\u305f\u3059\u30c7\u30fc\u30bf\u3060\u3051\u3092\u9ad8\u901f\u306b\u62bd\u51fa\uff08\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\uff09<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u753b\u50cf\u30c7\u30fc\u30bf\u306e\u660e\u308b\u3055\u8abf\u6574\u30fb\u30b0\u30ec\u30fc\u30b9\u30b1\u30fc\u30eb\u5316\u306a\u3069\u306e\u524d\u51e6\u7406<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u6a5f\u68b0\u5b66\u7fd2\u30e2\u30c7\u30eb\u3078\u6e21\u3059\u5b66\u7fd2\u30c7\u30fc\u30bf\u306e\u524d\u51e6\u7406\u30fb\u6b63\u898f\u5316<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u30a2\u30f3\u30b1\u30fc\u30c8\u7d50\u679c\u3084\u5b9f\u9a13\u30c7\u30fc\u30bf\u306e\u7d71\u8a08\u51e6\u7406<\/span><\/div>\n\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u30a8\u30af\u30bb\u30eb\u3067\u624b\u4f5c\u696d\u3067\u3084\u3063\u3066\u3044\u305f\u30af\u30ed\u30b9\u96c6\u8a08\u3082\u3001\u30c7\u30fc\u30bf\u3092NumPy\u884c\u5217\u3068\u3057\u3066\u8aad\u307f\u8fbc\u3093\u3067\u3057\u307e\u3048\u3070\u6570\u884c\u306e\u30b3\u30fc\u30c9\u3067\u5b8c\u7d50\u3057\u307e\u3059\u3002\u4ef6\u6570\u304c\u591a\u3044\u30c7\u30fc\u30bf\u307b\u3069\u3001NumPy\u306b\u5207\u308a\u66ff\u3048\u308b\u30e1\u30ea\u30c3\u30c8\u304c\u5927\u304d\u304f\u306a\u308a\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-python-numpy-matrix&#038;blog_slug=cc-python-numpy-matrix\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-python-numpy-matrix&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-07\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">07<\/span>\n  <span class=\"section-label\" style=\"display:block;\">CLAUDE CODE FOR NUMPY<\/span>\n  <span class=\"section-title\" style=\"display:block;\">Claude Code\u3067Python\u884c\u5217\u30b3\u30fc\u30c9\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b\u65b9\u6cd5<\/span>\n  <span class=\"section-desc\">\u69cb\u6587\u3092\u899a\u3048\u306a\u304f\u3066\u3082\u65e5\u672c\u8a9e\u306e\u6307\u793a\u3060\u3051\u3067\u30b3\u30fc\u30c9\u304c\u5b8c\u6210\u3059\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u3053\u307e\u3067NumPy\u306e\u884c\u5217\u30b3\u30fc\u30c9\u3092\u624b\u66f8\u304d\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u5b9f\u306f<strong>Claude Code\u3068\u3044\u3046AI\u30c4\u30fc\u30eb\u3092\u4f7f\u3048\u3070\u3001\u3053\u3046\u3057\u305f\u884c\u5217\u51e6\u7406\u306e\u30b3\u30fc\u30c9\u3092\u65e5\u672c\u8a9e\u3067\u6307\u793a\u3059\u308b\u3060\u3051\u3067\u81ea\u52d5\u751f\u6210\u3067\u304d\u307e\u3059<\/strong>\u3002\u300cPython\u3092\u66f8\u3044\u305f\u3053\u3068\u304c\u306a\u3044\u300d\u300cshape\u3084reshape\u306e\u4f7f\u3044\u65b9\u3092\u899a\u3048\u308b\u306e\u304c\u5927\u5909\u300d\u3068\u3044\u3046\u65b9\u3067\u3082\u3001Claude Code\u306a\u3089\u696d\u52d9\u306b\u5fc5\u8981\u306a\u96c6\u8a08\u30fb\u51e6\u7406\u30b3\u30fc\u30c9\u3092\u3059\u3050\u306b\u624b\u306b\u5165\u308c\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f0a\u793e\uff08\u682a\u5f0f\u4f1a\u793eGENAI\uff09\u3067\u3082\u3001\u793e\u5185\u306e\u30c7\u30fc\u30bf\u96c6\u8a08\u30fb\u5206\u6790\u51e6\u7406\u306bClaude Code\u3092\u6d3b\u7528\u3057\u3066\u304a\u308a\u3001\u8907\u6570\u5e97\u8217\u306e\u30af\u30ed\u30b9\u96c6\u8a08\u3084\u753b\u50cf\u306e\u4e00\u62ec\u52a0\u5de5\u306a\u3069\u3092\u3001\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u306a\u3044\u62c5\u5f53\u8005\u304c\u77ed\u6642\u9593\u3067\u5b9f\u884c\u3067\u304d\u308b\u4f53\u5236\u3092\u4f5c\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#f8f9fa;border-left:4px solid #6b7280;border-radius:0 8px 8px 0;padding:16px 20px;margin:20px 0;\">\n  <p style=\"margin:0 0 4px;font-size:13px;font-weight:700;color:#6b7280;letter-spacing:1px;\">&#128218; \u7528\u8a9e\u89e3\u8aac<\/p>\n  <p style=\"margin:0;font-size:15px;line-height:1.7;\"><strong>Claude Code\uff08AI\u696d\u52d9\u81ea\u52d5\u5316\u30c4\u30fc\u30eb\uff09<\/strong>\uff1aAnthropic\u793e\u304c\u63d0\u4f9b\u3059\u308bAI\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u30c4\u30fc\u30eb\u3002\u65e5\u672c\u8a9e\u306e\u6307\u793a\u306b\u5f93\u3063\u3066\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u30b3\u30fc\u30c9\u306e\u751f\u6210\u30fb\u4fee\u6b63\u30fb\u5b9f\u884c\u307e\u3067\u81ea\u5f8b\u7684\u306b\u884c\u3044\u307e\u3059\u3002\u300c\u3053\u306eCSV\u3092\u8aad\u307f\u8fbc\u3093\u3067\u5e97\u8217\u3054\u3068\u306e\u58f2\u4e0a\u5408\u8a08\u3092\u51fa\u3057\u3066\u300d\u306e\u3088\u3046\u306b\u8a71\u3057\u304b\u3051\u308b\u3060\u3051\u3067\u3001NumPy\u3084pandas\u3092\u4f7f\u3063\u305fPython\u30b3\u30fc\u30c9\u3092\u81ea\u52d5\u751f\u6210\u3057\u3001\u5b9f\u884c\u7d50\u679c\u307e\u3067\u8fd4\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">7-1. Claude Code\u3078\u306e\u6307\u793a\u4f8b<\/h3>\n\n\n\n<div style=\"background:#1e1e2e;border-radius:10px;padding:20px 24px;margin:20px 0;font-family:monospace;font-size:14px;line-height:1.8;color:#cdd6f4;\">\n<div style=\"color:#89dceb;margin-bottom:8px;\">\u3010Claude Code\u3078\u306e\u6307\u793a\u4f8b\u3011<\/div>\n<span style=\"color:#a6e3a1;\">\u3053\u306eCSV\u30d5\u30a1\u30a4\u30eb\uff08\u5e97\u8217\u00d7\u6708\u306e\u58f2\u4e0a\u30c7\u30fc\u30bf\uff09\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3001<\/span><br>\n<span style=\"color:#a6e3a1;\">NumPy\u3092\u4f7f\u3063\u3066\u4ee5\u4e0b\u3092\u8a08\u7b97\u3059\u308bPython\u30b3\u30fc\u30c9\u3092\u4f5c\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/span><br>\n<span style=\"color:#a6e3a1;\">\u30fb\u5404\u5e97\u8217\u306e\u5408\u8a08\u58f2\u4e0a<\/span><br>\n<span style=\"color:#a6e3a1;\">\u30fb\u5404\u6708\u306e\u5408\u8a08\u58f2\u4e0a<\/span><br>\n<span style=\"color:#a6e3a1;\">\u30fb\u5168\u4f53\u306e\u5e73\u5747\u58f2\u4e0a<\/span><br>\n<span style=\"color:#a6e3a1;\">\u30fb\u58f2\u4e0a\u304c100\u4e07\u5186\u3092\u4e0b\u56de\u3063\u305f\u5e97\u8217\u00d7\u6708\u306e\u7d44\u307f\u5408\u308f\u305b\u3092\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7<\/span>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u3088\u3046\u306a\u81ea\u7136\u8a00\u8a9e\u306e\u6307\u793a\u3092Claude Code\u306b\u51fa\u3059\u3068\u3001CSV\u306e\u8aad\u307f\u8fbc\u307f\u304b\u3089NumPy\u914d\u5217\u3078\u306e\u5909\u63db\u3001\u96c6\u8a08\u30fb\u6761\u4ef6\u62bd\u51fa\u307e\u3067\u3092\u542b\u3093\u3060\u5b9f\u884c\u53ef\u80fd\u306a\u30b3\u30fc\u30c9\u3092\u81ea\u52d5\u751f\u6210\u3057\u3001\u305d\u306e\u5834\u3067\u5b9f\u884c\u3057\u3066\u7d50\u679c\u307e\u3067\u898b\u305b\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"g-flow-row\" style=\"margin:24px 0;\">\n  <div class=\"g-flow-item\"><strong>\u3084\u308a\u305f\u3044\u96c6\u8a08\u3092<br>\u65e5\u672c\u8a9e\u3067\u6307\u793a<\/strong><br><span style=\"font-size:12px;\">\u300c\u5e97\u8217\u3054\u3068\u306e<br>\u5408\u8a08\u3092\u51fa\u3057\u3066\u300d<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>Claude Code\u304c<br>Python\u30b3\u30fc\u30c9\u751f\u6210<\/strong><br><span style=\"font-size:12px;\">NumPy\/pandas<br>\u3092\u4f7f\u3063\u305f\u30b3\u30fc\u30c9<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u305d\u306e\u5834\u3067<br>\u5b9f\u884c\u30fb\u7d50\u679c\u78ba\u8a8d<\/strong><br><span style=\"font-size:12px;\">\u6570\u5024\u30fb\u30b0\u30e9\u30d5\u3092<br>\u305d\u306e\u5834\u3067\u51fa\u529b<\/span><\/div>\n  <div class=\"g-flow-arrow\">&#8594;<\/div>\n  <div class=\"g-flow-item\"><strong>\u8ffd\u52a0\u306e\u5206\u6790\u3092<br>\u7d99\u7d9a\u4f9d\u983c<\/strong><br><span style=\"font-size:12px;\">\u300c\u30b0\u30e9\u30d5\u306b\u3057\u3066\u300d<br>\u300c\u4e0a\u4f4d5\u4ef6\u306f\uff1f\u300d<\/span><\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">7-2. Claude Code\u3067\u81ea\u52d5\u5316\u3067\u304d\u308b\u30c7\u30fc\u30bf\u51e6\u7406\u306e\u4f8b<\/h3>\n\n\n\n<table>\n<thead><tr><th>\u3084\u308a\u305f\u3044\u3053\u3068<\/th><th>Claude Code\u3078\u306e\u6307\u793a\u4f8b<\/th><th>\u524a\u6e1b\u52b9\u679c\uff08\u76ee\u5b89\uff09<\/th><\/tr><\/thead>\n<tbody>\n<tr><td>\u8907\u6570\u30b7\u30fc\u30c8\u306e\u30af\u30ed\u30b9\u96c6\u8a08<\/td><td>\u300c\u3053\u306e\u58f2\u4e0a\u8868\u3092\u5e97\u8217\u5225\u30fb\u6708\u5225\u306b\u96c6\u8a08\u3057\u3066\u3001\u30b0\u30e9\u30d5\u3082\u4f5c\u3063\u3066\u300d<\/td><td>3\u6642\u9593\u219215\u5206<\/td><\/tr>\n<tr><td>\u753b\u50cf\u306e\u4e00\u62ec\u30ea\u30b5\u30a4\u30ba\u30fb\u52a0\u5de5<\/td><td>\u300c\u3053\u306e\u30d5\u30a9\u30eb\u30c0\u306e\u753b\u50cf\u3092\u5168\u90e8\u540c\u3058\u30b5\u30a4\u30ba\u306b\u63c3\u3048\u3066\u660e\u308b\u3055\u3092\u8abf\u6574\u3057\u3066\u300d<\/td><td>2\u6642\u9593\u219210\u5206<\/td><\/tr>\n<tr><td>\u30a2\u30f3\u30b1\u30fc\u30c8\u30c7\u30fc\u30bf\u306e\u7d71\u8a08\u51e6\u7406<\/td><td>\u300c\u3053\u306e\u30a2\u30f3\u30b1\u30fc\u30c8\u7d50\u679c\u306e\u5e73\u5747\u30fb\u6a19\u6e96\u504f\u5dee\u30fb\u5206\u5e03\u3092\u51fa\u3057\u3066\u300d<\/td><td>1.5\u6642\u9593\u219210\u5206<\/td><\/tr>\n<tr><td>\u7570\u5e38\u5024\u306e\u691c\u51fa<\/td><td>\u300c\u3053\u306e\u30c7\u30fc\u30bf\u304b\u3089\u660e\u3089\u304b\u306b\u304a\u304b\u3057\u3044\u6570\u5024\u3092\u898b\u3064\u3051\u3066\u30ea\u30b9\u30c8\u306b\u3057\u3066\u300d<\/td><td>2\u6642\u9593\u219215\u5206<\/td><\/tr>\n<tr><td>\u6a5f\u68b0\u5b66\u7fd2\u7528\u30c7\u30fc\u30bf\u306e\u524d\u51e6\u7406<\/td><td>\u300c\u3053\u306e\u30c7\u30fc\u30bf\u3092\u30e2\u30c7\u30eb\u306b\u5165\u529b\u3067\u304d\u308b\u5f62\u306b\u6b63\u898f\u5316\u3057\u3066\u300d<\/td><td>3\u6642\u9593\u219220\u5206<\/td><\/tr>\n<\/tbody>\n<\/table>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f0a\u793eGENAI\u3067\u306f\u3001Claude Max 20x\u30d7\u30e9\u30f3\uff08\u6708\u984d$200\u30fb\u7d0430,000\u5186\uff09\u3092\u5951\u7d04\u3057\u3066\u3001\u3053\u3046\u3057\u305f\u30c7\u30fc\u30bf\u51e6\u7406\u30fb\u5206\u6790\u696d\u52d9\u3092\u65e5\u5e38\u7684\u306bClaude Code\u3078\u4efb\u305b\u3066\u3044\u307e\u3059\u3002\u300cPython\u304c\u66f8\u3051\u308b\u5c02\u4efb\u62c5\u5f53\u8005\u304c\u3044\u306a\u3044\u300d\u3068\u3044\u3046\u4f53\u5236\u3067\u3082\u3001\u696d\u52d9\u306b\u5fc5\u8981\u306a\u96c6\u8a08\u30fb\u5206\u6790\u304c\u305d\u306e\u5834\u3067\u5b8c\u7d50\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u5b9f\u611f\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">NumPy\u306eshape\u3084reshape\u306e\u611f\u899a\u3092\u8eab\u306b\u3064\u3051\u308b\u306e\u306f\u3082\u3061\u308d\u3093\u6709\u76ca\u3067\u3059\u304c\u3001\u300c\u4eca\u3059\u3050\u3053\u306e\u96c6\u8a08\u7d50\u679c\u304c\u6b32\u3057\u3044\u300d\u3068\u3044\u3046\u5834\u9762\u3067\u306f\u3001Claude Code\u306b\u76f4\u63a5\u4efb\u305b\u3066\u3057\u307e\u3046\u306e\u304c\u73fe\u5b9f\u7684\u306a\u9078\u629e\u80a2\u3067\u3059\u3002\u51fa\u3066\u304d\u305f\u30b3\u30fc\u30c9\u3092\u8aad\u307f\u306a\u304c\u3089\u5c11\u3057\u305a\u3064\u7406\u89e3\u3092\u6df1\u3081\u3066\u3044\u304f\u9032\u3081\u65b9\u3067\u3082\u5341\u5206\u3067\u3059\u3002<\/div>\n<\/div>\n\n\n\n<div class=\"balloon-wrap is-right\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/yamazaki-avatar.png\" alt=\"AI\u9b3c\u7ba1\u7406\u5c71\u5d0e\">\n    <span class=\"balloon-name\">AI\u9b3c\u7ba1\u7406\u5c71\u5d0e<\/span>\n  <\/div>\n  <div class=\"balloon-body\">Claude Code\u3078\u306e\u6307\u793a\u306f\u3001\u3053\u306e\u8a18\u4e8b\u3067\u89e3\u8aac\u3057\u305f\u3088\u3046\u306a\u5c02\u9580\u7528\u8a9e\uff08axis\u30fbreshape\u30fb\u884c\u5217\u7a4d\u306a\u3069\uff09\u3092\u77e5\u3089\u306a\u304f\u3066\u3082\u3001\u300c\u4f55\u3092\u3057\u305f\u3044\u304b\u300d\u3092\u65e5\u672c\u8a9e\u3067\u4f1d\u3048\u308b\u3060\u3051\u3067\u5341\u5206\u3067\u3059\u3002\u307e\u305a\u306f\u624b\u5143\u306eExcel\u30c7\u30fc\u30bf\u30921\u3064\u6e21\u3057\u3066\u8a66\u3057\u3066\u307f\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/div>\n<\/div>\n\n\n<div style=\"margin:48px 0 8px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap;\"><a href=\"https:\/\/aikanri.genai-ai.co.jp\/seminar2-blog\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_content=cc-python-numpy-matrix&#038;blog_slug=cc-python-numpy-matrix\" target=\"_blank\" rel=\"noopener\" aria-label=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff08\u7121\u6599\u30fb1on1\u30fb60\u5206\uff09\u306e\u4e88\u7d04\u753b\u9762\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_seminar_claude_code_2026.jpg\" alt=\"Claude Code \u5b8c\u5168\u89e3\u8aac\u30bb\u30df\u30ca\u30fc\uff5c\u7d4c\u55b6\u8005\u30fb\u4f1a\u793e\u5f79\u54e1\u5c02\u7528 1on1 60\u5206 \u7121\u6599\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&#038;utm_medium=h2banner&#038;utm_campaign=cc-python-numpy-matrix&#038;utm_content=h2-banner-kanri\" target=\"_blank\" rel=\"noopener\" aria-label=\"AI\u9b3c\u7ba1\u7406 \u516c\u5f0f\u30b5\u30a4\u30c8\u3078\" style=\"flex:1 1 280px;max-width:360px;text-decoration:none;\"><img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/05\/cta_blog_1to1.jpg\" alt=\"Claude Code\u3092\u7d4c\u55b6\u306b\u6d3b\u304b\u3057\u305f\u3044\u65b9\u3078 \u2014 AI\u9b3c\u7ba1\u7406\" style=\"width:100%;height:auto;border-radius:8px;display:block;\"><\/a><\/div>\n\n\n<div id=\"sec-08\"><\/div>\n<h2 class=\"section-header-img\" style=\"margin:32px 0 24px;border-radius:8px;overflow:hidden;background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);padding:32px 28px;color:#fff;position:relative;border:none;border-left:none;text-align:left;\">\n  <span class=\"section-number\" style=\"display:block;\">08<\/span>\n  <span class=\"section-label\" style=\"display:block;\">CONCLUSION<\/span>\n  <span class=\"section-title\" style=\"display:block;\">\u307e\u3068\u3081<\/span>\n  <span class=\"section-desc\">NumPy\u306e\u884c\u5217\u77e5\u8b58\u3068Claude Code\u3067\u30c7\u30fc\u30bf\u51e6\u7406\u3092\u4e21\u7acb\u3055\u305b\u308b<\/span>\n<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001Python\u3067\u306e\u884c\u5217\u306e\u6271\u3044\u65b9\u306b\u3064\u3044\u3066\u3001NumPy\u3092\u4f7f\u3063\u305f\u57fa\u790e\u304b\u3089\u753b\u50cf\u51e6\u7406\u30fb\u696d\u52d9\u6d3b\u7528\u30d1\u30bf\u30fc\u30f3\u307e\u3067\u3092\u4f53\u7cfb\u7684\u306b\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002\u6700\u5f8c\u306b\u30dd\u30a4\u30f3\u30c8\u3092\u307e\u3068\u3081\u307e\u3059\u3002<\/p>\n\n\n\n<div style=\"background:#fafafa;border-radius:8px;padding:16px 20px;margin:16px 0;border-left:4px solid #dc2626;\">\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u884c\u5217<\/strong>\u306f\u6570\u5024\u3092\u7e26\u6a2a\u306b\u4e26\u3079\u305f\u30c7\u30fc\u30bf\u69cb\u9020\u3067\u3001Python\u3067\u306f<strong>NumPy\u306endarray<\/strong>\u3067\u6271\u3046\u306e\u304c\u57fa\u672c<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><code>np.array()<\/code>\u3067\u30ea\u30b9\u30c8\u304b\u3089NumPy\u884c\u5217\u306b\u5909\u63db\u3067\u304d\u308b\u3002<code>np.zeros()<\/code>\u7b49\u306e\u4fbf\u5229\u95a2\u6570\u3082\u6d3b\u7528\u3067\u304d\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><code>shape<\/code>\u3067\u5f62\u72b6\u78ba\u8a8d\u3001<code>reshape()<\/code>\u3067\u5f62\u306e\u5909\u63db\u3001<code>.T<\/code>\u3067\u8ee2\u7f6e\u304c\u3067\u304d\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>\u300c*\u300d\u306f\u8981\u7d20\u3054\u3068\u306e\u639b\u3051\u7b97<\/strong>\u3001<strong>\u300cnp.dot()\u300d\u300c@\u300d\u306f\u884c\u5217\u7a4d<\/strong>\u2014\u2014\u3053\u306e\u9055\u3044\u3092\u6df7\u540c\u3057\u306a\u3044\u3053\u3068\u304c\u91cd\u8981<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>\u753b\u50cf\u30c7\u30fc\u30bf\u306f<strong>\u300c\u884c\u00d7\u5217\u00d7\u8272\u300d\u306e3\u6b21\u5143\u914d\u5217<\/strong>\u3068\u3057\u3066\u6271\u308f\u308c\u3001\u884c\u5217\u8a08\u7b97\u304c\u305d\u306e\u307e\u307e\u753b\u50cf\u51e6\u7406\u306b\u5fdc\u7528\u3067\u304d\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span>axis\u3092\u6307\u5b9a\u3057\u305f<code>sum()<\/code>\u30fb<code>mean()<\/code>\u3067\u3001\u696d\u52d9\u306e\u30af\u30ed\u30b9\u96c6\u8a08\u30c7\u30fc\u30bf\u3092\u9ad8\u901f\u306b\u51e6\u7406\u3067\u304d\u308b<\/span><\/div>\n<div style=\"display:flex;align-items:flex-start;gap:8px;padding:6px 0;font-size:15px;line-height:1.6;\"><span style=\"color:#dc2626;font-size:16px;flex-shrink:0;margin-top:2px;\">&#10004;&#65039;<\/span><span><strong>Claude Code<\/strong>\u3092\u4f7f\u3048\u3070\u69cb\u6587\u3092\u899a\u3048\u306a\u304f\u3066\u3082\u65e5\u672c\u8a9e\u306e\u6307\u793a\u3060\u3051\u3067\u96c6\u8a08\u30fb\u5206\u6790\u30b3\u30fc\u30c9\u3092\u81ea\u52d5\u751f\u6210\u3067\u304d\u308b<\/span><\/div>\n\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u884c\u5217\u3084NumPy\u306f\u3001\u6700\u521d\u306f\u5c02\u9580\u7528\u8a9e\u306e\u591a\u3055\u306b\u6238\u60d1\u3046\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u300c\u6570\u5024\u3092\u7e26\u6a2a\u306b\u4e26\u3079\u305f\u30c7\u30fc\u30bf\u3092\u307e\u3068\u3081\u3066\u8a08\u7b97\u3059\u308b\u305f\u3081\u306e\u9053\u5177\u300d\u3068\u3044\u3046\u672c\u8cea\u3055\u3048\u63b4\u3081\u3070\u3001\u6050\u308c\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u306e\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305f\u30b3\u30fc\u30c9\u3092\u5b9f\u969b\u306b\u52d5\u304b\u3057\u306a\u304c\u3089\u3001\u5c11\u3057\u305a\u3064\u611f\u899a\u3092\u63b4\u3093\u3067\u3044\u304f\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30c7\u30fc\u30bf\u96c6\u8a08\u30fb\u5206\u6790\u51e6\u7406\u3092Claude Code\u3067\u52b9\u7387\u5316\u3057\u305f\u3044\u65b9\u3078<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">NumPy\u3092\u4f7f\u3063\u305f\u96c6\u8a08\u51e6\u7406\u304b\u3089\u3001\u753b\u50cf\u30c7\u30fc\u30bf\u306e\u4e00\u62ec\u52a0\u5de5\u30fb\u696d\u52d9\u30c7\u30fc\u30bf\u306e\u5206\u6790\u57fa\u76e4\u69cb\u7bc9\u307e\u3067\u3001Claude Code\u3092\u4f7f\u3063\u305f\u958b\u767a\u306e\u8a2d\u8a08\u3092\u5f0a\u793eAI\u9b3c\u7ba1\u7406\u304c\u3054\u652f\u63f4\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"balloon-wrap\">\n  <div class=\"balloon-icon\">\n    <img decoding=\"async\" src=\"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-content\/uploads\/2026\/04\/ceo-sugasawa.jpg\" alt=\"\u4ee3\u8868\u83c5\u6fa4\">\n    <span class=\"balloon-name\">\u4ee3\u8868\u83c5\u6fa4<\/span>\n  <\/div>\n  <div class=\"balloon-body\">\u300cPython\u3092\u89e6\u3063\u305f\u3053\u3068\u304c\u306a\u3044\u304c\u793e\u5185\u306e\u30c7\u30fc\u30bf\u96c6\u8a08\u3092\u81ea\u52d5\u5316\u3057\u305f\u3044\u300d\u300c\u30a8\u30af\u30bb\u30eb\u306e\u624b\u4f5c\u696d\u96c6\u8a08\u306b\u9650\u754c\u3092\u611f\u3058\u3066\u3044\u308b\u300d\u2014\u2014\u305d\u3093\u306a\u65b9\u306bClaude Code\u3092\u6d3b\u7528\u3057\u305f\u30c7\u30fc\u30bf\u51e6\u7406\u652f\u63f4\u304c\u6700\u9069\u3067\u3059\u3002\u307e\u305a\u306f\u7121\u6599\u76f8\u8ac7\u3067\u3054\u9023\u7d61\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n\n\n\n<div style=\"background:linear-gradient(135deg,#1a1a1a 0%,#2a1015 100%);border-radius:16px;padding:36px 32px;margin:48px 0 16px;color:#fff;\">\n  <p style=\"font-size:13px;font-weight:700;color:#dc2626;letter-spacing:2px;margin:0 0 12px;\">NEXT STEP<\/p>\n  <p style=\"font-size:22px;font-weight:800;line-height:1.5;margin:0 0 20px;\">\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9\u3092\u3001\u3042\u306a\u305f\u306e\u30d3\u30b8\u30cd\u30b9\u3067<br>\u5b9f\u8df5\u3057\u3066\u307f\u307e\u305b\u3093\u304b\uff1f<\/p>\n  <div style=\"background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.12);border-radius:12px;padding:24px;max-width:560px;margin:0 auto;\">\n    <p style=\"font-size:13px;color:#dc2626;font-weight:700;margin:0 0 8px;\">AI\u6d3b\u7528\u3092\u81ea\u793e\u3067\u56de\u305b\u308b\u3088\u3046\u306b\u306a\u308a\u305f\u3044\u65b9\u3078<\/p>\n    <p style=\"font-size:20px;font-weight:800;margin:0 0 12px;\">AI\u9b3c\u7ba1\u7406<\/p>\n    <p style=\"font-size:14px;color:rgba(255,255,255,0.75);margin:0 0 20px;line-height:1.7;\">Claude Code\u30fbCowork\u5c0e\u5165\u652f\u63f4\u304b\u3089\u696d\u52d9\u8a2d\u8a08\u30fb\u793e\u5185\u6d78\u900f\u307e\u3067\u5b9f\u8df5\u30d9\u30fc\u30b9\u3067\u4f34\u8d70\u3002\u300c\u81ea\u793e\u3067\u56de\u305b\u308b\u7d44\u7e54\u300d\u309290\u65e5\u3067\u4f5c\u308b\u7d4c\u55b6\u8005\u5411\u3051\u30c8\u30ec\u30fc\u30cb\u30f3\u30b0\u3002<\/p>\n    <div style=\"text-align:center;\">\n      <a href=\"https:\/\/aikanri.genai-ai.co.jp\/?utm_source=blog&utm_medium=article&utm_campaign=cc-python-numpy-matrix&utm_content=next-step-cta\" target=\"_blank\" rel=\"noopener\" style=\"display:inline-block;background:#dc2626;color:#fff;font-weight:700;font-size:15px;padding:14px 32px;border-radius:30px;text-decoration:none;\">AI\u9b3c\u7ba1\u7406\u3092\u8a73\u3057\u304f\u898b\u308b \u2192<\/a>\n    <\/div>\n  <\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\">\u3088\u304f\u3042\u308b\u8cea\u554f<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Q. NumPy\u3092\u4f7f\u308f\u305a\u306b\u6a19\u6e96\u306e\u30ea\u30b9\u30c8\u3060\u3051\u3067\u884c\u5217\u8a08\u7b97\u306f\u3067\u304d\u307e\u305b\u3093\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u3067\u304d\u307e\u3059\u304c\u3001for\u6587\u3067\u30eb\u30fc\u30d7\u3092\u56de\u3057\u30661\u8981\u7d20\u305a\u3064\u8a08\u7b97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u30b3\u30fc\u30c9\u91cf\u304c\u5897\u3048\u51e6\u7406\u901f\u5ea6\u3082\u9045\u304f\u306a\u308a\u307e\u3059\u3002\u30c7\u30fc\u30bf\u91cf\u304c\u5c11\u306a\u3044\u5b66\u7fd2\u7528\u9014\u306a\u3089\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u5b9f\u52d9\u3067\u6271\u3046\u3088\u3046\u306a\u6570\u767e\u301c\u6570\u4e07\u4ef6\u306e\u30c7\u30fc\u30bf\u3067\u306fNumPy\u306e\u5229\u7528\u3092\u5f37\u304f\u63a8\u5968\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. \u300c*\u300d\u3067\u884c\u5217\u3092\u639b\u3051\u305f\u3089\u671f\u5f85\u3057\u305f\u7d50\u679c\u3068\u9055\u3044\u307e\u3057\u305f\u3002\u306a\u305c\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. NumPy\u306e\u300c*\u300d\u306f\u8981\u7d20\u3054\u3068\u306e\u639b\u3051\u7b97\uff08\u30a2\u30c0\u30de\u30fc\u30eb\u7a4d\uff09\u3067\u3042\u308a\u3001\u6570\u5b66\u7684\u306a\u300c\u884c\u5217\u306e\u639b\u3051\u7b97\uff08\u884c\u5217\u7a4d\uff09\u300d\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u884c\u5217\u7a4d\u3092\u8a08\u7b97\u3057\u305f\u3044\u5834\u5408\u306fnp.dot(a, b)\u307e\u305f\u306f a @ b \u3092\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. reshape()\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3059\u3002\u539f\u56e0\u306f\u4f55\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u6700\u3082\u591a\u3044\u539f\u56e0\u306f\u300c\u5909\u63db\u524d\u5f8c\u3067\u8981\u7d20\u306e\u7dcf\u6570\u304c\u4e00\u81f4\u3057\u3066\u3044\u306a\u3044\u300d\u3053\u3068\u3067\u3059\u3002\u4f8b\u3048\u3070\u8981\u7d20\u65706\u306e\u914d\u5217\u3092(2, 4)\u306e\u3088\u3046\u306a\u5f62\uff08\u8981\u7d20\u65708\u304c\u5fc5\u8981\uff09\u306breshape\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002matrix.size\u3067\u73fe\u5728\u306e\u8981\u7d20\u6570\u3092\u78ba\u8a8d\u3057\u3001\u884c\u6570\u00d7\u5217\u6570\u304c\u4e00\u81f4\u3059\u308b\u5f62\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. \u884c\u5217\u306e\u6b21\u5143\u6570\uff082\u6b21\u5143\u30fb3\u6b21\u5143\uff09\u306f\u3069\u3046\u898b\u5206\u3051\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. .ndim\u5c5e\u6027\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u30022\u6b21\u5143\u884c\u5217\u306a\u3089ndim=2\u3001\u30ab\u30e9\u30fc\u753b\u50cf\u306e\u3088\u3046\u306a3\u6b21\u5143\u914d\u5217\u306a\u3089ndim=3\u304c\u8fd4\u308a\u307e\u3059\u3002.shape\u3067\u78ba\u8a8d\u3067\u304d\u308b\u30bf\u30d7\u30eb\u306e\u8981\u7d20\u6570\u3068\u4e00\u81f4\u3059\u308b\u306e\u3067\u3001\u4e21\u65b9\u3092\u78ba\u8a8d\u3059\u308b\u7fd2\u6163\u3092\u3064\u3051\u308b\u3068\u5b89\u5fc3\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. pandas\u306eDataFrame\u3068NumPy\u306endarray\u306f\u3069\u3046\u4f7f\u3044\u5206\u3051\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u5217\u540d\u3084\u30e9\u30d9\u30eb\u4ed8\u304d\u3067\u30c7\u30fc\u30bf\u3092\u6271\u3044\u305f\u3044\u5834\u5408\uff08Excel\u306e\u8868\u306e\u3088\u3046\u306a\u30a4\u30e1\u30fc\u30b8\uff09\u306fpandas\u306eDataFrame\u304c\u4fbf\u5229\u3067\u3059\u3002\u4e00\u65b9\u3001\u7d14\u7c8b\u306a\u6570\u5024\u8a08\u7b97\u30fb\u884c\u5217\u6f14\u7b97\u3092\u9ad8\u901f\u306b\u884c\u3044\u305f\u3044\u5834\u5408\u306fNumPy\u306endarray\u304c\u9069\u3057\u3066\u3044\u307e\u3059\u3002\u5b9f\u52d9\u3067\u306fdf.values\u3084np.array(df)\u3067DataFrame\u304b\u3089NumPy\u914d\u5217\u306b\u5909\u63db\u3057\u3066\u8a08\u7b97\u3059\u308b\u3053\u3068\u3082\u3088\u304f\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. \u753b\u50cf\u30c7\u30fc\u30bf\u3092NumPy\u3067\u6271\u3046\u969b\u3001\u8272\u306e\u5024\u306e\u7bc4\u56f2\u306f\u3069\u3046\u306a\u3063\u3066\u3044\u307e\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u4e00\u822c\u7684\u306aJPEG\/PNG\u753b\u50cf\u306f\u5404\u8272\u30c1\u30e3\u30f3\u30cd\u30eb\u304c0\u301c255\u306e\u6574\u6570\uff08uint8\u578b\uff09\u3067\u8868\u73fe\u3055\u308c\u307e\u3059\u3002\u6a5f\u68b0\u5b66\u7fd2\u30e2\u30c7\u30eb\u306b\u5165\u529b\u3059\u308b\u969b\u306f\u3001\u3053\u306e\u5024\u30920\u301c1\u306e\u7bc4\u56f2\u306b\u5909\u63db\u3059\u308b\u300c\u6b63\u898f\u5316\u300d\u3068\u3044\u3046\u524d\u51e6\u7406\u3092\u884c\u3046\u306e\u304c\u4e00\u822c\u7684\u3067\u3059\uff08\u5024\u3092255\u3067\u5272\u308b\u3060\u3051\u306e\u5358\u7d14\u306a\u51e6\u7406\u3067\u3059\uff09\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Q. Python\u306e\u884c\u5217\u51e6\u7406\u30b3\u30fc\u30c9\u3092Claude Code\u3067\u751f\u6210\u3059\u308b\u5834\u5408\u3001\u74b0\u5883\u69cb\u7bc9\u306e\u77e5\u8b58\u306f\u5fc5\u8981\u3067\u3059\u304b\uff1f<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A. \u57fa\u672c\u7684\u306a\u77e5\u8b58\u304c\u306a\u304f\u3066\u3082\u59cb\u3081\u3089\u308c\u307e\u3059\u3002\u300c\u3053\u306e\u30c7\u30fc\u30bf\u3092\u96c6\u8a08\u3057\u3066\u300d\u3068\u4f1d\u3048\u308b\u3060\u3051\u3067\u3001Claude Code\u304c\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u3084\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u307e\u3067\u6848\u5185\u30fb\u5b9f\u884c\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u793e\u5185\u306ePC\u306bPython\u5b9f\u884c\u74b0\u5883\u304c\u306a\u3044\u5834\u5408\u306f\u3001\u4e8b\u524d\u306b\u8efd\u304f\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u76f8\u8ac7\u3092\u3057\u3066\u304a\u304f\u3068\u30b9\u30e0\u30fc\u30ba\u3067\u3059\u3002<\/p>\n\n\n\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [\n    {\n      \"@type\": \"Question\",\n      \"name\": \"NumPy\u3092\u4f7f\u308f\u305a\u306b\u6a19\u6e96\u306e\u30ea\u30b9\u30c8\u3060\u3051\u3067\u884c\u5217\u8a08\u7b97\u306f\u3067\u304d\u307e\u305b\u3093\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u3067\u304d\u307e\u3059\u304c\u3001for\u6587\u3067\u30eb\u30fc\u30d7\u3092\u56de\u3057\u30661\u8981\u7d20\u305a\u3064\u8a08\u7b97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u30b3\u30fc\u30c9\u91cf\u304c\u5897\u3048\u51e6\u7406\u901f\u5ea6\u3082\u9045\u304f\u306a\u308a\u307e\u3059\u3002\u30c7\u30fc\u30bf\u91cf\u304c\u5c11\u306a\u3044\u5b66\u7fd2\u7528\u9014\u306a\u3089\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u5b9f\u52d9\u3067\u6271\u3046\u3088\u3046\u306a\u6570\u767e\u301c\u6570\u4e07\u4ef6\u306e\u30c7\u30fc\u30bf\u3067\u306fNumPy\u306e\u5229\u7528\u3092\u5f37\u304f\u63a8\u5968\u3057\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u300c*\u300d\u3067\u884c\u5217\u3092\u639b\u3051\u305f\u3089\u671f\u5f85\u3057\u305f\u7d50\u679c\u3068\u9055\u3044\u307e\u3057\u305f\u3002\u306a\u305c\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"NumPy\u306e\u300c*\u300d\u306f\u8981\u7d20\u3054\u3068\u306e\u639b\u3051\u7b97\uff08\u30a2\u30c0\u30de\u30fc\u30eb\u7a4d\uff09\u3067\u3042\u308a\u3001\u6570\u5b66\u7684\u306a\u300c\u884c\u5217\u306e\u639b\u3051\u7b97\uff08\u884c\u5217\u7a4d\uff09\u300d\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u884c\u5217\u7a4d\u3092\u8a08\u7b97\u3057\u305f\u3044\u5834\u5408\u306fnp.dot(a, b)\u307e\u305f\u306f a @ b \u3092\u4f7f\u3063\u3066\u304f\u3060\u3055\u3044\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"reshape()\u3067\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3059\u3002\u539f\u56e0\u306f\u4f55\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u6700\u3082\u591a\u3044\u539f\u56e0\u306f\u300c\u5909\u63db\u524d\u5f8c\u3067\u8981\u7d20\u306e\u7dcf\u6570\u304c\u4e00\u81f4\u3057\u3066\u3044\u306a\u3044\u300d\u3053\u3068\u3067\u3059\u3002\u4f8b\u3048\u3070\u8981\u7d20\u65706\u306e\u914d\u5217\u3092(2, 4)\u306e\u3088\u3046\u306a\u5f62\uff08\u8981\u7d20\u65708\u304c\u5fc5\u8981\uff09\u306breshape\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002matrix.size\u3067\u73fe\u5728\u306e\u8981\u7d20\u6570\u3092\u78ba\u8a8d\u3057\u3001\u884c\u6570\u00d7\u5217\u6570\u304c\u4e00\u81f4\u3059\u308b\u5f62\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u884c\u5217\u306e\u6b21\u5143\u6570\uff082\u6b21\u5143\u30fb3\u6b21\u5143\uff09\u306f\u3069\u3046\u898b\u5206\u3051\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \".ndim\u5c5e\u6027\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u30022\u6b21\u5143\u884c\u5217\u306a\u3089ndim=2\u3001\u30ab\u30e9\u30fc\u753b\u50cf\u306e\u3088\u3046\u306a3\u6b21\u5143\u914d\u5217\u306a\u3089ndim=3\u304c\u8fd4\u308a\u307e\u3059\u3002.shape\u3067\u78ba\u8a8d\u3067\u304d\u308b\u30bf\u30d7\u30eb\u306e\u8981\u7d20\u6570\u3068\u4e00\u81f4\u3059\u308b\u306e\u3067\u3001\u4e21\u65b9\u3092\u78ba\u8a8d\u3059\u308b\u7fd2\u6163\u3092\u3064\u3051\u308b\u3068\u5b89\u5fc3\u3067\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"pandas\u306eDataFrame\u3068NumPy\u306endarray\u306f\u3069\u3046\u4f7f\u3044\u5206\u3051\u308c\u3070\u3044\u3044\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u5217\u540d\u3084\u30e9\u30d9\u30eb\u4ed8\u304d\u3067\u30c7\u30fc\u30bf\u3092\u6271\u3044\u305f\u3044\u5834\u5408\uff08Excel\u306e\u8868\u306e\u3088\u3046\u306a\u30a4\u30e1\u30fc\u30b8\uff09\u306fpandas\u306eDataFrame\u304c\u4fbf\u5229\u3067\u3059\u3002\u4e00\u65b9\u3001\u7d14\u7c8b\u306a\u6570\u5024\u8a08\u7b97\u30fb\u884c\u5217\u6f14\u7b97\u3092\u9ad8\u901f\u306b\u884c\u3044\u305f\u3044\u5834\u5408\u306fNumPy\u306endarray\u304c\u9069\u3057\u3066\u3044\u307e\u3059\u3002\u5b9f\u52d9\u3067\u306fdf.values\u3084np.array(df)\u3067DataFrame\u304b\u3089NumPy\u914d\u5217\u306b\u5909\u63db\u3057\u3066\u8a08\u7b97\u3059\u308b\u3053\u3068\u3082\u3088\u304f\u3042\u308a\u307e\u3059\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"\u753b\u50cf\u30c7\u30fc\u30bf\u3092NumPy\u3067\u6271\u3046\u969b\u3001\u8272\u306e\u5024\u306e\u7bc4\u56f2\u306f\u3069\u3046\u306a\u3063\u3066\u3044\u307e\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u4e00\u822c\u7684\u306aJPEG\/PNG\u753b\u50cf\u306f\u5404\u8272\u30c1\u30e3\u30f3\u30cd\u30eb\u304c0\u301c255\u306e\u6574\u6570\uff08uint8\u578b\uff09\u3067\u8868\u73fe\u3055\u308c\u307e\u3059\u3002\u6a5f\u68b0\u5b66\u7fd2\u30e2\u30c7\u30eb\u306b\u5165\u529b\u3059\u308b\u969b\u306f\u3001\u3053\u306e\u5024\u30920\u301c1\u306e\u7bc4\u56f2\u306b\u5909\u63db\u3059\u308b\u300c\u6b63\u898f\u5316\u300d\u3068\u3044\u3046\u524d\u51e6\u7406\u3092\u884c\u3046\u306e\u304c\u4e00\u822c\u7684\u3067\u3059\uff08\u5024\u3092255\u3067\u5272\u308b\u3060\u3051\u306e\u5358\u7d14\u306a\u51e6\u7406\u3067\u3059\uff09\u3002\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Python\u306e\u884c\u5217\u51e6\u7406\u30b3\u30fc\u30c9\u3092Claude Code\u3067\u751f\u6210\u3059\u308b\u5834\u5408\u3001\u74b0\u5883\u69cb\u7bc9\u306e\u77e5\u8b58\u306f\u5fc5\u8981\u3067\u3059\u304b\uff1f\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"\u57fa\u672c\u7684\u306a\u77e5\u8b58\u304c\u306a\u304f\u3066\u3082\u59cb\u3081\u3089\u308c\u307e\u3059\u3002\u300c\u3053\u306e\u30c7\u30fc\u30bf\u3092\u96c6\u8a08\u3057\u3066\u300d\u3068\u4f1d\u3048\u308b\u3060\u3051\u3067\u3001Claude Code\u304c\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u3084\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u307e\u3067\u6848\u5185\u30fb\u5b9f\u884c\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u793e\u5185\u306ePC\u306bPython\u5b9f\u884c\u74b0\u5883\u304c\u306a\u3044\u5834\u5408\u306f\u3001\u4e8b\u524d\u306b\u8efd\u304f\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u76f8\u8ac7\u3092\u3057\u3066\u304a\u304f\u3068\u30b9\u30e0\u30fc\u30ba\u3067\u3059\u3002\"\n      }\n    }\n  ]\n}\n<\/script>\n\n\n","protected":false},"excerpt":{"rendered":"<p>Python\u306e\u884c\u5217\u8a08\u7b97\u3092NumPy\u3067\u5b8c\u5168\u89e3\u8aac\u3002\u30ea\u30b9\u30c8\u3068\u306e\u9055\u3044\u3001shape\/reshape\/\u8ee2\u7f6e\u3001\u8db3\u3057\u7b97\u30fb\u639b\u3051\u7b97\u30fb\u884c\u5217\u7a4d\u3001\u753b\u50cf\u30c7\u30fc\u30bf\u3092\u884c\u5217\u3068\u3057\u3066\u6271\u3046\u65b9\u6cd5\u3001Claude Code\u3067\u30b3\u30fc\u30c9\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b\u65b9\u6cd5\u307e\u3067\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u5411\u3051\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":26752,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"sitemap_hide":"","_veu_custom_css":"","vkexunit_cta_each_option":"","footnotes":"","rank_math_description":"Python\u306e\u884c\u5217\u8a08\u7b97\u3092NumPy\u3067\u5b8c\u5168\u89e3\u8aac\u3002\u30ea\u30b9\u30c8\u3068\u306e\u9055\u3044\u3001shape\/reshape\/\u8ee2\u7f6e\u3001\u8db3\u3057\u7b97\u30fb\u639b\u3051\u7b97\u30fb\u884c\u5217\u7a4d\u3001\u753b\u50cf\u30c7\u30fc\u30bf\u3092\u884c\u5217\u3068\u3057\u3066\u6271\u3046\u65b9\u6cd5\u3001Claude Code\u3067\u30b3\u30fc\u30c9\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b\u65b9\u6cd5\u307e\u3067\u975e\u30a8\u30f3\u30b8\u30cb\u30a2\u5411\u3051\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002","rank_math_focus_keyword":"Python \u884c\u5217","rank_math_title":"\u30102026\u5e748\u6708\u6700\u65b0\u3011Python\u884c\u5217\uff08NumPy\uff09\u5b8c\u5168\u30ac\u30a4\u30c9\uff5c\u4f5c\u6210\u30fb\u5f62\u72b6\u5909\u63db\u30fb\u8a08\u7b97\u304b\u3089\u753b\u50cf\u30c7\u30fc\u30bf\u51e6\u7406\u307e\u3067","pending_rewrite_html":"","pending_rewrite_id":"","pending_rewrite_kw":"","pending_rewrite_at":"","pending_rewrite_source":"","pending_rewrite_brief":"","pending_rewrite_evidence":"","approved_rewrite_html":"","approved_rewrite_id":"","approved_rewrite_kw":"","approved_rewrite_at":"","approved_rewrite_by":"","approved_rewrite_brief":"","approved_rewrite_evidence":"","rewrite_tracker_baseline":"","rewrite_tracker_7day":"","rewrite_tracker_14day":"","rewrite_tracker_30day":"","rewrite_tracker_notified":""},"categories":[3,2],"tags":[],"class_list":["post-26753","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-automation","category-claude-tips"],"_links":{"self":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/26753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/comments?post=26753"}],"version-history":[{"count":1,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/26753\/revisions"}],"predecessor-version":[{"id":26754,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/posts\/26753\/revisions\/26754"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media\/26752"}],"wp:attachment":[{"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/media?parent=26753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/categories?post=26753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/genai-ai.co.jp\/ai-kanri\/wp-json\/wp\/v2\/tags?post=26753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}