<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Goldwriter</author_name>
  <author_url>https://blog.hatena.ne.jp/Goldwriter/</author_url>
  <blog_title>Goldwritterの日記</blog_title>
  <blog_url>https://goldwriter.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>日付のデータ型って難しいな。 データフレームの日付の文字変換はこのコードでできる。 df[&quot;日付け&quot;].dt.strftime('%y%m%d') ところが 真似して,次のようにやってもできないんだよね。 2018-03-30,2018-03-30,2018-03-30.dt.strftime('%y%m%d') 原因はよくわからないんだけど,データタイプが,日付型になってないから。 ⓵そこで日付型の変数を作って ②文字型にして ③それを日付型に変更する。 ①import datetime as dt #@日付型の変数を作成 s=dt.datetime(2020,1,13,12,59,6) #…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgoldwriter.hateblo.jp%2Fentry%2F2021%2F05%2F19%2F233606&quot; title=&quot;日付け型データ難しい - Goldwritterの日記&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>2021-05-19 23:36:06</published>
  <title>日付け型データ難しい</title>
  <type>rich</type>
  <url>https://goldwriter.hateblo.jp/entry/2021/05/19/233606</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
