<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>koideforest</author_name>
  <author_url>https://blog.hatena.ne.jp/koideforest/</author_url>
  <blog_title>nano_exit</blog_title>
  <blog_url>https://koideforest.hatenadiary.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>pythonで作業していて、パッとデータを保存する、もしくは読み込む方法。 結局は、横軸と縦軸の各一次元データ（横ベクトル）を結合して縦長のデータにする部分が面倒くさい。 しかし、それは numpy.c_ で解決することがわかった。 Pythonで配列や行列の結合 import numpy as np # save data datas1 = np.c_[ x1, y1 ] # same as np.vstack([ x1, y1 ]).T np.savetxt( &quot;datas1.dat&quot;, datas ) # load data datas2 = np.loadtxt( &quot;datas2.da…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkoideforest.hatenadiary.com%2Fentry%2F2018%2F09%2F21%2F182931&quot; title=&quot;横軸と縦軸のデータをすぐに保存&amp;amp;読込 (python) - nano_exit&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>2018-09-21 18:29:31</published>
  <title>横軸と縦軸のデータをすぐに保存&amp;読込 (python)</title>
  <type>rich</type>
  <url>https://koideforest.hatenadiary.com/entry/2018/09/21/182931</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
