{"id":1123598,"date":"2025-01-08T19:33:48","date_gmt":"2025-01-08T11:33:48","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1123598.html"},"modified":"2025-01-08T19:33:50","modified_gmt":"2025-01-08T11:33:50","slug":"python-%e5%a6%82%e4%bd%95%e6%8a%8anp%e6%95%b0%e7%bb%84%e4%b8%ad%e8%bf%bd%e5%8a%a0%e6%95%b0%e7%bb%84","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1123598.html","title":{"rendered":"python \u5982\u4f55\u628anp\u6570\u7ec4\u4e2d\u8ffd\u52a0\u6570\u7ec4"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25085004\/6b6b8546-6034-4a18-a6f5-6731104f2bd2.webp\" alt=\"python \u5982\u4f55\u628anp\u6570\u7ec4\u4e2d\u8ffd\u52a0\u6570\u7ec4\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\u5c06\u6570\u7ec4\u8ffd\u52a0\u5230NumPy\u6570\u7ec4\u4e2d\uff0c\u5982\u4f7f\u7528np.append()\u3001np.concatenate()\u3001\u4ee5\u53canp.vstack()\u7b49\u3002<\/strong> \u5176\u4e2d\uff0c\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528np.append()\u548cnp.concatenate()\u3002<strong>np.append()<\/strong>\u51fd\u6570\u975e\u5e38\u7b80\u5355\u6613\u7528\uff0c\u9002\u5408\u521d\u5b66\u8005\uff0c\u800c<strong>np.concatenate()<\/strong>\u63d0\u4f9b\u4e86\u66f4\u4e3a\u7075\u6d3b\u7684\u64cd\u4f5c\u65b9\u5f0f\uff0c\u9002\u5408\u590d\u6742\u7684\u6570\u7ec4\u64cd\u4f5c\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u51e0\u79cd\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<h2><strong>\u4e00\u3001np.append()\u65b9\u6cd5<\/strong><\/h2>\n<p><p>\u4f7f\u7528np.append()\u65b9\u6cd5\u53ef\u4ee5\u5728\u73b0\u6709\u7684NumPy\u6570\u7ec4\u672b\u5c3e\u8ffd\u52a0\u4e00\u4e2a\u65b0\u7684\u6570\u7ec4\u3002\u8fd9\u4e2a\u65b9\u6cd5\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u8981\u4e24\u4e2a\u53c2\u6570\uff1a\u539f\u6570\u7ec4\u548c\u8981\u8ffd\u52a0\u7684\u6570\u7ec4\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u539f\u59cb\u6570\u7ec4<\/strong><\/h2>\n<p>original_array = np.array([1, 2, 3, 4])<\/p>\n<h2><strong>\u8981\u8ffd\u52a0\u7684\u6570\u7ec4<\/strong><\/h2>\n<p>additional_array = np.array([5, 6, 7, 8])<\/p>\n<h2><strong>\u4f7f\u7528np.append()\u65b9\u6cd5<\/strong><\/h2>\n<p>result_array = np.append(original_array, additional_array)<\/p>\n<p>print(result_array)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0cnp.append()\u65b9\u6cd5\u5c06additional_array\u8ffd\u52a0\u5230\u4e86original_array\u7684\u672b\u5c3e\uff0c\u5e76\u751f\u6210\u4e86\u4e00\u4e2a\u65b0\u7684\u6570\u7ec4result_array\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c<strong>np.append()\u51fd\u6570\u8fd4\u56de\u7684\u662f\u4e00\u4e2a\u65b0\u7684\u6570\u7ec4\uff0c\u800c\u4e0d\u662f\u5728\u539f\u6570\u7ec4\u4e0a\u8fdb\u884c\u4fee\u6539\u3002<\/strong><\/p>\n<\/p>\n<h2><strong>\u4e8c\u3001np.concatenate()\u65b9\u6cd5<\/strong><\/h2>\n<p><p>np.concatenate()\u65b9\u6cd5\u63d0\u4f9b\u4e86\u66f4\u4e3a\u7075\u6d3b\u7684\u6570\u7ec4\u62fc\u63a5\u65b9\u5f0f\u3002\u4f60\u53ef\u4ee5\u6307\u5b9a\u6cbf\u7740\u54ea\u4e2a\u8f74\u8fdb\u884c\u62fc\u63a5\uff0c\u8fd9\u5bf9\u4e8e\u591a\u7ef4\u6570\u7ec4\u7684\u64cd\u4f5c\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><h2>1. \u4e00\u7ef4\u6570\u7ec4\u7684\u62fc\u63a5<\/h2>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<h2><strong>\u521b\u5efa\u4e24\u4e2a\u4e00\u7ef4\u6570\u7ec4<\/strong><\/h2>\n<p>array1 = np.array([1, 2, 3])<\/p>\n<p>array2 = np.array([4, 5, 6])<\/p>\n<h2><strong>\u4f7f\u7528np.concatenate()\u65b9\u6cd5<\/strong><\/h2>\n<p>result_array = np.concatenate((array1, array2))<\/p>\n<p>print(result_array)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>2. \u4e8c\u7ef4\u6570\u7ec4\u7684\u62fc\u63a5<\/h2>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<h2><strong>\u521b\u5efa\u4e24\u4e2a\u4e8c\u7ef4\u6570\u7ec4<\/strong><\/h2>\n<p>array1 = np.array([[1, 2, 3], [4, 5, 6]])<\/p>\n<p>array2 = np.array([[7, 8, 9], [10, 11, 12]])<\/p>\n<h2><strong>\u6cbf\u7740\u7b2c\u4e00\u4e2a\u8f74\uff08\u884c\uff09\u8fdb\u884c\u62fc\u63a5<\/strong><\/h2>\n<p>result_array_axis0 = np.concatenate((array1, array2), axis=0)<\/p>\n<h2><strong>\u6cbf\u7740\u7b2c\u4e8c\u4e2a\u8f74\uff08\u5217\uff09\u8fdb\u884c\u62fc\u63a5<\/strong><\/h2>\n<p>result_array_axis1 = np.concatenate((array1, array2), axis=1)<\/p>\n<p>print(&quot;\u6cbf\u7740\u7b2c\u4e00\u4e2a\u8f74\uff08\u884c\uff09\u8fdb\u884c\u62fc\u63a5\uff1a\\n&quot;, result_array_axis0)<\/p>\n<p>print(&quot;\u6cbf\u7740\u7b2c\u4e8c\u4e2a\u8f74\uff08\u5217\uff09\u8fdb\u884c\u62fc\u63a5\uff1a\\n&quot;, result_array_axis1)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<h2><strong>\u4e09\u3001np.vstack()\u548cnp.hstack()\u65b9\u6cd5<\/strong><\/h2>\n<p><p>np.vstack()\u548cnp.hstack()\u65b9\u6cd5\u5206\u522b\u7528\u4e8e\u6cbf\u7740\u7ad6\u76f4\u65b9\u5411\u548c\u6c34\u5e73\u65b9\u5411\u62fc\u63a5\u6570\u7ec4\u3002\u8fd9\u4e24\u4e2a\u65b9\u6cd5\u63d0\u4f9b\u4e86\u66f4\u4e3a\u76f4\u89c2\u7684\u6570\u7ec4\u62fc\u63a5\u65b9\u5f0f\u3002<\/p>\n<\/p>\n<p><h2>1. np.vstack()\u65b9\u6cd5<\/h2>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<h2><strong>\u521b\u5efa\u4e24\u4e2a\u6570\u7ec4<\/strong><\/h2>\n<p>array1 = np.array([1, 2, 3])<\/p>\n<p>array2 = np.array([4, 5, 6])<\/p>\n<h2><strong>\u4f7f\u7528np.vstack()\u65b9\u6cd5<\/strong><\/h2>\n<p>result_array = np.vstack((array1, array2))<\/p>\n<p>print(result_array)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>2. np.hstack()\u65b9\u6cd5<\/h2>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<h2><strong>\u521b\u5efa\u4e24\u4e2a\u6570\u7ec4<\/strong><\/h2>\n<p>array1 = np.array([1, 2, 3])<\/p>\n<p>array2 = np.array([4, 5, 6])<\/p>\n<h2><strong>\u4f7f\u7528np.hstack()\u65b9\u6cd5<\/strong><\/h2>\n<p>result_array = np.hstack((array1, array2))<\/p>\n<p>print(result_array)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<h2><strong>\u56db\u3001\u4f7f\u7528axis\u53c2\u6570\u63a7\u5236\u62fc\u63a5\u65b9\u5411<\/strong><\/h2>\n<p><p>\u5728\u4f7f\u7528np.concatenate()\u65b9\u6cd5\u65f6\uff0caxis\u53c2\u6570\u8d77\u5230\u4e86\u5173\u952e\u4f5c\u7528\u3002\u901a\u8fc7\u8bbe\u7f6eaxis\u53c2\u6570\uff0c\u4f60\u53ef\u4ee5\u63a7\u5236\u6570\u7ec4\u7684\u62fc\u63a5\u65b9\u5411\u3002<\/p>\n<\/p>\n<p><h2>1. \u6cbf\u7740\u884c\u65b9\u5411\u62fc\u63a5<\/h2>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<h2><strong>\u521b\u5efa\u4e24\u4e2a\u4e8c\u7ef4\u6570\u7ec4<\/strong><\/h2>\n<p>array1 = np.array([[1, 2], [3, 4]])<\/p>\n<p>array2 = np.array([[5, 6], [7, 8]])<\/p>\n<h2><strong>\u6cbf\u7740\u884c\u65b9\u5411\u62fc\u63a5<\/strong><\/h2>\n<p>result_array = np.concatenate((array1, array2), axis=0)<\/p>\n<p>print(result_array)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>2. \u6cbf\u7740\u5217\u65b9\u5411\u62fc\u63a5<\/h2>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<h2><strong>\u521b\u5efa\u4e24\u4e2a\u4e8c\u7ef4\u6570\u7ec4<\/strong><\/h2>\n<p>array1 = np.array([[1, 2], [3, 4]])<\/p>\n<p>array2 = np.array([[5, 6], [7, 8]])<\/p>\n<h2><strong>\u6cbf\u7740\u5217\u65b9\u5411\u62fc\u63a5<\/strong><\/h2>\n<p>result_array = np.concatenate((array1, array2), axis=1)<\/p>\n<p>print(result_array)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<h2><strong>\u4e94\u3001\u4f7f\u7528np.insert()\u65b9\u6cd5<\/strong><\/h2>\n<p><p>\u9664\u4e86\u4e0a\u8ff0\u65b9\u6cd5\uff0c\u4f60\u8fd8\u53ef\u4ee5\u4f7f\u7528np.insert()\u65b9\u6cd5\u5728NumPy\u6570\u7ec4\u4e2d\u7684\u6307\u5b9a\u4f4d\u7f6e\u63d2\u5165\u65b0\u7684\u6570\u7ec4\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u539f\u59cb\u6570\u7ec4<\/strong><\/h2>\n<p>original_array = np.array([1, 2, 3, 4])<\/p>\n<h2><strong>\u8981\u63d2\u5165\u7684\u6570\u7ec4<\/strong><\/h2>\n<p>additional_array = np.array([5, 6, 7, 8])<\/p>\n<h2><strong>\u4f7f\u7528np.insert()\u65b9\u6cd5<\/strong><\/h2>\n<p>result_array = np.insert(original_array, 2, additional_array)<\/p>\n<p>print(result_array)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0cnp.insert()\u65b9\u6cd5\u5728\u539f\u6570\u7ec4original_array\u7684\u7d22\u5f15\u4f4d\u7f6e2\u5904\u63d2\u5165\u4e86additional_array\u3002<\/p>\n<\/p>\n<h2><strong>\u516d\u3001\u6027\u80fd\u6bd4\u8f83<\/strong><\/h2>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u4e0d\u4ec5\u53ef\u4ee5\u63d0\u5347\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\uff0c\u8fd8\u53ef\u4ee5\u63d0\u9ad8\u6267\u884c\u6548\u7387\u3002\u4e00\u822c\u6765\u8bf4\uff0c<strong>np.concatenate()\u548cnp.vstack()\u3001np.hstack()\u7684\u6027\u80fd\u8981\u4f18\u4e8enp.append()<\/strong>\uff0c\u7279\u522b\u662f\u5728\u5904\u7406\u5927\u89c4\u6a21\u6570\u7ec4\u65f6\u3002<\/p>\n<\/p>\n<p><h2>1. np.append()\u7684\u6027\u80fd<\/h2>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p>import time<\/p>\n<h2><strong>\u521b\u5efa\u5927\u89c4\u6a21\u6570\u7ec4<\/strong><\/h2>\n<p>large_array = np.random.rand(1000000)<\/p>\n<p>additional_array = np.random.rand(1000000)<\/p>\n<h2><strong>\u6d4b\u91cfnp.append()\u7684\u65f6\u95f4<\/strong><\/h2>\n<p>start_time = time.time()<\/p>\n<p>result_array = np.append(large_array, additional_array)<\/p>\n<p>end_time = time.time()<\/p>\n<p>print(&quot;np.append()\u7684\u6267\u884c\u65f6\u95f4\uff1a&quot;, end_time - start_time)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>2. np.concatenate()\u7684\u6027\u80fd<\/h2>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p>import time<\/p>\n<h2><strong>\u521b\u5efa\u5927\u89c4\u6a21\u6570\u7ec4<\/strong><\/h2>\n<p>large_array = np.random.rand(1000000)<\/p>\n<p>additional_array = np.random.rand(1000000)<\/p>\n<h2><strong>\u6d4b\u91cfnp.concatenate()\u7684\u65f6\u95f4<\/strong><\/h2>\n<p>start_time = time.time()<\/p>\n<p>result_array = np.concatenate((large_array, additional_array))<\/p>\n<p>end_time = time.time()<\/p>\n<p>print(&quot;np.concatenate()\u7684\u6267\u884c\u65f6\u95f4\uff1a&quot;, end_time - start_time)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<h2><strong>\u4e03\u3001\u603b\u7ed3<\/strong><\/h2>\n<p><p>\u5728Python\u4e2d\u8ffd\u52a0\u6570\u7ec4\u5230NumPy\u6570\u7ec4\u4e2d\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4f9b\u9009\u62e9\uff0c\u5305\u62ec<strong>np.append()\u3001np.concatenate()\u3001np.vstack()<\/strong>\u548c<strong>np.hstack()<\/strong>\u7b49\u3002<strong>\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u548c\u6570\u7ec4\u7684\u7ef4\u5ea6\u6765\u51b3\u5b9a<\/strong>\u3002\u5bf9\u4e8e\u7b80\u5355\u7684\u4e00\u7ef4\u6570\u7ec4\u62fc\u63a5\uff0cnp.append()\u5df2\u7ecf\u8db3\u591f\uff0c\u800c\u5bf9\u4e8e\u590d\u6742\u7684\u591a\u7ef4\u6570\u7ec4\u64cd\u4f5c\uff0cnp.concatenate()\u63d0\u4f9b\u4e86\u66f4\u4e3a\u7075\u6d3b\u7684\u9009\u62e9\u3002\u540c\u65f6\uff0c\u5728\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u65f6\uff0c\u6027\u80fd\u4e5f\u662f\u9700\u8981\u8003\u8651\u7684\u4e00\u4e2a\u91cd\u8981\u56e0\u7d20\uff0cnp.concatenate()\u901a\u5e38\u8981\u6bd4np.append()\u66f4\u9ad8\u6548\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u7406\u89e3\u8fd9\u4e9b\u65b9\u6cd5\u7684\u4e0d\u540c\u7279\u70b9\u548c\u9002\u7528\u573a\u666f\uff0c\u5c06\u6709\u52a9\u4e8e\u4f60\u7f16\u5199\u51fa\u66f4\u9ad8\u6548\u548c\u53ef\u8bfb\u6027\u66f4\u5f3a\u7684\u4ee3\u7801\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5c06\u4e00\u4e2a\u6570\u7ec4\u8ffd\u52a0\u5230NumPy\u6570\u7ec4\u4e2d\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>numpy.append()<\/code>\u51fd\u6570\u5c06\u4e00\u4e2a\u6570\u7ec4\u8ffd\u52a0\u5230\u73b0\u6709\u7684NumPy\u6570\u7ec4\u4e2d\u3002\u8fd9\u4e2a\u51fd\u6570\u53ef\u4ee5\u63a5\u53d7\u4e24\u4e2a\u4e3b\u8981\u53c2\u6570\uff1a\u8981\u8ffd\u52a0\u7684\u6570\u7ec4\u548c\u76ee\u6807\u6570\u7ec4\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u8ffd\u52a0\u64cd\u4f5c\u4f1a\u8fd4\u56de\u4e00\u4e2a\u65b0\u7684\u6570\u7ec4\uff0c\u539f\u59cb\u6570\u7ec4\u4e0d\u4f1a\u88ab\u4fee\u6539\u3002\u4f7f\u7528\u65f6\u8981\u786e\u4fdd\u4e24\u4e2a\u6570\u7ec4\u7684\u5f62\u72b6\u517c\u5bb9\uff0c\u4ee5\u907f\u514d\u51fa\u73b0\u9519\u8bef\u3002<\/p>\n<p><strong>\u5728\u8ffd\u52a0\u6570\u7ec4\u65f6\uff0c\u5982\u4f55\u5904\u7406\u4e0d\u540c\u7ef4\u5ea6\u7684NumPy\u6570\u7ec4\uff1f<\/strong><br \/>\u5f53\u8981\u8ffd\u52a0\u7684\u6570\u7ec4\u4e0e\u76ee\u6807\u6570\u7ec4\u5177\u6709\u4e0d\u540c\u7684\u7ef4\u5ea6\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>numpy.concatenate()<\/code>\u6216<code>numpy.vstack()<\/code>\u7b49\u51fd\u6570\u6765\u5904\u7406\u3002\u786e\u4fdd\u5728\u8ffd\u52a0\u4e4b\u524d\uff0c\u8c03\u6574\u6570\u7ec4\u7684\u5f62\u72b6\u6216\u4f7f\u7528\u9002\u5f53\u7684\u8f74\u53c2\u6570\uff0c\u4ee5\u4fbf\u5b83\u4eec\u53ef\u4ee5\u6b63\u786e\u5730\u5408\u5e76\u3002\u4f8b\u5982\uff0c<code>numpy.vstack()<\/code>\u53ef\u4ee5\u7528\u4e8e\u5782\u76f4\u5806\u53e0\u6570\u7ec4\uff0c\u800c<code>numpy.hstack()<\/code>\u5219\u7528\u4e8e\u6c34\u5e73\u5806\u53e0\u3002<\/p>\n<p><strong>\u5728NumPy\u6570\u7ec4\u4e2d\u8ffd\u52a0\u5143\u7d20\u5bf9\u6027\u80fd\u6709\u5f71\u54cd\u5417\uff1f<\/strong><br \/>\u9891\u7e41\u5730\u8ffd\u52a0\u5143\u7d20\u4f1a\u5bfc\u81f4\u6027\u80fd\u4e0b\u964d\uff0c\u56e0\u4e3a\u6bcf\u6b21\u8ffd\u52a0\u90fd\u4f1a\u521b\u5efa\u4e00\u4e2a\u65b0\u6570\u7ec4\u5e76\u590d\u5236\u6570\u636e\u3002\u4e3a\u4e86\u63d0\u9ad8\u6548\u7387\uff0c\u5efa\u8bae\u5728\u521b\u5efa\u6570\u7ec4\u65f6\u9884\u7559\u8db3\u591f\u7684\u7a7a\u95f4\uff0c\u6216\u4f7f\u7528\u5217\u8868\u5728\u5185\u5b58\u4e2d\u52a8\u6001\u6dfb\u52a0\u5143\u7d20\uff0c\u6700\u540e\u518d\u5c06\u5176\u8f6c\u6362\u4e3aNumPy\u6570\u7ec4\u3002\u8fd9\u6837\u53ef\u4ee5\u51cf\u5c11\u5185\u5b58\u7684\u91cd\u590d\u5206\u914d\uff0c\u4f18\u5316\u6027\u80fd\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\u5c06\u6570\u7ec4\u8ffd\u52a0\u5230NumPy\u6570\u7ec4\u4e2d\uff0c\u5982\u4f7f\u7528np.append()\u3001np.conca [&hellip;]","protected":false},"author":3,"featured_media":1123602,"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\/1123598"}],"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=1123598"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1123598\/revisions"}],"predecessor-version":[{"id":1123603,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1123598\/revisions\/1123603"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1123602"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1123598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1123598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1123598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}