{"id":1098467,"date":"2025-01-08T15:21:27","date_gmt":"2025-01-08T07:21:27","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1098467.html"},"modified":"2025-01-08T15:21:30","modified_gmt":"2025-01-08T07:21:30","slug":"python%e5%a6%82%e4%bd%95%e5%bb%ba%e7%ab%8b%e4%b8%80%e4%b8%aa%e6%95%b0%e7%bb%84-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1098467.html","title":{"rendered":"python\u5982\u4f55\u5efa\u7acb\u4e00\u4e2a\u6570\u7ec4"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25062637\/36b7d31a-a8ac-46f0-b6c3-6e16552fee9f.webp\" alt=\"python\u5982\u4f55\u5efa\u7acb\u4e00\u4e2a\u6570\u7ec4\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u6765\u5efa\u7acb\u4e00\u4e2a\u6570\u7ec4\uff0c\u5305\u62ec\u4f7f\u7528\u5217\u8868\u3001NumPy\u5e93\u3001array\u6a21\u5757\u7b49\u65b9\u6cd5\u3002<\/strong> \u9996\u5148\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528Python\u5185\u7f6e\u7684\u5217\u8868\u6765\u521b\u5efa\u4e00\u4e2a\u6570\u7ec4\uff0c\u8fd9\u662f\u6700\u7b80\u5355\u548c\u6700\u5e38\u7528\u7684\u65b9\u6cd5\uff1b\u5176\u6b21\uff0cNumPy\u5e93\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u6570\u7ec4\u5904\u7406\u529f\u80fd\uff0c\u9002\u7528\u4e8e\u9700\u8981\u8fdb\u884c\u5927\u91cf\u6570\u503c\u8ba1\u7b97\u7684\u573a\u666f\uff1b\u6700\u540e\uff0carray\u6a21\u5757\u63d0\u4f9b\u4e86\u4e00\u79cd\u66f4\u63a5\u8fd1C\u8bed\u8a00\u6570\u7ec4\u7684\u65b9\u5f0f\uff0c\u9002\u5408\u5bf9\u5185\u5b58\u548c\u6027\u80fd\u6709\u8f83\u9ad8\u8981\u6c42\u7684\u5e94\u7528\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\u6765\u521b\u5efa\u548c\u64cd\u4f5c\u6570\u7ec4\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528Python\u5217\u8868\u521b\u5efa\u6570\u7ec4<\/h3>\n<\/p>\n<p><p>Python\u7684\u5217\u8868\uff08list\uff09\u662f\u4e00\u79cd\u5185\u7f6e\u7684\u6570\u636e\u7c7b\u578b\uff0c\u975e\u5e38\u9002\u5408\u7528\u6765\u521b\u5efa\u548c\u64cd\u4f5c\u6570\u7ec4\u3002\u5217\u8868\u53ef\u4ee5\u5b58\u50a8\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\uff0c\u5e76\u4e14\u652f\u6301\u52a8\u6001\u6dfb\u52a0\u3001\u5220\u9664\u548c\u4fee\u6539\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u521b\u5efa\u4e00\u4e2a\u5217\u8868<\/h4>\n<\/p>\n<p><p>\u4f60\u53ef\u4ee5\u4f7f\u7528\u65b9\u62ec\u53f7 <code>[]<\/code> \u521b\u5efa\u4e00\u4e2a\u7a7a\u5217\u8868\uff0c\u7136\u540e\u5411\u5176\u4e2d\u6dfb\u52a0\u5143\u7d20\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u4e00\u4e2a\u7a7a\u5217\u8868<\/p>\n<p>my_list = []<\/p>\n<h2><strong>\u5411\u5217\u8868\u4e2d\u6dfb\u52a0\u5143\u7d20<\/strong><\/h2>\n<p>my_list.append(1)<\/p>\n<p>my_list.append(2)<\/p>\n<p>my_list.append(3)<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 2, 3]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\u8005\u5728\u521b\u5efa\u65f6\u5c31\u6307\u5b9a\u521d\u59cb\u5143\u7d20\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u4e00\u4e2a\u5305\u542b\u521d\u59cb\u5143\u7d20\u7684\u5217\u8868<\/p>\n<p>my_list = [1, 2, 3, 4, 5]<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [1, 2, 3, 4, 5]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u8bbf\u95ee\u548c\u4fee\u6539\u5217\u8868\u5143\u7d20<\/h4>\n<\/p>\n<p><p>\u4f60\u53ef\u4ee5\u901a\u8fc7\u7d22\u5f15\u6765\u8bbf\u95ee\u548c\u4fee\u6539\u5217\u8868\u4e2d\u7684\u5143\u7d20\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u8bbf\u95ee\u5217\u8868\u4e2d\u7684\u5143\u7d20<\/p>\n<p>print(my_list[0])  # \u8f93\u51fa: 1<\/p>\n<h2><strong>\u4fee\u6539\u5217\u8868\u4e2d\u7684\u5143\u7d20<\/strong><\/h2>\n<p>my_list[0] = 10<\/p>\n<p>print(my_list)  # \u8f93\u51fa: [10, 2, 3, 4, 5]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528NumPy\u5e93\u521b\u5efa\u6570\u7ec4<\/h3>\n<\/p>\n<p><p>NumPy\u662f\u4e00\u4e2a\u7528\u4e8e\u79d1\u5b66\u8ba1\u7b97\u7684\u5f00\u6e90\u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5f3a\u5927\u7684N\u7ef4\u6570\u7ec4\u5bf9\u8c61\uff08ndarray\uff09\u3002NumPy\u6570\u7ec4\u6bd4Python\u5217\u8868\u66f4\u9ad8\u6548\uff0c\u5e76\u4e14\u63d0\u4f9b\u4e86\u8bb8\u591a\u7528\u4e8e\u6570\u7ec4\u64cd\u4f5c\u7684\u51fd\u6570\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5NumPy\u5e93<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u5b89\u88c5NumPy\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u901a\u8fc7pip\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install numpy<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u521b\u5efaNumPy\u6570\u7ec4<\/h4>\n<\/p>\n<p><p>\u4f60\u53ef\u4ee5\u4f7f\u7528NumPy\u7684 <code>array<\/code> \u51fd\u6570\u6765\u521b\u5efa\u4e00\u4e2a\u6570\u7ec4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<h2><strong>\u4f7f\u7528\u5217\u8868\u521b\u5efaNumPy\u6570\u7ec4<\/strong><\/h2>\n<p>my_array = np.array([1, 2, 3, 4, 5])<\/p>\n<p>print(my_array)  # \u8f93\u51fa: [1 2 3 4 5]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>NumPy\u8fd8\u63d0\u4f9b\u4e86\u8bb8\u591a\u5176\u4ed6\u51fd\u6570\u6765\u521b\u5efa\u6570\u7ec4\uff0c\u4f8b\u5982 <code>zeros<\/code>\u3001<code>ones<\/code>\u3001<code>arange<\/code> \u548c <code>linspace<\/code> \u7b49\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u4e00\u4e2a\u5168\u96f6\u6570\u7ec4<\/p>\n<p>zeros_array = np.zeros(5)<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u5168\u4e00\u6570\u7ec4<\/strong><\/h2>\n<p>ones_array = np.ones(5)<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u7b49\u5dee\u6570\u5217\u6570\u7ec4<\/strong><\/h2>\n<p>arange_array = np.arange(0, 10, 2)<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u7b49\u95f4\u9694\u6570\u7ec4<\/strong><\/h2>\n<p>linspace_array = np.linspace(0, 1, 5)<\/p>\n<p>print(zeros_array)   # \u8f93\u51fa: [0. 0. 0. 0. 0.]<\/p>\n<p>print(ones_array)    # \u8f93\u51fa: [1. 1. 1. 1. 1.]<\/p>\n<p>print(arange_array)  # \u8f93\u51fa: [0 2 4 6 8]<\/p>\n<p>print(linspace_array) # \u8f93\u51fa: [0.   0.25 0.5  0.75 1.  ]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u8bbf\u95ee\u548c\u4fee\u6539NumPy\u6570\u7ec4\u5143\u7d20<\/h4>\n<\/p>\n<p><p>\u4e0e\u5217\u8868\u7c7b\u4f3c\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u7d22\u5f15\u8bbf\u95ee\u548c\u4fee\u6539NumPy\u6570\u7ec4\u4e2d\u7684\u5143\u7d20\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u8bbf\u95ee\u6570\u7ec4\u4e2d\u7684\u5143\u7d20<\/p>\n<p>print(my_array[0])  # \u8f93\u51fa: 1<\/p>\n<h2><strong>\u4fee\u6539\u6570\u7ec4\u4e2d\u7684\u5143\u7d20<\/strong><\/h2>\n<p>my_array[0] = 10<\/p>\n<p>print(my_array)  # \u8f93\u51fa: [10  2  3  4  5]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528array\u6a21\u5757\u521b\u5efa\u6570\u7ec4<\/h3>\n<\/p>\n<p><p>Python\u7684 <code>array<\/code> \u6a21\u5757\u63d0\u4f9b\u4e86\u4e00\u79cd\u63a5\u8fd1\u4e8eC\u8bed\u8a00\u6570\u7ec4\u7684\u65b9\u5f0f\u6765\u521b\u5efa\u6570\u7ec4\u3002<code>array<\/code> \u6a21\u5757\u5b9a\u4e49\u4e86\u4e00\u4e2a\u6570\u7ec4\u7c7b\uff0c\u53ef\u4ee5\u5b58\u50a8\u6307\u5b9a\u7c7b\u578b\u7684\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5bfc\u5165array\u6a21\u5757\u5e76\u521b\u5efa\u6570\u7ec4<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u5bfc\u5165 <code>array<\/code> \u6a21\u5757\uff0c\u7136\u540e\u4f7f\u7528 <code>array<\/code> \u51fd\u6570\u6765\u521b\u5efa\u4e00\u4e2a\u6570\u7ec4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import array<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u6574\u578b\u6570\u7ec4<\/strong><\/h2>\n<p>my_array = array.array(&#39;i&#39;, [1, 2, 3, 4, 5])<\/p>\n<p>print(my_array)  # \u8f93\u51fa: array(&#39;i&#39;, [1, 2, 3, 4, 5])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u521b\u5efa\u6570\u7ec4\u65f6\uff0c\u4f60\u9700\u8981\u6307\u5b9a\u6570\u7ec4\u5143\u7d20\u7684\u7c7b\u578b\u4ee3\u7801\u3002\u5e38\u7528\u7684\u7c7b\u578b\u4ee3\u7801\u5305\u62ec\uff1a<\/p>\n<\/p>\n<ul>\n<li><code>&#39;i&#39;<\/code>\uff1a\u6709\u7b26\u53f7\u6574\u578b<\/li>\n<li><code>&#39;f&#39;<\/code>\uff1a\u6d6e\u70b9\u578b<\/li>\n<li><code>&#39;d&#39;<\/code>\uff1a\u53cc\u7cbe\u5ea6\u6d6e\u70b9\u578b<\/li>\n<\/ul>\n<p><h4>2\u3001\u8bbf\u95ee\u548c\u4fee\u6539array\u6a21\u5757\u521b\u5efa\u7684\u6570\u7ec4\u5143\u7d20<\/h4>\n<\/p>\n<p><p>\u4f60\u53ef\u4ee5\u901a\u8fc7\u7d22\u5f15\u8bbf\u95ee\u548c\u4fee\u6539\u6570\u7ec4\u4e2d\u7684\u5143\u7d20\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u8bbf\u95ee\u6570\u7ec4\u4e2d\u7684\u5143\u7d20<\/p>\n<p>print(my_array[0])  # \u8f93\u51fa: 1<\/p>\n<h2><strong>\u4fee\u6539\u6570\u7ec4\u4e2d\u7684\u5143\u7d20<\/strong><\/h2>\n<p>my_array[0] = 10<\/p>\n<p>print(my_array)  # \u8f93\u51fa: array(&#39;i&#39;, [10, 2, 3, 4, 5])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u521b\u5efa\u6570\u7ec4\u7684\u65b9\u6cd5\u4e3b\u8981\u5305\u62ec\u4f7f\u7528\u5217\u8868\u3001NumPy\u5e93\u548carray\u6a21\u5757\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u4f18\u70b9\u548c\u9002\u7528\u573a\u666f\uff1a<\/p>\n<\/p>\n<ul>\n<li><strong>\u5217\u8868<\/strong>\uff1a\u9002\u5408\u5b58\u50a8\u548c\u64cd\u4f5c\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\uff0c\u6613\u4e8e\u4f7f\u7528\uff0c\u9002\u5408\u4e00\u822c\u7528\u9014\u3002<\/li>\n<li><strong>NumPy<\/strong>\uff1a\u9002\u5408\u8fdb\u884c\u5927\u91cf\u6570\u503c\u8ba1\u7b97\uff0c\u63d0\u4f9b\u4e86\u9ad8\u6548\u7684\u591a\u7ef4\u6570\u7ec4\u5bf9\u8c61\u548c\u4e30\u5bcc\u7684\u6570\u7ec4\u64cd\u4f5c\u51fd\u6570\u3002<\/li>\n<li><strong>array\u6a21\u5757<\/strong>\uff1a\u9002\u5408\u9700\u8981\u4e0eC\u8bed\u8a00\u6570\u7ec4\u7c7b\u4f3c\u7684\u9ad8\u6548\u6570\u7ec4\u64cd\u4f5c\uff0c\u9002\u7528\u4e8e\u5bf9\u5185\u5b58\u548c\u6027\u80fd\u6709\u8f83\u9ad8\u8981\u6c42\u7684\u5e94\u7528\u3002<\/li>\n<\/ul>\n<p><p>\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u6548\u7387\u548c\u53ef\u8bfb\u6027\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u80fd\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u7406\u89e3\u548c\u4f7f\u7528Python\u4e2d\u7684\u6570\u7ec4\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u521b\u5efa\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u7ec4\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u6570\u7ec4\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u521b\u5efa\u3002\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u5185\u7f6e\u7684<code>list<\/code>\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528<code>array<\/code>\u6a21\u5757\u6216\u7b2c\u4e09\u65b9\u5e93\u5982NumPy\u3002\u4f7f\u7528<code>list<\/code>\u53ef\u4ee5\u76f4\u63a5\u5b9a\u4e49\uff0c\u4f8b\u5982 <code>my_list = [1, 2, 3]<\/code>\u3002\u82e5\u9009\u62e9\u4f7f\u7528<code>array<\/code>\u6a21\u5757\uff0c\u5219\u9700\u5148\u5bfc\u5165\uff0c\u65b9\u6cd5\u4e3a <code>from array import array<\/code>\uff0c\u63a5\u7740\u53ef\u4ee5\u521b\u5efa\u6570\u7ec4\uff0c\u4f8b\u5982 <code>my_array = array(&#39;i&#39;, [1, 2, 3])<\/code>\u3002\u800c\u4f7f\u7528NumPy\u5e93\uff0c\u521b\u5efa\u6570\u7ec4\u7684\u65b9\u5f0f\u4e3a <code>import numpy as np<\/code>\uff0c\u7136\u540e\u4f7f\u7528 <code>np.array([1, 2, 3])<\/code>\u3002<\/p>\n<p><strong>Python\u6570\u7ec4\u7684\u57fa\u672c\u64cd\u4f5c\u6709\u54ea\u4e9b\uff1f<\/strong><br \/>\u4e00\u65e6\u521b\u5efa\u4e86\u6570\u7ec4\uff0c\u53ef\u4ee5\u8fdb\u884c\u591a\u79cd\u64cd\u4f5c\uff0c\u6bd4\u5982\u8bbf\u95ee\u5143\u7d20\u3001\u6dfb\u52a0\u65b0\u5143\u7d20\u3001\u5220\u9664\u5143\u7d20\u548c\u4fee\u6539\u5df2\u6709\u5143\u7d20\u3002\u5bf9\u4e8e<code>list<\/code>\uff0c\u53ef\u4ee5\u4f7f\u7528\u7d22\u5f15\u6765\u8bbf\u95ee\u7279\u5b9a\u5143\u7d20\uff0c\u4f8b\u5982 <code>my_list[0]<\/code> \u8fd4\u56de\u7b2c\u4e00\u4e2a\u5143\u7d20\u3002\u6dfb\u52a0\u5143\u7d20\u53ef\u4ee5\u4f7f\u7528 <code>append()<\/code> \u65b9\u6cd5\uff0c\u5220\u9664\u5143\u7d20\u5219\u4f7f\u7528 <code>remove()<\/code> \u65b9\u6cd5\u3002\u5bf9\u4e8eNumPy\u6570\u7ec4\uff0c\u64cd\u4f5c\u65b9\u6cd5\u7c7b\u4f3c\uff0c\u4f46\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u6570\u5b66\u8fd0\u7b97\u529f\u80fd\uff0c\u5982\u6570\u7ec4\u7684\u52a0\u6cd5\u3001\u4e58\u6cd5\u7b49\u3002<\/p>\n<p><strong>Python\u6570\u7ec4\u7684\u6027\u80fd\u5982\u4f55\uff1f\u4f7f\u7528\u54ea\u79cd\u65b9\u5f0f\u66f4\u6709\u6548\uff1f<\/strong><br \/>\u5728\u6027\u80fd\u65b9\u9762\uff0c\u4f7f\u7528NumPy\u6570\u7ec4\u901a\u5e38\u6bd4\u4f7f\u7528Python\u5185\u7f6e\u7684<code>list<\/code>\u66f4\u9ad8\u6548\uff0c\u7279\u522b\u662f\u5728\u5904\u7406\u5927\u91cf\u6570\u636e\u65f6\u3002NumPy\u6570\u7ec4\u7684\u5e95\u5c42\u5b9e\u73b0\u662f\u7528C\u8bed\u8a00\u7f16\u5199\u7684\uff0c\u80fd\u591f\u66f4\u597d\u5730\u5229\u7528\u5185\u5b58\u548c\u8ba1\u7b97\u901f\u5ea6\u3002\u5bf9\u4e8e\u7b80\u5355\u7684\u5c0f\u578b\u6570\u636e\u96c6\u5408\uff0c\u4f7f\u7528<code>list<\/code>\u53ef\u80fd\u66f4\u4e3a\u65b9\u4fbf\uff0c\u56e0\u4e3a\u4e0d\u9700\u8981\u5bfc\u5165\u989d\u5916\u7684\u5e93\u3002\u7136\u800c\uff0c\u82e5\u8981\u8fdb\u884c\u590d\u6742\u7684\u79d1\u5b66\u8ba1\u7b97\u6216\u6570\u636e\u5206\u6790\uff0cNumPy\u662f\u66f4\u63a8\u8350\u7684\u9009\u62e9\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u6765\u5efa\u7acb\u4e00\u4e2a\u6570\u7ec4\uff0c\u5305\u62ec\u4f7f\u7528\u5217\u8868\u3001NumPy\u5e93\u3001array\u6a21\u5757\u7b49\u65b9\u6cd5\u3002 \u9996\u5148\uff0c\u6211 [&hellip;]","protected":false},"author":3,"featured_media":1098475,"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\/1098467"}],"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=1098467"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1098467\/revisions"}],"predecessor-version":[{"id":1098478,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1098467\/revisions\/1098478"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1098475"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1098467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1098467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1098467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}