{"id":947387,"date":"2024-12-26T23:51:13","date_gmt":"2024-12-26T15:51:13","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/947387.html"},"modified":"2024-12-26T23:51:15","modified_gmt":"2024-12-26T15:51:15","slug":"%e5%a6%82%e4%bd%95%e5%88%a0%e9%99%a4python%e8%a1%8c","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/947387.html","title":{"rendered":"\u5982\u4f55\u5220\u9664python\u884c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25083156\/c58b2459-fff8-4e0f-b6d9-54377c5716d4.webp\" alt=\"\u5982\u4f55\u5220\u9664python\u884c\" \/><\/p>\n<p><p> <strong>\u8981\u5220\u9664Python\u4e2d\u7684\u884c\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\uff0c\u4f8b\u5982\u4f7f\u7528\u6761\u4ef6\u8bed\u53e5\u3001\u5207\u7247\u64cd\u4f5c\u3001\u5185\u7f6e\u51fd\u6570\u6216\u5217\u8868\u63a8\u5bfc\u7b49\u3002\u5176\u4e2d\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u5217\u8868\u7684remove()\u51fd\u6570\u3001del\u8bed\u53e5\u4ee5\u53ca\u5217\u8868\u63a8\u5bfc\u3002\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u6839\u636e\u6761\u4ef6\u5220\u9664\u4e0d\u9700\u8981\u7684\u884c\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u8fd9\u4e9b\u65b9\u6cd5\u4e2d\uff0cdel\u8bed\u53e5\u662f\u4e00\u79cd\u76f4\u63a5\u4e14\u9ad8\u6548\u7684\u65b9\u6cd5\u3002\u5b83\u5141\u8bb8\u60a8\u901a\u8fc7\u6307\u5b9a\u7d22\u5f15\u6765\u5220\u9664\u7279\u5b9a\u884c\u3002\u8fd9\u5728\u5904\u7406\u5927\u578b\u5217\u8868\u6216\u9700\u8981\u6839\u636e\u7279\u5b9a\u6761\u4ef6\u5220\u9664\u5355\u4e2a\u6216\u591a\u4e2a\u884c\u65f6\u5c24\u4e3a\u6709\u7528\u3002del\u8bed\u53e5\u4e0d\u4ec5\u53ef\u4ee5\u5220\u9664\u5217\u8868\u4e2d\u7684\u5143\u7d20\uff0c\u8fd8\u53ef\u4ee5\u7528\u4e8e\u5220\u9664\u6574\u4e2a\u5217\u8868\u3001\u53d8\u91cf\u6216\u5176\u4ed6\u5bf9\u8c61\uff0c\u8fd9\u4f7f\u5f97\u5b83\u5728\u5185\u5b58\u7ba1\u7406\u65b9\u9762\u975e\u5e38\u7075\u6d3b\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528DEL\u8bed\u53e5<\/p>\n<\/p>\n<p><p>\u4f7f\u7528del\u8bed\u53e5\u53ef\u4ee5\u901a\u8fc7\u7d22\u5f15\u5220\u9664\u5217\u8868\u4e2d\u7684\u7279\u5b9a\u884c\u3002del\u8bed\u53e5\u662fPython\u4e2d\u7528\u4e8e\u5220\u9664\u5bf9\u8c61\u7684\u5185\u7f6e\u8bed\u53e5\uff0c\u9002\u7528\u4e8e\u5220\u9664\u5217\u8868\u4e2d\u7684\u5143\u7d20\u6216\u6574\u4e2a\u5217\u8868\u3002\u5bf9\u4e8e\u5220\u9664\u5217\u8868\u4e2d\u7684\u884c\uff0c\u53ea\u9700\u6307\u5b9a\u8981\u5220\u9664\u7684\u7d22\u5f15\u5373\u53ef\u3002<\/p>\n<\/p>\n<p><p>\u4f8b\u5982\uff0c\u5047\u8bbe\u6211\u4eec\u6709\u4e00\u4e2a\u5217\u8868\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [&quot;line1&quot;, &quot;line2&quot;, &quot;line3&quot;, &quot;line4&quot;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8981\u5220\u9664\u7b2c\u4e8c\u884c\uff08\u5373&quot;line2&quot;\uff09\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">del my_list[1]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u6267\u884c\u4e0a\u8ff0\u4ee3\u7801\u540e\uff0c<code>my_list<\/code>\u5c06\u53d8\u4e3a\uff1a<code>[&quot;line1&quot;, &quot;line3&quot;, &quot;line4&quot;]<\/code>\u3002<\/p>\n<\/p>\n<p><p>del\u8bed\u53e5\u7684\u4f18\u52bf\u5728\u4e8e\u5176\u7b80\u5355\u6613\u7528\uff0c\u4e14\u80fd\u76f4\u63a5\u64cd\u4f5c\u5217\u8868\u5185\u5b58\u3002\u7136\u800c\uff0c\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u4f7f\u7528del\u8bed\u53e5\u65f6\u8981\u786e\u4fdd\u7d22\u5f15\u662f\u6709\u6548\u7684\uff0c\u5426\u5219\u4f1a\u629b\u51faIndexError\u5f02\u5e38\u3002\u6b64\u5916\uff0c\u4f7f\u7528del\u8bed\u53e5\u5220\u9664\u5217\u8868\u4e2d\u7684\u5143\u7d20\u540e\uff0c\u5217\u8868\u7684\u957f\u5ea6\u4f1a\u52a8\u6001\u8c03\u6574\uff0c\u7d22\u5f15\u4e5f\u4f1a\u968f\u4e4b\u6539\u53d8\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528REMOVE()\u51fd\u6570<\/p>\n<\/p>\n<p><p>remove()\u51fd\u6570\u662fPython\u5217\u8868\u5bf9\u8c61\u7684\u4e00\u4e2a\u65b9\u6cd5\uff0c\u7528\u4e8e\u79fb\u9664\u5217\u8868\u4e2d\u7b2c\u4e00\u6b21\u51fa\u73b0\u7684\u6307\u5b9a\u503c\u3002\u4e0edel\u8bed\u53e5\u4e0d\u540c\uff0cremove()\u51fd\u6570\u662f\u57fa\u4e8e\u503c\u800c\u4e0d\u662f\u7d22\u5f15\u8fdb\u884c\u64cd\u4f5c\u7684\u3002<\/p>\n<\/p>\n<p><p>\u7ee7\u7eed\u4f7f\u7528\u524d\u9762\u7684\u4f8b\u5b50\uff0c\u5982\u679c\u6211\u4eec\u60f3\u8981\u79fb\u9664&quot;line2&quot;\uff0c\u53ef\u4ee5\u4f7f\u7528remove()\u51fd\u6570\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [&quot;line1&quot;, &quot;line2&quot;, &quot;line3&quot;, &quot;line4&quot;]<\/p>\n<p>my_list.remove(&quot;line2&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6267\u884c\u4e0a\u8ff0\u4ee3\u7801\u540e\uff0c<code>my_list<\/code>\u5c06\u53d8\u4e3a\uff1a<code>[&quot;line1&quot;, &quot;line3&quot;, &quot;line4&quot;]<\/code>\u3002<\/p>\n<\/p>\n<p><p>\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0cremove()\u51fd\u6570\u53ea\u4f1a\u5220\u9664\u5217\u8868\u4e2d\u7b2c\u4e00\u6b21\u51fa\u73b0\u7684\u6307\u5b9a\u503c\uff0c\u5982\u679c\u8be5\u503c\u5728\u5217\u8868\u4e2d\u4e0d\u5b58\u5728\uff0c\u4f1a\u629b\u51faValueError\u5f02\u5e38\u3002\u56e0\u6b64\uff0c\u5728\u4f7f\u7528remove()\u51fd\u6570\u4e4b\u524d\uff0c\u5efa\u8bae\u5148\u786e\u8ba4\u5217\u8868\u4e2d\u662f\u5426\u5305\u542b\u8be5\u503c\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528\u5217\u8868\u63a8\u5bfc<\/p>\n<\/p>\n<p><p>\u5217\u8868\u63a8\u5bfc\u662f\u4e00\u79cd\u975e\u5e38\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u9ad8\u6548\u5730\u521b\u5efa\u548c\u8fc7\u6ee4\u5217\u8868\u3002\u901a\u8fc7\u6761\u4ef6\u5224\u65ad\uff0c\u53ef\u4ee5\u8f7b\u677e\u5b9e\u73b0\u5bf9\u5217\u8868\u7684\u8fc7\u6ee4\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><p>\u5047\u8bbe\u6211\u4eec\u6709\u4e00\u4e2a\u5305\u542b\u591a\u884c\u7684\u5217\u8868\uff0c\u9700\u8981\u5220\u9664\u5305\u542b\u7279\u5b9a\u5173\u952e\u5b57\u7684\u884c\uff0c\u4f8b\u5982\u5220\u9664\u5305\u542b&quot;line2&quot;\u7684\u884c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [&quot;line1&quot;, &quot;line2&quot;, &quot;line3&quot;, &quot;line4&quot;]<\/p>\n<p>filtered_list = [line for line in my_list if &quot;line2&quot; not in line]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u6267\u884c\u4e0a\u8ff0\u4ee3\u7801\u540e\uff0c<code>filtered_list<\/code>\u5c06\u53d8\u4e3a\uff1a<code>[&quot;line1&quot;, &quot;line3&quot;, &quot;line4&quot;]<\/code>\u3002<\/p>\n<\/p>\n<p><p>\u5217\u8868\u63a8\u5bfc\u7684\u4f18\u52bf\u5728\u4e8e\u5176\u7b80\u6d01\u6027\u548c\u53ef\u8bfb\u6027\uff0c\u9002\u7528\u4e8e\u5bf9\u5217\u8868\u8fdb\u884c\u590d\u6742\u7684\u8fc7\u6ee4\u64cd\u4f5c\u3002\u901a\u8fc7\u7ed3\u5408\u6761\u4ef6\u5224\u65ad\uff0c\u5217\u8868\u63a8\u5bfc\u53ef\u4ee5\u5b9e\u73b0\u5bf9\u5217\u8868\u7684\u7075\u6d3b\u64cd\u4f5c\uff0c\u751a\u81f3\u53ef\u4ee5\u5d4c\u5957\u4f7f\u7528\u4ee5\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u903b\u8f91\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u4f7f\u7528FILTER()\u51fd\u6570<\/p>\n<\/p>\n<p><p>filter()\u51fd\u6570\u662fPython\u5185\u7f6e\u7684\u9ad8\u9636\u51fd\u6570\uff0c\u4e3b\u8981\u7528\u4e8e\u8fc7\u6ee4\u5e8f\u5217\u3002\u5b83\u901a\u8fc7\u6307\u5b9a\u7684\u51fd\u6570\u7b5b\u9009\u51fa\u8fd4\u56deTrue\u7684\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><p>\u5047\u8bbe\u6211\u4eec\u9700\u8981\u5220\u9664\u5305\u542b\u7279\u5b9a\u5b57\u7b26\u4e32\u7684\u884c\uff0c\u53ef\u4ee5\u4f7f\u7528filter()\u51fd\u6570\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">my_list = [&quot;line1&quot;, &quot;line2&quot;, &quot;line3&quot;, &quot;line4&quot;]<\/p>\n<p>filtered_list = list(filter(lambda x: &quot;line2&quot; not in x, my_list))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u6267\u884c\u4e0a\u8ff0\u4ee3\u7801\u540e\uff0c<code>filtered_list<\/code>\u5c06\u53d8\u4e3a\uff1a<code>[&quot;line1&quot;, &quot;line3&quot;, &quot;line4&quot;]<\/code>\u3002<\/p>\n<\/p>\n<p><p>filter()\u51fd\u6570\u7684\u4f18\u52bf\u5728\u4e8e\u5176\u9ad8\u6548\u6027\uff0c\u5c24\u5176\u9002\u7528\u4e8e\u5904\u7406\u5927\u578b\u6570\u636e\u96c6\u3002\u901a\u8fc7\u7ed3\u5408lambda\u8868\u8fbe\u5f0f\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5bf9\u5217\u8868\u7684\u7075\u6d3b\u8fc7\u6ee4\u3002\u7136\u800c\uff0c\u4e0e\u5217\u8868\u63a8\u5bfc\u76f8\u6bd4\uff0cfilter()\u51fd\u6570\u53ef\u80fd\u5728\u53ef\u8bfb\u6027\u4e0a\u7a0d\u900a\u4e00\u7b79\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u4f7f\u7528NUMPY\u5e93<\/p>\n<\/p>\n<p><p>\u5728\u5904\u7406\u591a\u7ef4\u6570\u7ec4\u6216\u77e9\u9635\u6570\u636e\u65f6\uff0cNumPy\u5e93\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u6570\u7ec4\u64cd\u4f5c\u529f\u80fd\u3002\u5bf9\u4e8e\u9700\u8981\u5220\u9664\u7279\u5b9a\u884c\u7684\u64cd\u4f5c\uff0c\u53ef\u4ee5\u4f7f\u7528NumPy\u7684delete()\u51fd\u6570\u3002<\/p>\n<\/p>\n<p><p>\u5047\u8bbe\u6211\u4eec\u6709\u4e00\u4e2a\u4e8c\u7ef4\u6570\u7ec4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p>array = np.array([<\/p>\n<p>    [1, 2, 3],<\/p>\n<p>    [4, 5, 6],<\/p>\n<p>    [7, 8, 9]<\/p>\n<p>])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8981\u5220\u9664\u7b2c\u4e8c\u884c\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">new_array = np.delete(array, 1, axis=0)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6267\u884c\u4e0a\u8ff0\u4ee3\u7801\u540e\uff0c<code>new_array<\/code>\u5c06\u53d8\u4e3a\uff1a<\/p>\n<\/p>\n<p><pre><code>array([<\/p>\n<p>    [1, 2, 3],<\/p>\n<p>    [7, 8, 9]<\/p>\n<p>])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>NumPy\u5e93\u7684\u4f18\u52bf\u5728\u4e8e\u5176\u9ad8\u6548\u6027\u548c\u4e30\u5bcc\u7684\u529f\u80fd\uff0c\u9002\u7528\u4e8e\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u548c\u590d\u6742\u7684\u6570\u636e\u64cd\u4f5c\u3002\u901a\u8fc7\u7ed3\u5408NumPy\u7684\u5176\u4ed6\u51fd\u6570\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5bf9\u6570\u7ec4\u7684\u5404\u79cd\u53d8\u6362\u548c\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\u5220\u9664\u884c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5305\u62ecdel\u8bed\u53e5\u3001remove()\u51fd\u6570\u3001\u5217\u8868\u63a8\u5bfc\u3001filter()\u51fd\u6570\u4ee5\u53caNumPy\u5e93\u7b49\u3002\u4e0d\u540c\u7684\u65b9\u6cd5\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u573a\u666f\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u6548\u7387\u548c\u53ef\u8bfb\u6027\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6839\u636e\u6570\u636e\u7684\u7ed3\u6784\u548c\u9700\u8981\u8fdb\u884c\u9009\u62e9\uff0c\u4ee5\u5b9e\u73b0\u6700\u4f73\u7684\u4ee3\u7801\u6027\u80fd\u548c\u7ef4\u62a4\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5220\u9664\u5217\u8868\u4e2d\u7684\u7279\u5b9a\u5143\u7d20\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\u5220\u9664\u5217\u8868\u4e2d\u7684\u7279\u5b9a\u5143\u7d20\u3002\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528 <code>remove()<\/code> \u65b9\u6cd5\uff0c\u5b83\u53ef\u4ee5\u6839\u636e\u503c\u5220\u9664\u5217\u8868\u4e2d\u7684\u7b2c\u4e00\u4e2a\u5339\u914d\u9879\uff0c\u6216\u8005\u4f7f\u7528 <code>del<\/code> \u8bed\u53e5\uff0c\u901a\u8fc7\u7d22\u5f15\u6765\u5220\u9664\u5143\u7d20\u3002\u6b64\u5916\uff0c<code>pop()<\/code> \u65b9\u6cd5\u53ef\u4ee5\u5220\u9664\u5e76\u8fd4\u56de\u6307\u5b9a\u7d22\u5f15\u5904\u7684\u5143\u7d20\u3002\u82e5\u8981\u5220\u9664\u591a\u4e2a\u5143\u7d20\uff0c\u53ef\u4ee5\u7ed3\u5408\u5217\u8868\u63a8\u5bfc\u5f0f\u548c\u6761\u4ef6\u8bed\u53e5\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5217\u8868\u6765\u6392\u9664\u4e0d\u9700\u8981\u7684\u5143\u7d20\u3002<\/p>\n<p><strong>\u5220\u9664Python\u5b57\u5178\u4e2d\u7684\u952e\u503c\u5bf9\u6709\u4ec0\u4e48\u7b80\u5355\u7684\u65b9\u6cd5\uff1f<\/strong><br \/>\u5728Python\u5b57\u5178\u4e2d\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528 <code>del<\/code> \u8bed\u53e5\u6309\u952e\u5220\u9664\u7279\u5b9a\u7684\u952e\u503c\u5bf9\uff0c\u6216\u4f7f\u7528 <code>pop()<\/code> \u65b9\u6cd5\u901a\u8fc7\u952e\u5220\u9664\u5e76\u8fd4\u56de\u5bf9\u5e94\u7684\u503c\u3002\u8fd8\u53ef\u4ee5\u4f7f\u7528\u5b57\u5178\u63a8\u5bfc\u5f0f\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5b57\u5178\uff0c\u6392\u9664\u4e0d\u9700\u8981\u7684\u952e\u503c\u5bf9\u3002\u786e\u4fdd\u5728\u5220\u9664\u64cd\u4f5c\u524d\u786e\u8ba4\u952e\u662f\u5426\u5b58\u5728\uff0c\u4ee5\u907f\u514d\u5f15\u53d1 <code>KeyError<\/code>\u3002<\/p>\n<p><strong>\u5982\u4f55\u4ecePandas DataFrame\u4e2d\u5220\u9664\u67d0\u4e00\u884c\u6216\u67d0\u51e0\u884c\uff1f<\/strong><br \/>\u4f7f\u7528Pandas\u5e93\u65f6\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7 <code>drop()<\/code> \u65b9\u6cd5\u8f7b\u677e\u5220\u9664DataFrame\u4e2d\u7684\u884c\u3002\u53ef\u4ee5\u4f7f\u7528\u884c\u7d22\u5f15\u6216\u6761\u4ef6\u8868\u8fbe\u5f0f\u6765\u6307\u5b9a\u8981\u5220\u9664\u7684\u884c\u3002\u5982\u679c\u5e0c\u671b\u5220\u9664\u7684\u884c\u4e0d\u518d\u51fa\u73b0\u5728\u539f\u59cbDataFrame\u4e2d\uff0c\u60a8\u53ef\u4ee5\u8bbe\u7f6e <code>inplace=True<\/code> \u53c2\u6570\u3002\u6b64\u5916\uff0c\u9488\u5bf9\u7279\u5b9a\u6761\u4ef6\u7b5b\u9009\u51fa\u7684\u884c\uff0c\u60a8\u8fd8\u53ef\u4ee5\u4f7f\u7528\u5e03\u5c14\u7d22\u5f15\u521b\u5efa\u4e00\u4e2a\u65b0DataFrame\uff0c\u6392\u9664\u90a3\u4e9b\u4e0d\u7b26\u5408\u6761\u4ef6\u7684\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5220\u9664Python\u4e2d\u7684\u884c\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\uff0c\u4f8b\u5982\u4f7f\u7528\u6761\u4ef6\u8bed\u53e5\u3001\u5207\u7247\u64cd\u4f5c\u3001\u5185\u7f6e\u51fd\u6570\u6216\u5217\u8868\u63a8\u5bfc\u7b49\u3002\u5176\u4e2d\u6700\u5e38\u7528\u7684\u65b9\u6cd5 [&hellip;]","protected":false},"author":3,"featured_media":947395,"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\/947387"}],"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=947387"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/947387\/revisions"}],"predecessor-version":[{"id":947399,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/947387\/revisions\/947399"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/947395"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=947387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=947387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=947387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}