<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>misos</author_name>
  <author_url>https://blog.hatena.ne.jp/misos/</author_url>
  <blog_title>めも</blog_title>
  <blog_url>https://paper.hatenadiary.jp/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>コード</anon>
    <anon>前処理</anon>
    <anon>時系列</anon>
  </categories>
  <description>必要ライブラリ 文字列からタイムスタンプを取得 曜日 祝日フラグ 次の日が休日 次の日が平日 元旦から何日目か 年と週番号（元旦から第何週目か） 月と日 年度始めから何日目か その月の平日と休日の一覧 その月に平日と休日が何日あるか 一年前の今日に一番近い同じ曜日の日付 特定の日付からの経過日数 全体 タイムスタンプの文字列から、日付に関する特徴（情報）を計算する。 たまに行うのでめも。 必要ライブラリ こちらから jpholiday をインストール、祝日の判定に使用する。 ありがたい。 from datetime import datetime, date, timedelta import…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpaper.hatenadiary.jp%2Fentry%2F2019%2F07%2F01%2F224156&quot; title=&quot;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://images-fe.ssl-images-amazon.com/images/I/512ru2i5gyL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-07-01 22:41:56</published>
  <title>pythonで日付（タイムスタンプの文字列）から日付の特徴を作成する</title>
  <type>rich</type>
  <url>https://paper.hatenadiary.jp/entry/2019/07/01/224156</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
