<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kujira16</author_name>
  <author_url>https://blog.hatena.ne.jp/kujira16/</author_url>
  <blog_title>くじらにっき++</blog_title>
  <blog_url>https://kujira16.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>今日覚えたNumPyのテクニックを紹介します。 numpy.stack で2次元配列を繋げて3次元配列を作る 1次元配列を繋げて2次元配列を作りたいような場合には numpy.vstack や numpy.hstack という関数があります。 a = numpy.array([1, 2, 3, 4]) b = numpy.array([2, 4, 6, 8]) c = numpy.array([3, 6, 9, 12]) numpy.vstack([a, b, c]) # array([[ 1, 2, 3, 4], # [ 2, 4, 6, 8], # [ 3, 6, 9, 12]]) 2次元…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkujira16.hateblo.jp%2Fentry%2F2017%2F11%2F09%2F200205&quot; title=&quot;今日覚えたNumPyのテクニック - くじらにっき++&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-11-09 20:02:05</published>
  <title>今日覚えたNumPyのテクニック</title>
  <type>rich</type>
  <url>https://kujira16.hateblo.jp/entry/2017/11/09/200205</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
