<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>AmatoSaN</author_name>
  <author_url>https://blog.hatena.ne.jp/AmatoSaN/</author_url>
  <blog_title>甘党ブログ</blog_title>
  <blog_url>https://amatosan.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>Econometrics</anon>
  </categories>
  <description>非常に苦労したので、忘れないうちに書いておく。 Python環境が整っている（Anaconda＋git for Windowsのインストールが済んでいる）ことが前提。 カレントフォルダ（pythonの作業フォルダ）に読み込みたいinput.dtaというファイルが入っている と仮定して話を進めます。 StatsModelsのインストール dtaファイルを読み込むことだけなら、pandasというモジュール（Anacondaをインストールしたなら勝手に入っているはず）を使ってもよい。 from pandas import read_stata data = read_stata('input.dta…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Famatosan.hatenablog.com%2Fentry%2F2016%2F02%2F15%2F003513&quot; title=&quot;PythonでStataのデータファイル（.dtaファイル）を扱う - 甘党ブログ&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>2016-02-15 00:35:13</published>
  <title>PythonでStataのデータファイル（.dtaファイル）を扱う</title>
  <type>rich</type>
  <url>https://amatosan.hatenablog.com/entry/2016/02/15/003513</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
