<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chikuwamaruX</author_name>
  <author_url>https://blog.hatena.ne.jp/chikuwamaruX/</author_url>
  <blog_title>ロード・トゥ・ザ・ホワイトハッカー</blog_title>
  <blog_url>https://chikuwamarux.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>時系列データの扱い 前回、DataFrameに格納されたデータを集計する方法をまとめた。 chikuwamarux.hatenablog.com 日時を表す項目があれば、文字列のまま扱って、groupby()させることも可能。 ただ、月、日、時、分を取り出して格納するのはイマイチ。 例えば、dateには2021-11-01、timeには15:28:01のような日付・時間を表す文字が格納されている場合、以下でdate_timeという日付型に変換できる。 iis_log6['date_time'] = pd.to_datetime(iis_log6['date'] + &quot; &quot; + iis_log6…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchikuwamarux.hatenablog.com%2Fentry%2F20211204%2F1638582933&quot; title=&quot;ログ集計(WEBサーバー編)　～時系列集計～ - ロード・トゥ・ザ・ホワイトハッカー&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/chikuwamaruX/20211204/20211204100859.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-12-04 10:55:33</published>
  <title>ログ集計(WEBサーバー編)　～時系列集計～</title>
  <type>rich</type>
  <url>https://chikuwamarux.hatenablog.com/entry/20211204/1638582933</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
