{"id":59565,"date":"2018-06-19T22:13:21","date_gmt":"2018-06-19T13:13:21","guid":{"rendered":"https:\/\/www.sejuku.net\/blog\/?p=59565"},"modified":"2024-05-06T11:48:49","modified_gmt":"2024-05-06T02:48:49","slug":"%e6%a9%9f%e6%a2%b0%e5%ad%a6%e7%bf%92%e3%81%ab%e5%bf%85%e9%a0%88%ef%bc%81python%e3%81%a7%e9%ab%98%e9%80%9f%e3%81%ab%e8%a1%8c%e5%88%97%e8%a8%88%e7%ae%97%e3%81%8c%e3%81%a7%e3%81%8d%e3%82%8bnumpy%e3%81%ab","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/59565","title":{"rendered":"\u6a5f\u68b0\u5b66\u7fd2\u306b\u5fc5\u9808\uff01Python\u3067\u9ad8\u901f\u306b\u884c\u5217\u8a08\u7b97\u304c\u3067\u304d\u308bNumPy\u306b\u5165\u9580\uff01"},"content":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u3067\u306fNumPy\u306e\u7d39\u4ecb\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u6a5f\u68b0\u5b66\u7fd2\u3084AI\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001<span style=\"color: #ff0000;\"><strong>\u975e\u5e38\u306b\u81a8\u5927\u306a\u8a08\u7b97<\/strong><\/span>\u3092\u884c\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3093\u306a<strong><span style=\"color: #ff0000; background-color: #ffff00;\">\u8a08\u7b97\u3092\u52b9\u7387\u7684\u306b\u884c\u3046\u305f\u3081\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u304cNumPy<\/span><\/strong>\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f<\/p>\n<ul>\n<li><strong><span style=\"color: #ff0000;\">NumPy\u3068\u306f<\/span><\/strong><\/li>\n<li><strong><span style=\"color: #ff0000;\">\u56db\u5247\u6f14\u7b97<\/span><\/strong><\/li>\n<li><strong><span style=\"color: #ff0000;\">\u30c7\u30fc\u30bf\u306e\u7279\u5fb4\u3092\u6349\u3048\u308b\u5024\u3092\u8a08\u7b97<\/span><\/strong><\/li>\n<\/ul>\n<p>\u306a\u3069\u306e\u57fa\u672c\u7684\u306a\u5185\u5bb9\u304b\u3089<\/p>\n<ul>\n<li><span style=\"color: #ff0000;\"><b>\u5185\u7a4d\u3068\u5916\u7a4d<\/b><\/span><\/li>\n<\/ul>\n<p>\u306a\u3069\u306e\u5fdc\u7528\u7684\u306a\u5185\u5bb9\u307e\u3067\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\uff01<\/p>\n<p>NumPy\u306f\u6a5f\u68b0\u5b66\u7fd2\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3067\u975e\u5e38\u306b\u91cd\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067NumPy\u306b\u5165\u9580\u3057\u3061\u3083\u3044\u307e\u3057\u3087\u3046\uff01<\/p>\n<h2>NumPy\u3068\u306f<\/h2>\n<p><a href=\"http:\/\/www.numpy.org\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter size-large wp-image-59575\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/python_numpy-640x292.png\" alt=\"python_numpy\" width=\"640\" height=\"292\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/python_numpy-640x292.png 640w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/python_numpy-150x68.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/python_numpy-300x137.png 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/python_numpy-810x370.png 810w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/python_numpy.png 1052w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.numpy.org\" target=\"_blank\" rel=\"noopener noreferrer\">[\u5f15\u7528\uff1anumpy.org]<\/a><\/p>\n<h3>\u9ad8\u901f\u306b\u884c\u5217\u8a08\u7b97\u304c\u3067\u304d\u308bNumPy<\/h3>\n<p><span style=\"color: #008000;\"><strong>NumPy<\/strong><\/span>\u306f<span style=\"color: #0000ff;\"><strong>Python\u306e\u884c\u5217\u8a08\u7b97\u30e9\u30a4\u30d6\u30e9\u30ea<\/strong><\/span>\u3067\u3059\u3002<\/p>\n<p>\u5b9f\u306fPython\u306f\u4ed6\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3068\u6bd4\u3079\u3066<span style=\"color: #ff0000;\"><strong>\u3042\u307e\u308a\u901f\u304f\u8a08\u7b97\u304c\u3067\u304d\u307e\u305b\u3093<\/strong><\/span>\u3002<\/p>\n<p>\u3067\u306f\u3069\u3046\u3084\u3063\u3066AI\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306a\u3069\u306e\u91cd\u3044\u8a08\u7b97\u3092\u3084\u3063\u3066\u3044\u308b\u306e\u304b\u3068\u3044\u3046\u3068\u3001\u5b9f\u306f\u3053\u306e<span style=\"color: #0000ff;\"><strong>NumPy\u306b\u8a08\u7b97\u3092\u3057\u3066\u3082\u3089\u3063\u3066\u3044\u308b<\/strong><\/span>\u3093\u3067\u3059\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong>NumPy\u306fC\/C++\u3001Fortran\u306a\u3069\u306e\u9ad8\u901f\u306b\u52d5\u4f5c\u3059\u308b\u8a00\u8a9e\u3067\u5b9f\u88c5<\/strong><\/span>\u3055\u308c\u3066\u3044\u3066\u3001Python\u304b\u3089\u7c21\u5358\u306b\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u73fe\u5728\u306e\u6a5f\u68b0\u5b66\u7fd2\u30fb\u30c7\u30a3\u30fc\u30d7\u30e9\u30fc\u30cb\u30f3\u30b0\u306a\u3069\u306eAI\u6280\u8853\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u306f\u5fc5\u8981\u4e0d\u53ef\u6b20\u306a\u30c4\u30fc\u30eb\u3067\u3042\u308a\u3001AI\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u884c\u3046\u305f\u3081\u306b\u662f\u975e\u899a\u3048\u3066\u304a\u304d\u305f\u3044\u30c4\u30fc\u30eb\u3067\u3059\uff01<\/p>\n<h3>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5<\/h3>\n<p><span style=\"color: #008000;\"><strong>Anaconda<\/strong><\/span>\u3092\u4f7f\u3063\u3066Python\u74b0\u5883\u3092\u4f5c\u3063\u305f\u306a\u3089\u3070\u3001<span style=\"color: #0000ff;\"><strong>\u65e2\u306bNumPy\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059<\/strong><\/span>\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001Anaconda\u74b0\u5883\u3067NumPy\u3092\u624b\u52d5\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u6642\u306f\u3001<\/p>\n<pre class=\"lang:default decode:true\">conda install numpy<\/pre>\n<p>\u4ed6\u306e\u65b9\u6cd5\u3067Python\u74b0\u5883\u3092\u4f5c\u3063\u3066\u3001NumPy\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u6642\u306f\u3001<\/p>\n<pre class=\"lang:default decode:true\">pip install numpy<\/pre>\n<p>\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>NumPy\u306e\u4f7f\u3044\u65b9<\/h2>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-59603\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_10-640x360.png\" alt=\"numpy_10\" width=\"640\" height=\"360\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_10-640x360.png 640w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_10-150x84.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_10-300x169.png 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_10-810x456.png 810w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_10-1140x641.png 1140w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_10.png 1280w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001NumPy\u3092\u4f7f\u3063\u305f\u7c21\u5358\u306a<span style=\"color: #008000;\"><strong>\u884c\u5217\u6f14\u7b97<\/strong><\/span>\u306b\u30c1\u30e3\u30ec\u30f3\u30b8\u3057\u307e\u3057\u3087\u3046\uff01<\/p>\n<p>\u307e\u305a\u306f\u6e96\u5099\u3068\u3057\u3066\u3001<span style=\"color: #0000ff;\"><strong>NumPy\u3092import\u3057\u307e\u3059<\/strong><\/span>\u3002<\/p>\n<p>NumPy\u306f\u6163\u4f8b\u3068\u3057\u3066<span style=\"color: #008000;\"><strong>np<\/strong><\/span>\u3068\u3044\u3046\u30cb\u30c3\u30af\u30cd\u30fc\u30e0\u3092\u3064\u3051\u307e\u3059\u3088\u3002<\/p>\n<pre class=\"lang:python decode:true\">import numpy as np\r\n\r\na = np.arange(6)\r\na = a.reshape(2,3)\r\nb = np.arange(6,12)\r\nnp.random.shuffle(b)\r\nb = b.reshape(2,3)<\/pre>\n<p>\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001a\u3068b\u3068\u3044\u3046\u30b5\u30f3\u30d7\u30eb\u884c\u5217\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<div style=\"padding: 10px 5px 10px 20px; margin-bottom: 20px; border: 5px solid #ffe4e2;\">\n<p>\u2605\u30d2\u30f3\u30c8<\/p>\n<p>np.arrange(x,y)<br \/>\n&gt; x\u304b\u3089y-1\u307e\u3067\u306e\u8981\u7d20\u3092\u6301\u3063\u305f\u6574\u6570(int)\u578b\u306e\u30d9\u30af\u30c8\u30eb\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<p>z.reshape(x,y)<br \/>\n&gt; z\u3092x,y\u884c\u5217\u306b\u5909\u5f62\u3057\u307e\u3059\u3002<\/p>\n<p>np.random.shuffle(x)<br \/>\n&gt; x\u3092\u30e9\u30f3\u30c0\u30e0\u306b\u4e26\u3073\u66ff\u3048\u307e\u3059\u3002<\/p>\n<\/div>\n<p>\u3053\u306e\u64cd\u4f5c\u306b\u3088\u3063\u3066a\u3068b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5024\u3092\u6301\u3061\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-59585\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_1-640x398.png\" alt=\"numpy_1\" width=\"640\" height=\"398\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_1-640x398.png 640w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_1-150x93.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_1-300x187.png 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_1.png 661w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u3067\u306f\u3053\u308c\u3089\u3092\u4f7f\u3063\u3066\u884c\u5217\u306e\u8a08\u7b97\u3092\u3084\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u56db\u5247\u6f14\u7b97<\/h3>\n<p><span style=\"color: #008000;\"><strong>\u6f14\u7b97\u5b50( + &#8211; * \/\u306a\u3069)<\/strong><\/span>\u3092\u4f7f\u3063\u305f\u884c\u5217\u540c\u58eb\u306e\u8a08\u7b97\u306f\u3001\u8981\u7d20\u540c\u58eb\u306e\u8a08\u7b97\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u89e3\u8aac\u3067\u308f\u304b\u3063\u305f\u4eba\u306fOK\u3067\u3059\u3002\u6b21\u3078\u9032\u3093\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30b9\u30c8\u30f3\u3068\u3053\u306a\u304b\u3063\u305f\u4eba\u306f\u3001\u8b0e\u306e\u6f14\u7b97\u5b50\u2605\u3092\u4f7f\u3063\u305f\u4f8b\u984c\u3001result=a\u2605b\u3092\u8003\u3048\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u3053\u306e\u8a08\u7b97\u3092\u3057\u305f\u3068\u304d\u3001numpy\u306f\u4e0b\u306e\u3088\u3046\u306a\u52d5\u304d\u3092\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-59591\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_2-640x154.png\" alt=\"numpy_2\" width=\"640\" height=\"154\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_2-640x154.png 640w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_2-150x36.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_2-300x72.png 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_2.png 676w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u8981\u7d20\u540c\u58eb\u306e\u8a08\u7b97\u3068\u306f\u3053\u3046\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u308f\u304b\u308a\u307e\u3057\u305f\u304b\uff1f<\/p>\n<p>\u308f\u304b\u3063\u305f\u3089\u6b21\u3078\u3002\u30b9\u30c8\u30f3\u3068\u3053\u306a\u304b\u3063\u305f\u4eba\u306f\u4e0b\u306e\u4f8b\u984c\u3092\u624b\u3067\u8a08\u7b97\u3057\u3066\u307f\u307e\u3057\u3087\u3046\uff01<\/p>\n<h4>\u52a0\u7b97\uff08\u8db3\u3057\u7b97\uff09<\/h4>\n<pre class=\"lang:python decode:true\">result = a+b\r\n\r\n# \u7d50\u679c\r\narray([[ 6,  9, 11],\r\n       [14, 11, 15]])<\/pre>\n<h4>\u6e1b\u7b97\uff08\u5f15\u304d\u7b97\uff09<\/h4>\n<pre class=\"lang:python decode:true\">result = a-b\r\n\r\n# \u7d50\u679c\r\narray([[-6, -7, -7],\r\n       [-8, -3, -5]])<\/pre>\n<h4>\u4e57\u7b97\uff08\u639b\u3051\u7b97\uff09<\/h4>\n<pre class=\"lang:python decode:true\">result = a*b\r\n\r\n# \u7d50\u679c\r\narray([[ 0, 8, 18],\r\n       [33, 28, 50]])<\/pre>\n<h4>\u9664\u7b97\uff08\u5272\u308a\u7b97\uff09<\/h4>\n<pre class=\"lang:python decode:true\">result = a\/b\r\n\r\n# \u7d50\u679c\r\narray([[0. , 0.125 , 0.22222222],\r\n       [0.27272727, 0.57142857, 0.5 ]])<\/pre>\n<h3>\u30c7\u30fc\u30bf\u306e\u7279\u5fb4\u3092\u6349\u3048\u308b\u5024<\/h3>\n<p><span style=\"color: #008000;\"><strong>\u5e73\u5747\u5024\u3001\u4e2d\u592e\u5024\u3001\u6700\u5927\u5024\u3001\u6700\u5c0f\u5024<\/strong><\/span>\u3092\u8a08\u7b97\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u307e\u305a\u306f\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u6a19\u6e96\u6b63\u898f\u5206\u5e03 (\u5e73\u57470, \u6a19\u6e96\u504f\u5dee1)\u304b\u3089\u5024\u309210\u500b\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"lang:python decode:true\">c = np.random.randn(10)\r\n\r\n# \u7d50\u679c\r\narray([ 0.74574745, -0.25264616, 2.73971656, 0.01992425, 1.33860227,\r\n        0.3727719 , 0.13732889, 0.47620023, 1.32571159, -0.57923272])\r\n<\/pre>\n<p><img decoding=\"async\" class=\"aligncenter size-large wp-image-59593\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_3-640x302.png\" alt=\"numpy_3\" width=\"640\" height=\"302\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_3-640x302.png 640w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_3-150x71.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_3-300x142.png 300w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_3-810x382.png 810w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_3-1140x538.png 1140w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_3.png 1146w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u3053\u306e\u914d\u5217\u3092\u4f7f\u3063\u3066\u914d\u5217\u3092\u4f7f\u3063\u3066\u8a08\u7b97\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h4>\u5e73\u5747\u5024<\/h4>\n<pre class=\"lang:python decode:true\">np.mean(c)\r\n\r\n# \u7d50\u679c\r\n0.6324124270974353<\/pre>\n<h4>\u4e2d\u592e\u5024<\/h4>\n<pre class=\"lang:python decode:true\">np.median(c)\r\n\r\n# \u7d50\u679c\r\n0.4244860647418945<\/pre>\n<h4>\u6700\u5927\u5024<\/h4>\n<pre class=\"lang:python decode:true\">np.max(c)\r\n\r\n# \u7d50\u679c\r\n2.7397165593902857<\/pre>\n<h4>\u6700\u5c0f\u5024<\/h4>\n<pre class=\"lang:python decode:true\">np.min(c)\r\n\r\n# \u7d50\u679c\r\n-0.5792327226017869<\/pre>\n<h3>\u5185\u7a4d\u3068\u5916\u7a4d<\/h3>\n<h4>\u5185\u7a4d<\/h4>\n<p><span style=\"color: #008000;\"><strong>\u5185\u7a4d\uff08dot product\uff09<\/strong><\/span>\u3001\u6a5f\u68b0\u5b66\u7fd2\u3067\u3088\u304f\u51fa\u3066\u304f\u308b\u8a08\u7b97\u3067\u3059\u306d\u3002<\/p>\n<p>\u3061\u3087\u3063\u3068\u308f\u304b\u3089\u306a\u3044\u305e\uff1f\u3063\u3066\u4eba\u306f\u6b21\u306e\u8a18\u4e8b\u3092\u30c1\u30a7\u30c3\u30af\u3002<\/p>\n<p><a href=\"https:\/\/qiita.com\/kenmatsu4\/items\/a144047c1b49aa8c7eb0\" target=\"_blank\" rel=\"noopener noreferrer\">\u3010\u6570\u5b66\u3011\u300c\u5185\u7a4d\u300d\u306e\u610f\u5473\u3092\u30b0\u30e9\u30d5\u30a3\u30ab\u30eb\u306b\u7406\u89e3\u3059\u308b\u3068\u8272\u3005\u898b\u3048\u3066\u304f\u308b \u305d\u306e\uff11@kenmatsu4 &#8211;Qiita<\/a><\/p>\n<p>\u30a4\u30e1\u30fc\u30b8\u3068\u3057\u3066\u306f\u4e0b\u306e\u611f\u3058\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-59602\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_5.png\" alt=\"numpy_5\" width=\"449\" height=\"356\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_5.png 449w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_5-150x119.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_5-300x238.png 300w\" sizes=\"(max-width: 449px) 100vw, 449px\" \/><\/p>\n<p>NumPy\u306a\u3089\u5185\u7a4d\u306e\u8a08\u7b97\u3082\u7c21\u5358\uff01<\/p>\n<pre class=\"lang:python decode:true\">result = np.dot(a, c[1])\r\n\r\n# \u7d50\u679c\r\narray([ 27, 111])<\/pre>\n<div style=\"padding: 10px 5px 10px 20px; margin-bottom: 20px; border: 5px solid #ffe4e2;\">\n<p>\u2605\u30d2\u30f3\u30c8<\/p>\n<p>b[1]<br \/>\n&gt; b\u306e0\u304b\u3089\u6570\u3048\u30661\u756a\u76ee\u306e\u8981\u7d20\u3092\u53d6\u308a\u51fa\u3057\u307e\u3059\u3002\u3064\u307e\u308a[11, 7, 10]\u304c\u53d6\u308a\u51fa\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/div>\n<h4>\u5916\u7a4d<\/h4>\n<p><span style=\"color: #008000;\"><strong>\u5916\u7a4d\uff08outer product\uff09<\/strong><\/span>\u30fb\u30fb\u30fb\u3068\u3044\u3046\u304b<span style=\"color: #008000;\"><strong>\u76f4\u7a4d<\/strong><\/span>\u3082\u8a08\u7b97\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u30a4\u30e1\u30fc\u30b8\u3068\u3057\u3066\u306f\u4e0b\u306e\u611f\u3058\u3002<img decoding=\"async\" class=\"aligncenter size-full wp-image-59599\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_4.png\" alt=\"numpy_4\" width=\"352\" height=\"272\" srcset=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_4.png 352w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_4-150x116.png 150w, https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/numpy_4-300x232.png 300w\" sizes=\"(max-width: 352px) 100vw, 352px\" \/>\u767e\u307e\u3059\u8a08\u7b97\uff08\u639b\u3051\u7b97\uff09\u307f\u305f\u3044\u306a\u611f\u3058\u3067\u3059\u306d\u3002<\/p>\n<pre class=\"lang:python decode:true\">np.outer(a.reshape(6), b.reshape(6)[:4])\r\n\r\n# \u7d50\u679c\r\narray([[ 0,  0,  0,  0],\r\n       [ 6,  8,  9, 11],\r\n       [12, 16, 18, 22],\r\n       [18, 24, 27, 33],\r\n       [24, 32, 36, 44],\r\n       [30, 40, 45, 55]])<\/pre>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001<span style=\"color: #0000ff;\"><strong>Numpy\u306e\u7c21\u5358\u306a\u4f7f\u3044\u65b9\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f<\/strong><\/span>\u3002<\/p>\n<p>NumPy\u306fPython\u3067<span style=\"color: #ff0000;\"><strong>\u975e\u5e38\u306b\u91cd\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea<\/strong><\/span>\u3067\u3059\u3002<\/p>\n<p>\u672c\u5f53\u306b\u69d8\u3005\u306a\u30c4\u30fc\u30eb\u3067\u4f7f\u308f\u308c\u3066\u3044\u3066\u3001\u3053\u308c\u3092\u899a\u3048\u308b\u3060\u3051\u3067\u4e16\u754c\u304c\u5e83\u304c\u308a\u307e\u3059\u3002<\/p>\n<p>\u3082\u3063\u3068\u6df1\u3044NumPy\u306e\u52c9\u5f37\u304c\u3057\u305f\u3044\uff01NumPy\u3067\u6a5f\u68b0\u5b66\u7fd2\u3092\u5b9f\u88c5\u3057\u305f\u3044\uff01\u3068\u3044\u3046\u65b9\u306b\u306f\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30de\u30f3\u30fb\u30c4\u30fc\u30fb\u30de\u30f3\u30ec\u30c3\u30b9\u30f3\u304c\u30aa\u30b9\u30b9\u30e1\u3067\u3059\u3002<\/p>\n<p>[su_button url=&#8221;https:\/\/lp.sejuku.net\/lp1_blog_01\/?cid=ai_btn1_59565&#8243; target=&#8221;blank&#8221; background=&#8221;#409fdf&#8221; color=&#8221;#fff88f&#8221; size=&#8221;10&#8243; center=&#8221;yes&#8221; radius=&#8221;10&#8243; icon=&#8221;icon: external-link&#8221; icon_color=&#8221;#fff88f&#8221; text_shadow=&#8221;0px 0px 10px #808080&#8243;]<strong>\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u3068\u306f\uff1f<br \/>\n\u8a73\u7d30\u306f\u3053\u3061\u3089\u304b\u3089<\/strong>[\/su_button]<\/p>\n<p>\u30de\u30f3\u30fb\u30c4\u30fc\u30fb\u30de\u30f3\u30ec\u30c3\u30b9\u30f3\u3067NumPy\u3001\u6a5f\u68b0\u5b66\u7fd2\u306e\u52c9\u5f37\u3092\u59cb\u3081\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u3067\u306fNumPy\u306e\u7d39\u4ecb\u3092\u884c\u3044\u307e\u3059\u3002 \u6a5f\u68b0\u5b66\u7fd2\u3084AI\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001\u975e\u5e38\u306b\u81a8\u5927\u306a\u8a08\u7b97\u3092\u884c\u3044\u307e\u3059\u3002 \u305d\u3093\u306a\u8a08\u7b97\u3092\u52b9\u7387\u7684\u306b\u884c\u3046\u305f\u3081\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u304cNumPy\u3067\u3059\u3002 \u3053\u306e\u8a18\u4e8b\u3067\u306f NumPy\u3068\u306f \u56db\u5247\u6f14\u7b97 \u30c7\u30fc\u30bf\u306e\u7279\u5fb4\u3092\u6349\u3048 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":59577,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"swell_btn_cv_data":"","footnotes":""},"categories":[2350],"tags":[1281,49],"class_list":["post-59565","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python-study","tag-ai","tag-python"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u6a5f\u68b0\u5b66\u7fd2\u306b\u5fc5\u9808\uff01Python\u3067\u9ad8\u901f\u306b\u884c\u5217\u8a08\u7b97\u304c\u3067\u304d\u308bNumPy\u306b\u5165\u9580\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u6a5f\u68b0\u5b66\u7fd2\u306b\u5fc5\u9808\uff01Python\u3067\u9ad8\u901f\u306b\u884c\u5217\u8a08\u7b97\u304c\u3067\u304d\u308bNumPy\u306b\u5165\u9580\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sejuku.net\/blog\/59565\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6a5f\u68b0\u5b66\u7fd2\u306b\u5fc5\u9808\uff01Python\u3067\u9ad8\u901f\u306b\u884c\u5217\u8a08\u7b97\u304c\u3067\u304d\u308bNumPy\u306b\u5165\u9580\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u6a5f\u68b0\u5b66\u7fd2\u306b\u5fc5\u9808\uff01Python\u3067\u9ad8\u901f\u306b\u884c\u5217\u8a08\u7b97\u304c\u3067\u304d\u308bNumPy\u306b\u5165\u9580\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sejuku.net\/blog\/59565\" \/>\n<meta property=\"og:site_name\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sejuku2013\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/sejuku2013\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-19T13:13:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:48:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/python_numpy_eye.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"700\" \/>\n\t<meta property=\"og:image:height\" content=\"394\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/samuraijuku\" \/>\n<meta name=\"twitter:site\" content=\"@samuraijuku\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/59565#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/59565\"},\"author\":{\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\"},\"headline\":\"\u6a5f\u68b0\u5b66\u7fd2\u306b\u5fc5\u9808\uff01Python\u3067\u9ad8\u901f\u306b\u884c\u5217\u8a08\u7b97\u304c\u3067\u304d\u308bNumPy\u306b\u5165\u9580\uff01\",\"datePublished\":\"2018-06-19T13:13:21+00:00\",\"dateModified\":\"2024-05-06T02:48:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/59565\"},\"wordCount\":122,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/59565#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/python_numpy_eye.jpg\",\"keywords\":[\"AI\",\"python\"],\"articleSection\":[\"Python\u5b66\u7fd2\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/59565\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/59565\",\"name\":\"\u6a5f\u68b0\u5b66\u7fd2\u306b\u5fc5\u9808\uff01Python\u3067\u9ad8\u901f\u306b\u884c\u5217\u8a08\u7b97\u304c\u3067\u304d\u308bNumPy\u306b\u5165\u9580\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/59565#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/59565#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/python_numpy_eye.jpg\",\"datePublished\":\"2018-06-19T13:13:21+00:00\",\"dateModified\":\"2024-05-06T02:48:49+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u6a5f\u68b0\u5b66\u7fd2\u306b\u5fc5\u9808\uff01Python\u3067\u9ad8\u901f\u306b\u884c\u5217\u8a08\u7b97\u304c\u3067\u304d\u308bNumPy\u306b\u5165\u9580\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/59565#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/59565\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/59565#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/python_numpy_eye.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/python_numpy_eye.jpg\",\"width\":700,\"height\":394},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/59565#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6a5f\u68b0\u5b66\u7fd2\u306b\u5fc5\u9808\uff01Python\u3067\u9ad8\u901f\u306b\u884c\u5217\u8a08\u7b97\u304c\u3067\u304d\u308bNumPy\u306b\u5165\u9580\uff01\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"description\":\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\",\"name\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"width\":600,\"height\":600,\"caption\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\",\"https:\\\/\\\/x.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\\\/featured\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"caption\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\"},\"description\":\"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\\\/Web\u958b\u767a\\\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\\\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\\\/\u30b2\u30fc\u30e0\u958b\u767a\\\/AI\\\/Web\u30c7\u30b6\u30a4\u30f3\",\"sameAs\":[\"https:\\\/\\\/www.sejuku.net\\\/\",\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\\\/\",\"https:\\\/\\\/www.instagram.com\\\/samuraiengineer_official\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\"],\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/author\\\/samurai-blog\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u6a5f\u68b0\u5b66\u7fd2\u306b\u5fc5\u9808\uff01Python\u3067\u9ad8\u901f\u306b\u884c\u5217\u8a08\u7b97\u304c\u3067\u304d\u308bNumPy\u306b\u5165\u9580\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u6a5f\u68b0\u5b66\u7fd2\u306b\u5fc5\u9808\uff01Python\u3067\u9ad8\u901f\u306b\u884c\u5217\u8a08\u7b97\u304c\u3067\u304d\u308bNumPy\u306b\u5165\u9580\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sejuku.net\/blog\/59565","og_locale":"ja_JP","og_type":"article","og_title":"\u6a5f\u68b0\u5b66\u7fd2\u306b\u5fc5\u9808\uff01Python\u3067\u9ad8\u901f\u306b\u884c\u5217\u8a08\u7b97\u304c\u3067\u304d\u308bNumPy\u306b\u5165\u9580\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u6a5f\u68b0\u5b66\u7fd2\u306b\u5fc5\u9808\uff01Python\u3067\u9ad8\u901f\u306b\u884c\u5217\u8a08\u7b97\u304c\u3067\u304d\u308bNumPy\u306b\u5165\u9580\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","og_url":"https:\/\/www.sejuku.net\/blog\/59565","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_author":"https:\/\/www.facebook.com\/sejuku2013\/","article_published_time":"2018-06-19T13:13:21+00:00","article_modified_time":"2024-05-06T02:48:49+00:00","og_image":[{"width":700,"height":394,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/python_numpy_eye.jpg","type":"image\/jpeg"}],"author":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/samuraijuku","twitter_site":"@samuraijuku","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sejuku.net\/blog\/59565#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/59565"},"author":{"name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61"},"headline":"\u6a5f\u68b0\u5b66\u7fd2\u306b\u5fc5\u9808\uff01Python\u3067\u9ad8\u901f\u306b\u884c\u5217\u8a08\u7b97\u304c\u3067\u304d\u308bNumPy\u306b\u5165\u9580\uff01","datePublished":"2018-06-19T13:13:21+00:00","dateModified":"2024-05-06T02:48:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/59565"},"wordCount":122,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/59565#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/python_numpy_eye.jpg","keywords":["AI","python"],"articleSection":["Python\u5b66\u7fd2"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/59565","url":"https:\/\/www.sejuku.net\/blog\/59565","name":"\u6a5f\u68b0\u5b66\u7fd2\u306b\u5fc5\u9808\uff01Python\u3067\u9ad8\u901f\u306b\u884c\u5217\u8a08\u7b97\u304c\u3067\u304d\u308bNumPy\u306b\u5165\u9580\uff01 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/59565#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/59565#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/python_numpy_eye.jpg","datePublished":"2018-06-19T13:13:21+00:00","dateModified":"2024-05-06T02:48:49+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u6a5f\u68b0\u5b66\u7fd2\u306b\u5fc5\u9808\uff01Python\u3067\u9ad8\u901f\u306b\u884c\u5217\u8a08\u7b97\u304c\u3067\u304d\u308bNumPy\u306b\u5165\u9580\uff01 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","breadcrumb":{"@id":"https:\/\/www.sejuku.net\/blog\/59565#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/59565"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/59565#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/python_numpy_eye.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2018\/06\/python_numpy_eye.jpg","width":700,"height":394},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/59565#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u6a5f\u68b0\u5b66\u7fd2\u306b\u5fc5\u9808\uff01Python\u3067\u9ad8\u901f\u306b\u884c\u5217\u8a08\u7b97\u304c\u3067\u304d\u308bNumPy\u306b\u5165\u9580\uff01"}]},{"@type":"WebSite","@id":"https:\/\/www.sejuku.net\/blog\/#website","url":"https:\/\/www.sejuku.net\/blog\/","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002","publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sejuku.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.sejuku.net\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793eSAMURAI","url":"https:\/\/www.sejuku.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","width":600,"height":600,"caption":"\u682a\u5f0f\u4f1a\u793eSAMURAI"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sejuku2013","https:\/\/x.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g\/featured"]},{"@type":"Person","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","caption":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8"},"description":"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\/Web\u958b\u767a\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\/\u30b2\u30fc\u30e0\u958b\u767a\/AI\/Web\u30c7\u30b6\u30a4\u30f3","sameAs":["https:\/\/www.sejuku.net\/","https:\/\/www.facebook.com\/sejuku2013\/","https:\/\/www.instagram.com\/samuraiengineer_official\/","https:\/\/x.com\/https:\/\/twitter.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g"],"url":"https:\/\/www.sejuku.net\/blog\/author\/samurai-blog"}]}},"_links":{"self":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/59565","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/comments?post=59565"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/59565\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/59577"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=59565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=59565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=59565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}