<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nekoyukimmm</author_name>
  <author_url>https://blog.hatena.ne.jp/nekoyukimmm/</author_url>
  <blog_title>ねこゆきのメモ</blog_title>
  <blog_url>https://nekoyukimmm.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>pandas</anon>
  </categories>
  <description>縦にずらす。 In [22]: df = pd.DataFrame({'a':[1,2,3,4,5,6]}) In [23]: df Out[23]: a 0 1 1 2 2 3 3 4 4 5 5 6 In [24]: df.shift(-1) Out[24]: a 0 2.0 1 3.0 2 4.0 3 5.0 4 6.0 5 NaN In [25]: df.shift(1) Out[25]: a 0 NaN 1 1.0 2 2.0 3 3.0 4 4.0 5 5.0 ふーん。 横にもずらせる。 In [26]: df = pd.DataFrame([[1,2,3],[4,5,6]]) I…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnekoyukimmm.hatenablog.com%2Fentry%2F2017%2F02%2F09%2F152224&quot; title=&quot;&amp;lt;Python, pandas&amp;gt; 縦にずらす。 - ねこゆきのメモ&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-02-09 15:22:24</published>
  <title>&lt;Python, pandas&gt; 縦にずらす。</title>
  <type>rich</type>
  <url>https://nekoyukimmm.hatenablog.com/entry/2017/02/09/152224</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
