<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>HK29</author_name>
  <author_url>https://blog.hatena.ne.jp/HK29/</author_url>
  <blog_title>PythonとVBAで世の中を便利にする</blog_title>
  <blog_url>https://hk29.hatenablog.jp/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>グラフ化</anon>
    <anon>散布図</anon>
  </categories>
  <description>下図は、本プログラムの実行例です。100個のランダムデータがあって、赤点は任意に指定したx,y座標 (0.75, 0.58)です。青点はプログラム実行によって得られた赤点に最も近いN＝5個を抽出した結果です。 下図は、上記の青点のデータである。pandasデータフレームで取得する。 ■本プログラム import pandas as pd import numpy as np import matplotlib.pyplot as plt import japanize_matplotlib plt.rcParams['font.size'] = 15 # グラフの基本フォントサイズの設定 # …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhk29.hatenablog.jp%2Fentry%2F2024%2F05%2F31%2F235743&quot; title=&quot;Python ２次元XYデータについて、指定した座標に最も近いN個の点を抽出する - PythonとVBAで世の中を便利にする&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/H/HK29/20240531/20240531234432.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-05-31 23:57:43</published>
  <title>Python ２次元XYデータについて、指定した座標に最も近いN個の点を抽出する</title>
  <type>rich</type>
  <url>https://hk29.hatenablog.jp/entry/2024/05/31/235743</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
