{"id":1097947,"date":"2025-01-08T15:16:43","date_gmt":"2025-01-08T07:16:43","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1097947.html"},"modified":"2025-01-08T15:16:46","modified_gmt":"2025-01-08T07:16:46","slug":"python-%e6%95%b0%e7%bb%84%e5%a6%82%e4%bd%95%e6%b1%82%e6%9c%80%e5%b0%8f%e7%b4%a2%e5%bc%95%e7%9a%84%e6%a0%87%e7%ad%be-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1097947.html","title":{"rendered":"python \u6570\u7ec4\u5982\u4f55\u6c42\u6700\u5c0f\u7d22\u5f15\u7684\u6807\u7b7e"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24212503\/dfef3049-35cc-4d6f-b345-a8e074cd2aa9.webp\" alt=\"python \u6570\u7ec4\u5982\u4f55\u6c42\u6700\u5c0f\u7d22\u5f15\u7684\u6807\u7b7e\" \/><\/p>\n<p><p> <strong>Python \u6570\u7ec4\u5982\u4f55\u6c42\u6700\u5c0f\u7d22\u5f15\u7684\u6807\u7b7e<\/strong><\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c<strong>\u6c42\u6570\u7ec4\u4e2d\u6700\u5c0f\u503c\u7684\u7d22\u5f15<\/strong>\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u6765\u5b9e\u73b0\uff0c\u4e3b\u8981\u4f7f\u7528<code>numpy<\/code>\u5e93\u4e2d\u7684<code>argmin<\/code>\u51fd\u6570\u3001\u539f\u751fPython\u7684<code>min<\/code>\u51fd\u6570\u4ee5\u53ca\u5217\u8868\u63a8\u5bfc\u5f0f\u3002\u8fd9\u4e9b\u65b9\u6cd5\u5404\u6709\u4f18\u52a3\uff0c\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u51e0\u79cd\u65b9\u6cd5\uff0c\u5e76\u5bf9\u5176\u4e2d\u4e00\u79cd\u8fdb\u884c\u8be6\u7ec6\u63cf\u8ff0\u3002<\/p>\n<\/p>\n<p><p>\u4f7f\u7528<code>numpy<\/code>\u5e93\u7684<code>argmin<\/code>\u51fd\u6570\u3001\u4f7f\u7528\u539f\u751fPython\u7684<code>min<\/code>\u51fd\u6570\u548c\u5217\u8868\u63a8\u5bfc\u5f0f\u3001\u7ed3\u5408\u6761\u4ef6\u5224\u65ad\u548c\u5faa\u73af\u67e5\u627e<\/p>\n<\/p>\n<p><p>\u5176\u4e2d<strong>\u4f7f\u7528<code>numpy<\/code>\u5e93\u7684<code>argmin<\/code>\u51fd\u6570<\/strong>\u662f\u6700\u5e38\u7528\u548c\u9ad8\u6548\u7684\u4e00\u79cd\u65b9\u6cd5\u3002<code>numpy<\/code>\u5e93\u662fPython\u4e2d\u8fdb\u884c\u6570\u503c\u8ba1\u7b97\u7684\u57fa\u7840\u5e93\uff0c<code>argmin<\/code>\u51fd\u6570\u53ef\u4ee5\u5feb\u901f\u627e\u5230\u6570\u7ec4\u4e2d\u6700\u5c0f\u503c\u7684\u7d22\u5f15\uff0c\u9002\u7528\u4e8e\u5927\u89c4\u6a21\u6570\u7ec4\u7684\u5904\u7406\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528<code>argmin<\/code>\u51fd\u6570\u6765\u6c42\u6570\u7ec4\u4e2d\u6700\u5c0f\u503c\u7684\u7d22\u5f15\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528<code>numpy<\/code>\u5e93\u7684<code>argmin<\/code>\u51fd\u6570<\/h3>\n<\/p>\n<p><p><code>numpy<\/code>\u5e93\u662fPython\u4e2d\u8fdb\u884c\u6570\u503c\u8ba1\u7b97\u7684\u57fa\u7840\u5e93\uff0c\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u51fd\u6570\u6765\u64cd\u4f5c\u6570\u7ec4\u3002<code>argmin<\/code>\u51fd\u6570\u7528\u4e8e\u8fd4\u56de\u6570\u7ec4\u4e2d\u6700\u5c0f\u503c\u7684\u7d22\u5f15\uff0c\u4f7f\u7528\u975e\u5e38\u65b9\u4fbf\u3002<\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5b89\u88c5\u5e76\u5bfc\u5165<code>numpy<\/code>\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u6570\u7ec4\uff0c\u5e76\u4f7f\u7528<code>argmin<\/code>\u51fd\u6570\u6765\u83b7\u53d6\u6700\u5c0f\u503c\u7684\u7d22\u5f15\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">arr = np.array([3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5])<\/p>\n<p>min_index = np.argmin(arr)<\/p>\n<p>print(&quot;The index of the minimum value is:&quot;, min_index)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u4e00\u4e2a\u5305\u542b\u591a\u4e2a\u6574\u6570\u7684\u6570\u7ec4<code>arr<\/code>\uff0c\u7136\u540e\u4f7f\u7528<code>np.argmin(arr)<\/code>\u6765\u83b7\u53d6\u6700\u5c0f\u503c\u7684\u7d22\u5f15\u3002\u8f93\u51fa\u7684\u7ed3\u679c\u662f<code>1<\/code>\uff0c\u8868\u793a\u6570\u7ec4\u4e2d\u7b2c\u4e00\u4e2a\u6700\u5c0f\u503c<code>1<\/code>\u7684\u7d22\u5f15\u4e3a<code>1<\/code>\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u539f\u751fPython\u7684<code>min<\/code>\u51fd\u6570\u548c\u5217\u8868\u63a8\u5bfc\u5f0f<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u4e0d\u60f3\u4f9d\u8d56\u5916\u90e8\u5e93\uff0c\u6211\u4eec\u4e5f\u53ef\u4ee5\u4f7f\u7528\u539f\u751fPython\u7684<code>min<\/code>\u51fd\u6570\u548c\u5217\u8868\u63a8\u5bfc\u5f0f\u6765\u5b9e\u73b0\u540c\u6837\u7684\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">arr = [3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5]<\/p>\n<p>min_value = min(arr)<\/p>\n<p>min_index = arr.index(min_value)<\/p>\n<p>print(&quot;The index of the minimum value is:&quot;, min_index)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>min(arr)<\/code>\u6765\u83b7\u53d6\u6570\u7ec4\u4e2d\u7684\u6700\u5c0f\u503c\uff0c\u7136\u540e\u4f7f\u7528<code>arr.index(min_value)<\/code>\u6765\u83b7\u53d6\u6700\u5c0f\u503c\u7684\u7d22\u5f15\u3002\u8f93\u51fa\u7684\u7ed3\u679c\u540c\u6837\u662f<code>1<\/code>\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u7ed3\u5408\u6761\u4ef6\u5224\u65ad\u548c\u5faa\u73af\u67e5\u627e<\/h3>\n<\/p>\n<p><p>\u5bf9\u4e8e\u4e00\u4e9b\u7279\u6b8a\u7684\u9700\u6c42\uff0c\u4f8b\u5982\u9700\u8981\u5904\u7406\u591a\u7ef4\u6570\u7ec4\u6216\u81ea\u5b9a\u4e49\u67e5\u627e\u6761\u4ef6\uff0c\u6211\u4eec\u53ef\u4ee5\u7ed3\u5408\u6761\u4ef6\u5224\u65ad\u548c\u5faa\u73af\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">arr = [3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5]<\/p>\n<p>min_index = 0<\/p>\n<p>for i in range(1, len(arr)):<\/p>\n<p>    if arr[i] &lt; arr[min_index]:<\/p>\n<p>        min_index = i<\/p>\n<p>print(&quot;The index of the minimum value is:&quot;, min_index)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u521d\u59cb\u5316<code>min_index<\/code>\u4e3a<code>0<\/code>\uff0c\u7136\u540e\u904d\u5386\u6570\u7ec4\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u3002\u5982\u679c\u5f53\u524d\u5143\u7d20\u6bd4<code>min_index<\/code>\u6307\u5411\u7684\u5143\u7d20\u5c0f\uff0c\u5c31\u66f4\u65b0<code>min_index<\/code>\u3002\u6700\u7ec8\u8f93\u51fa\u7684\u7ed3\u679c\u662f<code>1<\/code>\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5e94\u7528\u573a\u666f\u548c\u6027\u80fd\u6bd4\u8f83<\/h3>\n<\/p>\n<p><p>\u4e0d\u540c\u7684\u65b9\u6cd5\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u548c\u9700\u6c42\uff0c\u4e0b\u9762\u5bf9\u51e0\u79cd\u65b9\u6cd5\u8fdb\u884c\u6bd4\u8f83\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong><code>numpy<\/code>\u5e93\u7684<code>argmin<\/code>\u51fd\u6570<\/strong>\uff1a\u9002\u7528\u4e8e\u5927\u89c4\u6a21\u6570\u7ec4\u548c\u9700\u8981\u9ad8\u6548\u8ba1\u7b97\u7684\u573a\u666f\u3002<code>numpy<\/code>\u5e93\u7ecf\u8fc7\u9ad8\u5ea6\u4f18\u5316\uff0c\u80fd\u591f\u5feb\u901f\u5904\u7406\u5927\u89c4\u6a21\u6570\u7ec4\u3002<\/li>\n<li><strong>\u539f\u751fPython\u7684<code>min<\/code>\u51fd\u6570\u548c\u5217\u8868\u63a8\u5bfc\u5f0f<\/strong>\uff1a\u9002\u7528\u4e8e\u5c0f\u89c4\u6a21\u6570\u7ec4\u548c\u4e0d\u4f9d\u8d56\u5916\u90e8\u5e93\u7684\u573a\u666f\u3002\u867d\u7136\u6548\u7387\u8f83\u4f4e\uff0c\u4f46\u4ee3\u7801\u7b80\u6d01\u3001\u6613\u8bfb\u3002<\/li>\n<li><strong>\u7ed3\u5408\u6761\u4ef6\u5224\u65ad\u548c\u5faa\u73af\u67e5\u627e<\/strong>\uff1a\u9002\u7528\u4e8e\u9700\u8981\u81ea\u5b9a\u4e49\u67e5\u627e\u6761\u4ef6\u548c\u5904\u7406\u591a\u7ef4\u6570\u7ec4\u7684\u573a\u666f\u3002\u4ee3\u7801\u7075\u6d3b\uff0c\u4f46\u5b9e\u73b0\u590d\u6742\uff0c\u6548\u7387\u8f83\u4f4e\u3002<\/li>\n<\/ol>\n<p><p>\u4e3a\u4e86\u6bd4\u8f83\u4e0d\u540c\u65b9\u6cd5\u7684\u6027\u80fd\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<code>timeit<\/code>\u6a21\u5757\u8fdb\u884c\u7b80\u5355\u7684\u6027\u80fd\u6d4b\u8bd5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import timeit<\/p>\n<p>arr = [3, 1, 4, 1, 5, 9, 2, 6, 5, 3, 5]<\/p>\n<p>def using_numpy():<\/p>\n<p>    import numpy as np<\/p>\n<p>    arr_np = np.array(arr)<\/p>\n<p>    return np.argmin(arr_np)<\/p>\n<p>def using_min():<\/p>\n<p>    min_value = min(arr)<\/p>\n<p>    return arr.index(min_value)<\/p>\n<p>def using_loop():<\/p>\n<p>    min_index = 0<\/p>\n<p>    for i in range(1, len(arr)):<\/p>\n<p>        if arr[i] &lt; arr[min_index]:<\/p>\n<p>            min_index = i<\/p>\n<p>    return min_index<\/p>\n<p>print(&quot;Using numpy:&quot;, timeit.timeit(using_numpy, number=10000))<\/p>\n<p>print(&quot;Using min:&quot;, timeit.timeit(using_min, number=10000))<\/p>\n<p>print(&quot;Using loop:&quot;, timeit.timeit(using_loop, number=10000))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u6d4b\u8bd5\u4e2d\uff0c<code>numpy<\/code>\u65b9\u6cd5\u7684\u6267\u884c\u65f6\u95f4\u901a\u5e38\u662f\u6700\u77ed\u7684\uff0c\u5176\u6b21\u662f<code>min<\/code>\u65b9\u6cd5\uff0c\u6700\u540e\u662f\u5faa\u73af\u67e5\u627e\u65b9\u6cd5\u3002\u5bf9\u4e8e\u5927\u89c4\u6a21\u6570\u7ec4\uff0c<code>numpy<\/code>\u65b9\u6cd5\u7684\u4f18\u52bf\u66f4\u52a0\u660e\u663e\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u7efc\u4e0a\u6240\u8ff0\uff0c<strong>\u4f7f\u7528<code>numpy<\/code>\u5e93\u7684<code>argmin<\/code>\u51fd\u6570\u3001\u4f7f\u7528\u539f\u751fPython\u7684<code>min<\/code>\u51fd\u6570\u548c\u5217\u8868\u63a8\u5bfc\u5f0f\u3001\u7ed3\u5408\u6761\u4ef6\u5224\u65ad\u548c\u5faa\u73af\u67e5\u627e<\/strong>\u8fd9\u4e09\u79cd\u65b9\u6cd5\u90fd\u53ef\u4ee5\u7528\u6765\u6c42\u6570\u7ec4\u4e2d\u6700\u5c0f\u503c\u7684\u7d22\u5f15\u3002\u5177\u4f53\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u53d6\u51b3\u4e8e\u5177\u4f53\u7684\u5e94\u7528\u573a\u666f\u548c\u9700\u6c42\u3002\u5982\u679c\u9700\u8981\u5904\u7406\u5927\u89c4\u6a21\u6570\u7ec4\uff0c\u63a8\u8350\u4f7f\u7528<code>numpy<\/code>\u5e93\u7684<code>argmin<\/code>\u51fd\u6570\uff1b\u5982\u679c\u53ea\u9700\u5904\u7406\u5c0f\u89c4\u6a21\u6570\u7ec4\u4e14\u4e0d\u4f9d\u8d56\u5916\u90e8\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528\u539f\u751fPython\u7684<code>min<\/code>\u51fd\u6570\u548c\u5217\u8868\u63a8\u5bfc\u5f0f\uff1b\u5982\u679c\u9700\u8981\u81ea\u5b9a\u4e49\u67e5\u627e\u6761\u4ef6\u6216\u5904\u7406\u591a\u7ef4\u6570\u7ec4\uff0c\u53ef\u4ee5\u7ed3\u5408\u6761\u4ef6\u5224\u65ad\u548c\u5faa\u73af\u67e5\u627e\u3002<\/p>\n<\/p>\n<p><p>\u5e0c\u671b\u672c\u6587\u80fd\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7406\u89e3\u548c\u5e94\u7528Python\u6570\u7ec4\u6c42\u6700\u5c0f\u7d22\u5f15\u7684\u65b9\u6cd5\u3002\u6839\u636e\u4f60\u7684\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\uff0c\u63d0\u9ad8\u4ee3\u7801\u7684\u6548\u7387\u548c\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u627e\u5230\u6570\u7ec4\u4e2d\u6700\u5c0f\u503c\u7684\u7d22\u5f15\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>numpy<\/code>\u5e93\u7684<code>argmin()<\/code>\u51fd\u6570\u6765\u8f7b\u677e\u627e\u5230\u6570\u7ec4\u4e2d\u6700\u5c0f\u503c\u7684\u7d22\u5f15\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u6709\u4e00\u4e2a\u6570\u7ec4<code>arr = [3, 1, 4, 1, 5]<\/code>\uff0c\u53ef\u4ee5\u4f7f\u7528<code>numpy.argmin(arr)<\/code>\u6765\u83b7\u5f97\u6700\u5c0f\u503c<code>1<\/code>\u7684\u7d22\u5f15\uff0c\u8fd9\u91cc\u8fd4\u56de\u7684\u7ed3\u679c\u5c06\u662f<code>1<\/code>\uff0c\u56e0\u4e3a<code>1<\/code>\u5728\u6570\u7ec4\u4e2d\u7684\u7d22\u5f15\u4e3a<code>1<\/code>\u3002<\/p>\n<p><strong>\u80fd\u5426\u4f7f\u7528\u539f\u751fPython\u6765\u83b7\u53d6\u6570\u7ec4\u4e2d\u6700\u5c0f\u503c\u7684\u7d22\u5f15\uff1f<\/strong><br \/>\u5f53\u7136\u53ef\u4ee5\uff01\u5982\u679c\u4e0d\u60f3\u4f7f\u7528<code>numpy<\/code>\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7684<code>min()<\/code>\u51fd\u6570\u548c<code>index()<\/code>\u65b9\u6cd5\u6765\u5b9e\u73b0\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a<code>arr = [3, 1, 4, 1, 5]<\/code>\uff0c\u53ef\u4ee5\u627e\u5230\u6700\u5c0f\u503c<code>min_value = min(arr)<\/code>\uff0c\u63a5\u7740\u4f7f\u7528<code>index(min_value)<\/code>\u65b9\u6cd5\u6765\u83b7\u53d6\u5176\u7d22\u5f15\uff0c\u5982<code>index_of_min = arr.index(min_value)<\/code>\uff0c\u8fd9\u6837\u5c31\u5f97\u5230\u4e86\u6700\u5c0f\u503c\u7684\u7d22\u5f15\u3002<\/p>\n<p><strong>\u5728\u5904\u7406\u591a\u7ef4\u6570\u7ec4\u65f6\uff0c\u5982\u4f55\u627e\u5230\u6700\u5c0f\u503c\u7684\u7d22\u5f15\uff1f<\/strong><br \/>\u5bf9\u4e8e\u591a\u7ef4\u6570\u7ec4\uff0c\u53ef\u4ee5\u4f7f\u7528<code>numpy<\/code>\u5e93\u7684<code>unravel_index()<\/code>\u4e0e<code>argmin()<\/code>\u7ec4\u5408\u6765\u627e\u5230\u6700\u5c0f\u503c\u7684\u7d22\u5f15\u3002\u5728\u4e00\u4e2a\u4e8c\u7ef4\u6570\u7ec4\u4e2d\uff0c\u6bd4\u5982<code>arr = [[3, 1], [4, 1], [5, 0]]<\/code>\uff0c\u4f7f\u7528<code>numpy.argmin(arr)<\/code>\u5c06\u8fd4\u56de\u6700\u5c0f\u503c\u5728\u4e00\u7ef4\u6570\u7ec4\u4e2d\u7684\u7d22\u5f15\uff0c\u7136\u540e\u4f7f\u7528<code>numpy.unravel_index()<\/code>\u5c06\u5176\u8f6c\u6362\u4e3a\u591a\u7ef4\u7d22\u5f15\u3002\u8fd9\u79cd\u65b9\u6cd5\u975e\u5e38\u6709\u6548\uff0c\u5c24\u5176\u662f\u5728\u5904\u7406\u5927\u578b\u6570\u636e\u96c6\u65f6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python \u6570\u7ec4\u5982\u4f55\u6c42\u6700\u5c0f\u7d22\u5f15\u7684\u6807\u7b7e \u5728Python\u4e2d\uff0c\u6c42\u6570\u7ec4\u4e2d\u6700\u5c0f\u503c\u7684\u7d22\u5f15\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u6765\u5b9e\u73b0\uff0c\u4e3b\u8981\u4f7f\u7528 [&hellip;]","protected":false},"author":3,"featured_media":1097959,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1097947"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1097947"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1097947\/revisions"}],"predecessor-version":[{"id":1097964,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1097947\/revisions\/1097964"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1097959"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1097947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1097947"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1097947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}