<?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>
  </categories>
  <description>ランキング参加中Python 背景 Python初心者あるあるをまとめます。 また、その改善策も合わせて紹介します。 あるある１：多重forループ for i in range(10): for j in range(10): for k in range(10): print(i, j, k) 本当に多重ループが必要でしょうか？よく考えましょう。 代替案は、pandas DataFrameやnumpyを使ってベクトル志向な演算を目指しましょう。 ベクトル志向については下記を参照してください。 www.yuta-nakata.net あるある２：関数志向な実装ができていない import pa…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.yuta-nakata.net%2Fentry%2F2024%2F08%2F02%2F220548&quot; title=&quot;【脱初心者】Python初心者コードあるある - 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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-08-02 22:05:48</published>
  <title>【脱初心者】Python初心者コードあるある</title>
  <type>rich</type>
  <url>https://www.yuta-nakata.net/entry/2024/08/02/220548</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
