<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>momijiame</author_name>
  <author_url>https://blog.hatena.ne.jp/momijiame/</author_url>
  <blog_title>CUBE SUGAR CONTAINER</blog_title>
  <blog_url>https://blog.amedama.jp/</blog_url>
  <categories>
    <anon>Polars</anon>
  </categories>
  <description>Polars は DataFrame や Series に含まれる文字列が、デフォルトでは 32 文字までしか表示されず、それを超えると省略されてしまう。 今回は、その挙動を変更する方法について書く。 結論から先に述べると pl.Config.set_fmt_str_lengths() を使うことで、省略されずに表示される最大の文字数を指定できる。 使った環境は次のとおり。 $ sw_vers ProductName: macOS ProductVersion: 13.2.1 BuildVersion: 22D68 $ python -V Python 3.9.16 $ pip list | …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.amedama.jp%2Fentry%2Fpolars-str-wo-abbreviation-len&quot; title=&quot;Python: Polars で文字列が省略される文字数を変更する - CUBE SUGAR CONTAINER&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://m.media-amazon.com/images/I/51kU2EFP5UL._SL500_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-03-20 19:32:12</published>
  <title>Python: Polars で文字列が省略される文字数を変更する</title>
  <type>rich</type>
  <url>https://blog.amedama.jp/entry/polars-str-wo-abbreviation-len</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
