<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ma2saka</author_name>
  <author_url>https://blog.hatena.ne.jp/ma2saka/</author_url>
  <blog_title>0xf</blog_title>
  <blog_url>https://0xf.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>python</anon>
  </categories>
  <description>ちょっと Parquet ファイルのスキーマを確認したいことがあった。 こんな感じのスクリプトを書いた。 import argparse import pyarrow.parquet as pq from pyarrow.parquet import ParquetFile def main(input_file: str) -&gt; None: try: parquet_file: ParquetFile = pq.ParquetFile(input_file) schema = parquet_file.schema print(schema) except FileNotFoundError…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F0xf.hatenablog.com%2Fentry%2F2024%2F12%2F19%2F185246&quot; title=&quot;Parquetファイルのスキーマを参照する（謎の key_value フィールド編） - 0xf&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>2024-12-19 18:52:46</published>
  <title>Parquetファイルのスキーマを参照する（謎の key_value フィールド編）</title>
  <type>rich</type>
  <url>https://0xf.hatenablog.com/entry/2024/12/19/185246</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
