<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chayarokurokuro</author_name>
  <author_url>https://blog.hatena.ne.jp/chayarokurokuro/</author_url>
  <blog_title>よちよちpython   </blog_title>
  <blog_url>https://chayarokurokuro.hatenablog.com/</blog_url>
  <categories>
    <anon>Anaconda</anon>
    <anon>JupyterNotebook</anon>
    <anon>matplotlib</anon>
    <anon>pandas</anon>
    <anon>Ubuntu</anon>
    <anon>python</anon>
    <anon>Windows</anon>
    <anon>グラフ作成</anon>
  </categories>
  <description>今回は、Pandasで移動平均というものを出す方法。簡単です。 株価や新型コロナPCR検査数のグラフのように、日によって激しく上下するグラフをデータそのままで描くと、トレンドとして上がり調子なのか下がり調子なのか分かりにくくなる。そのため縦軸の値を移動平均というものにして上下のバラツキの少ないグラフにしてあったりします。 厚生労働省のコロナのPCR検査数データを使って移動平均の出し方を覚えます。 参考リンク pandasで窓関数を適用するrollingを使って移動平均などを算出 | note.nkmk.me 厚労省の新型コロナPCR検査数データを読み込む url = &quot;https://www.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchayarokurokuro.hatenablog.com%2Fentry%2F2021%2F04%2F09%2F231253&quot; title=&quot;【Pandas】移動平均の出し方 - よちよちpython   &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>https://cdn-ak.f.st-hatena.com/images/fotolife/c/chayarokurokuro/20210409/20210409230333.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-04-09 23:12:53</published>
  <title>【Pandas】移動平均の出し方</title>
  <type>rich</type>
  <url>https://chayarokurokuro.hatenablog.com/entry/2021/04/09/231253</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
