<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuta-nakata</author_name>
  <author_url>https://blog.hatena.ne.jp/yuta-nakata/</author_url>
  <blog_title>Yuta NakataのBlog</blog_title>
  <blog_url>https://www.yuta-nakata.net/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>技術書</anon>
  </categories>
  <description>はじめに 先日、”良いコード/悪いで学ぶ設計入門”を読みました。 https://amzn.to/4fQVvBD 本書で触れられていた内容について、この記事ではPythonコードでの具体例を交えながら、紹介したいと思います。 一部紹介になりますので、ぜひ本書の購入して読んでみてください。 ベタ書き禁止 # これはベタ書きされた良くない書き方 import pandas as pd df = pd.read_csv('test1.csv') df = df['name', 'address'] print(df) のように、関数化されていないベタ書きはやめようという内容です。 適切な塊ごとに関数…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.yuta-nakata.net%2Fentry%2F2025%2F01%2F05%2F124144&quot; title=&quot;【Python】良いコードの書き方5選｜可読性と保守性を高める実践テクニック - Yuta NakataのBlog&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://cdn-ak.f.st-hatena.com/images/fotolife/y/yuta-nakata/20241222/20241222173744.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-01-05 12:41:44</published>
  <title>【Python】良いコードの書き方5選｜可読性と保守性を高める実践テクニック</title>
  <type>rich</type>
  <url>https://www.yuta-nakata.net/entry/2025/01/05/124144</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
