{"id":1142458,"date":"2025-01-08T22:40:15","date_gmt":"2025-01-08T14:40:15","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1142458.html"},"modified":"2025-01-08T22:40:17","modified_gmt":"2025-01-08T14:40:17","slug":"python%e5%a6%82%e4%bd%95%e6%8a%8a%e4%b8%a4%e4%b8%aa%e8%a1%a8%e5%90%88%e5%b9%b6%e5%88%b0%e4%b8%80%e8%b5%b7","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1142458.html","title":{"rendered":"python\u5982\u4f55\u628a\u4e24\u4e2a\u8868\u5408\u5e76\u5230\u4e00\u8d77"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24180600\/fe11355d-9e93-4e8e-9a6f-80133558ebdd.webp\" alt=\"python\u5982\u4f55\u628a\u4e24\u4e2a\u8868\u5408\u5e76\u5230\u4e00\u8d77\" \/><\/p>\n<p><p> <strong>Python\u5408\u5e76\u4e24\u4e2a\u8868\u7684\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528pandas\u7684concat\u51fd\u6570\u3001\u4f7f\u7528pandas\u7684merge\u51fd\u6570\u3001\u4f7f\u7528pandas\u7684join\u65b9\u6cd5<\/strong>\u3002\u5176\u4e2d\uff0c<strong>\u4f7f\u7528pandas\u7684merge\u51fd\u6570<\/strong>\u662f\u6700\u5e38\u7528\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u5408\u5e76\u9009\u9879\u548c\u63a7\u5236\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528pandas\u7684merge\u51fd\u6570\u6765\u5408\u5e76\u4e24\u4e2a\u8868\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001Pandas\u5e93\u7b80\u4ecb<\/h3>\n<\/p>\n<p><p>Pandas\u662fPython\u4e2d\u6700\u6d41\u884c\u7684\u6570\u636e\u5904\u7406\u5e93\u4e4b\u4e00\uff0c\u5b83\u63d0\u4f9b\u4e86\u9ad8\u6548\u4e14\u4fbf\u6377\u7684\u6570\u636e\u7ed3\u6784\u548c\u6570\u636e\u5206\u6790\u5de5\u5177\u3002Pandas\u4e3b\u8981\u6709\u4e24\u4e2a\u6838\u5fc3\u6570\u636e\u7ed3\u6784\uff1aSeries\u548cDataFrame\u3002DataFrame\u662f\u4e00\u4e2a\u4e8c\u7ef4\u6570\u636e\u7ed3\u6784\uff0c\u53ef\u4ee5\u770b\u4f5c\u662f\u4e00\u4e2a\u8868\u683c\uff0c\u7c7b\u4f3c\u4e8eExcel\u4e2d\u7684\u8868\u683c\u6216SQL\u4e2d\u7684\u8868\u3002Pandas\u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u6cd5\u6765\u64cd\u4f5c\u548c\u5408\u5e76DataFrame\uff0c\u4f7f\u5f97\u6570\u636e\u5904\u7406\u53d8\u5f97\u7b80\u5355\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u5b89\u88c5Pandas\u5e93<\/h3>\n<\/p>\n<p><p>\u5728\u8fdb\u884c\u6570\u636e\u5904\u7406\u4e4b\u524d\uff0c\u6211\u4eec\u9700\u8981\u786e\u4fdd\u5df2\u7ecf\u5b89\u88c5\u4e86Pandas\u5e93\u3002\u5982\u679c\u5c1a\u672a\u5b89\u88c5\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">pip install pandas<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528Pandas\u7684concat\u51fd\u6570<\/h3>\n<\/p>\n<p><p>Pandas\u7684concat\u51fd\u6570\u53ef\u4ee5\u7528\u4e8e\u6cbf\u7740\u6307\u5b9a\u8f74\uff08\u884c\u6216\u5217\uff09\u5c06\u591a\u4e2aDataFrame\u8fde\u63a5\u5728\u4e00\u8d77\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<h2><strong>\u521b\u5efa\u4e24\u4e2aDataFrame<\/strong><\/h2>\n<p>df1 = pd.DataFrame({<\/p>\n<p>    &#39;A&#39;: [&#39;A0&#39;, &#39;A1&#39;, &#39;A2&#39;, &#39;A3&#39;],<\/p>\n<p>    &#39;B&#39;: [&#39;B0&#39;, &#39;B1&#39;, &#39;B2&#39;, &#39;B3&#39;]<\/p>\n<p>})<\/p>\n<p>df2 = pd.DataFrame({<\/p>\n<p>    &#39;A&#39;: [&#39;A4&#39;, &#39;A5&#39;, &#39;A6&#39;, &#39;A7&#39;],<\/p>\n<p>    &#39;B&#39;: [&#39;B4&#39;, &#39;B5&#39;, &#39;B6&#39;, &#39;B7&#39;]<\/p>\n<p>})<\/p>\n<h2><strong>\u4f7f\u7528concat\u51fd\u6570\u6cbf\u7740\u884c\u8f74\uff08axis=0\uff09\u8fde\u63a5\u4e24\u4e2aDataFrame<\/strong><\/h2>\n<p>result = pd.concat([df1, df2], axis=0)<\/p>\n<p>print(result)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528Pandas\u7684merge\u51fd\u6570<\/h3>\n<\/p>\n<p><p>Pandas\u7684merge\u51fd\u6570\u7c7b\u4f3c\u4e8eSQL\u4e2d\u7684JOIN\u64cd\u4f5c\uff0c\u53ef\u4ee5\u6839\u636e\u4e00\u4e2a\u6216\u591a\u4e2a\u952e\u5c06\u4e24\u4e2aDataFrame\u5408\u5e76\u5728\u4e00\u8d77\u3002merge\u51fd\u6570\u63d0\u4f9b\u4e86\u591a\u79cd\u5408\u5e76\u9009\u9879\uff0c\u5305\u62ec\u5185\u8fde\u63a5\u3001\u5916\u8fde\u63a5\u3001\u5de6\u8fde\u63a5\u548c\u53f3\u8fde\u63a5\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u8be6\u7ec6\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<h2><strong>\u521b\u5efa\u4e24\u4e2aDataFrame<\/strong><\/h2>\n<p>df1 = pd.DataFrame({<\/p>\n<p>    &#39;key&#39;: [&#39;K0&#39;, &#39;K1&#39;, &#39;K2&#39;, &#39;K3&#39;],<\/p>\n<p>    &#39;A&#39;: [&#39;A0&#39;, &#39;A1&#39;, &#39;A2&#39;, &#39;A3&#39;],<\/p>\n<p>    &#39;B&#39;: [&#39;B0&#39;, &#39;B1&#39;, &#39;B2&#39;, &#39;B3&#39;]<\/p>\n<p>})<\/p>\n<p>df2 = pd.DataFrame({<\/p>\n<p>    &#39;key&#39;: [&#39;K0&#39;, &#39;K1&#39;, &#39;K2&#39;, &#39;K3&#39;],<\/p>\n<p>    &#39;C&#39;: [&#39;C0&#39;, &#39;C1&#39;, &#39;C2&#39;, &#39;C3&#39;],<\/p>\n<p>    &#39;D&#39;: [&#39;D0&#39;, &#39;D1&#39;, &#39;D2&#39;, &#39;D3&#39;]<\/p>\n<p>})<\/p>\n<h2><strong>\u4f7f\u7528merge\u51fd\u6570\u6839\u636e\u952e\u5217\u8fdb\u884c\u5408\u5e76<\/strong><\/h2>\n<p>result = pd.merge(df1, df2, on=&#39;key&#39;)<\/p>\n<p>print(result)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>1\u3001\u5185\u8fde\u63a5\uff08Inner Join\uff09<\/h4>\n<\/p>\n<p><p>\u5185\u8fde\u63a5\u662f\u6700\u5e38\u89c1\u7684\u5408\u5e76\u65b9\u5f0f\uff0c\u4ec5\u4fdd\u7559\u4e24\u4e2aDataFrame\u4e2d\u952e\u5217\u5339\u914d\u7684\u884c\u3002\u53ef\u4ee5\u4f7f\u7528<code>how=&#39;inner&#39;<\/code>\u53c2\u6570\u6765\u6307\u5b9a\u5185\u8fde\u63a5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">result_inner = pd.merge(df1, df2, on=&#39;key&#39;, how=&#39;inner&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u5916\u8fde\u63a5\uff08Outer Join\uff09<\/h4>\n<\/p>\n<p><p>\u5916\u8fde\u63a5\u4fdd\u7559\u4e24\u4e2aDataFrame\u4e2d\u6240\u6709\u7684\u884c\uff0c\u5e76\u7528NaN\u586b\u5145\u6ca1\u6709\u5339\u914d\u7684\u90e8\u5206\u3002\u53ef\u4ee5\u4f7f\u7528<code>how=&#39;outer&#39;<\/code>\u53c2\u6570\u6765\u6307\u5b9a\u5916\u8fde\u63a5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">result_outer = pd.merge(df1, df2, on=&#39;key&#39;, how=&#39;outer&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u5de6\u8fde\u63a5\uff08Left Join\uff09<\/h4>\n<\/p>\n<p><p>\u5de6\u8fde\u63a5\u4fdd\u7559\u5de6\u4fa7DataFrame\u4e2d\u7684\u6240\u6709\u884c\uff0c\u5e76\u7528NaN\u586b\u5145\u6ca1\u6709\u5339\u914d\u7684\u90e8\u5206\u3002\u53ef\u4ee5\u4f7f\u7528<code>how=&#39;left&#39;<\/code>\u53c2\u6570\u6765\u6307\u5b9a\u5de6\u8fde\u63a5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">result_left = pd.merge(df1, df2, on=&#39;key&#39;, how=&#39;left&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>4\u3001\u53f3\u8fde\u63a5\uff08Right Join\uff09<\/h4>\n<\/p>\n<p><p>\u53f3\u8fde\u63a5\u4fdd\u7559\u53f3\u4fa7DataFrame\u4e2d\u7684\u6240\u6709\u884c\uff0c\u5e76\u7528NaN\u586b\u5145\u6ca1\u6709\u5339\u914d\u7684\u90e8\u5206\u3002\u53ef\u4ee5\u4f7f\u7528<code>how=&#39;right&#39;<\/code>\u53c2\u6570\u6765\u6307\u5b9a\u53f3\u8fde\u63a5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">result_right = pd.merge(df1, df2, on=&#39;key&#39;, how=&#39;right&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u4f7f\u7528Pandas\u7684join\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>Pandas\u7684join\u65b9\u6cd5\u4e5f\u53ef\u4ee5\u7528\u4e8e\u5408\u5e76\u4e24\u4e2aDataFrame\uff0c\u4f46\u5b83\u4e3b\u8981\u7528\u4e8e\u5408\u5e76\u7d22\u5f15\u76f8\u540c\u7684DataFrame\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<h2><strong>\u521b\u5efa\u4e24\u4e2aDataFrame<\/strong><\/h2>\n<p>df1 = pd.DataFrame({<\/p>\n<p>    &#39;A&#39;: [&#39;A0&#39;, &#39;A1&#39;, &#39;A2&#39;, &#39;A3&#39;],<\/p>\n<p>    &#39;B&#39;: [&#39;B0&#39;, &#39;B1&#39;, &#39;B2&#39;, &#39;B3&#39;]<\/p>\n<p>}, index=[&#39;K0&#39;, &#39;K1&#39;, &#39;K2&#39;, &#39;K3&#39;])<\/p>\n<p>df2 = pd.DataFrame({<\/p>\n<p>    &#39;C&#39;: [&#39;C0&#39;, &#39;C1&#39;, &#39;C2&#39;, &#39;C3&#39;],<\/p>\n<p>    &#39;D&#39;: [&#39;D0&#39;, &#39;D1&#39;, &#39;D2&#39;, &#39;D3&#39;]<\/p>\n<p>}, index=[&#39;K0&#39;, &#39;K1&#39;, &#39;K2&#39;, &#39;K3&#39;])<\/p>\n<h2><strong>\u4f7f\u7528join\u65b9\u6cd5\u5408\u5e76\u4e24\u4e2aDataFrame<\/strong><\/h2>\n<p>result = df1.join(df2)<\/p>\n<p>print(result)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5408\u5e76\u4e24\u4e2a\u8868\u662f\u6570\u636e\u5206\u6790\u4e2d\u975e\u5e38\u5e38\u89c1\u7684\u64cd\u4f5c\uff0cPandas\u5e93\u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u6cd5\u6765\u5b9e\u73b0\u8fd9\u4e00\u64cd\u4f5c\u3002\u5176\u4e2d\uff0c<strong>\u4f7f\u7528pandas\u7684merge\u51fd\u6570<\/strong>\u662f\u6700\u5e38\u7528\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u63d0\u4f9b\u4e86\u66f4\u591a\u7684\u5408\u5e76\u9009\u9879\u548c\u63a7\u5236\u3002\u901a\u8fc7\u638c\u63e1concat\u3001merge\u548cjoin\u65b9\u6cd5\uff0c\u60a8\u53ef\u4ee5\u6839\u636e\u4e0d\u540c\u7684\u9700\u6c42\u9009\u62e9\u6700\u9002\u5408\u7684\u5408\u5e76\u65b9\u5f0f\uff0c\u4ece\u800c\u9ad8\u6548\u5730\u5904\u7406\u6570\u636e\u3002<\/p>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u9009\u62e9\u5408\u9002\u7684\u5408\u5e76\u65b9\u6cd5\u53d6\u51b3\u4e8e\u6570\u636e\u7684\u7ed3\u6784\u548c\u5206\u6790\u9700\u6c42\u3002\u4f8b\u5982\uff0c\u5982\u679c\u60a8\u9700\u8981\u5408\u5e76\u4e24\u4e2a\u5177\u6709\u76f8\u540c\u7d22\u5f15\u7684DataFrame\uff0c\u53ef\u4ee5\u4f7f\u7528join\u65b9\u6cd5\uff1b\u5982\u679c\u60a8\u9700\u8981\u6839\u636e\u4e00\u4e2a\u6216\u591a\u4e2a\u952e\u5217\u8fdb\u884c\u5408\u5e76\uff0c\u53ef\u4ee5\u4f7f\u7528merge\u65b9\u6cd5\u3002\u6b64\u5916\uff0cconcat\u51fd\u6570\u53ef\u4ee5\u7528\u4e8e\u7b80\u5355\u7684\u884c\u6216\u5217\u8fde\u63a5\u3002<\/p>\n<\/p>\n<p><p>\u603b\u4e4b\uff0cPandas\u5e93\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u6570\u636e\u5904\u7406\u529f\u80fd\uff0c\u901a\u8fc7\u7075\u6d3b\u8fd0\u7528\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u5730\u5904\u7406\u548c\u5206\u6790\u5927\u89c4\u6a21\u6570\u636e\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528Pandas\u5408\u5e76\u4e24\u4e2a\u6570\u636e\u8868\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0cPandas\u5e93\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u6570\u636e\u5904\u7406\u529f\u80fd\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u5c06\u4e24\u4e2a\u6570\u636e\u8868\u5408\u5e76\u5728\u4e00\u8d77\u3002\u4f7f\u7528<code>pd.merge()<\/code>\u51fd\u6570\uff0c\u53ef\u4ee5\u901a\u8fc7\u6307\u5b9a\u4e00\u4e2a\u6216\u591a\u4e2a\u5171\u540c\u7684\u5217\uff08\u952e\uff09\u6765\u5408\u5e76\u6570\u636e\u8868\u3002\u5408\u5e76\u65b9\u5f0f\u5305\u62ec\u5185\u8fde\u63a5\u3001\u5916\u8fde\u63a5\u3001\u5de6\u8fde\u63a5\u548c\u53f3\u8fde\u63a5\u7b49\u3002\u4f8b\u5982\uff0c<code>pd.merge(df1, df2, on=&#39;key&#39;)<\/code>\u5c06\u6839\u636e&#39;key&#39;\u5217\u5408\u5e76df1\u548cdf2\u3002\u5982\u679c\u9700\u8981\u5408\u5e76\u591a\u4e2a\u952e\uff0c\u53ef\u4ee5\u4f20\u9012\u4e00\u4e2a\u5217\u8868\uff0c\u5982<code>on=[&#39;key1&#39;, &#39;key2&#39;]<\/code>\u3002<\/p>\n<p><strong>Python\u5408\u5e76\u6570\u636e\u8868\u65f6\u6709\u54ea\u4e9b\u5e38\u89c1\u7684\u9519\u8bef\u9700\u8981\u6ce8\u610f\uff1f<\/strong><br \/>\u5728\u5408\u5e76\u6570\u636e\u8868\u65f6\uff0c\u5e38\u89c1\u7684\u9519\u8bef\u5305\u62ec\u952e\u7684\u540d\u79f0\u4e0d\u5339\u914d\u3001\u6570\u636e\u7c7b\u578b\u4e0d\u4e00\u81f4\u548c\u7f3a\u5931\u503c\u5bfc\u81f4\u7684\u5408\u5e76\u5931\u8d25\u3002\u786e\u4fdd\u5728\u5408\u5e76\u524d\u68c0\u67e5\u6570\u636e\u8868\u4e2d\u7528\u4e8e\u8fde\u63a5\u7684\u5217\u540d\u662f\u5426\u4e00\u81f4\uff0c\u4e14\u6570\u636e\u7c7b\u578b\u76f8\u540c\u3002\u6b64\u5916\uff0c\u5904\u7406\u7f3a\u5931\u503c\u4e5f\u662f\u81f3\u5173\u91cd\u8981\u7684\uff0c\u8003\u8651\u4f7f\u7528<code>dropna()<\/code>\u6216<code>fillna()<\/code>\u51fd\u6570\u6765\u6e05\u7406\u6570\u636e\uff0c\u4ee5\u907f\u514d\u610f\u5916\u7684\u5408\u5e76\u7ed3\u679c\u3002<\/p>\n<p><strong>\u5982\u4f55\u4f7f\u7528concat\u51fd\u6570\u5728Python\u4e2d\u5408\u5e76\u6570\u636e\u8868\uff1f<\/strong><br \/>\u9664\u4e86\u4f7f\u7528<code>pd.merge()<\/code>\uff0cPandas\u8fd8\u63d0\u4f9b\u4e86<code>pd.concat()<\/code>\u51fd\u6570\uff0c\u9002\u7528\u4e8e\u5728\u884c\u6216\u5217\u65b9\u5411\u4e0a\u5408\u5e76\u6570\u636e\u8868\u3002\u901a\u8fc7\u8bbe\u7f6e<code>axis<\/code>\u53c2\u6570\uff0c<code>pd.concat([df1, df2], axis=0)<\/code>\u5c06\u6309\u884c\u5408\u5e76\uff0c\u800c<code>pd.concat([df1, df2], axis=1)<\/code>\u5c06\u6309\u5217\u5408\u5e76\u3002\u5728\u4f7f\u7528<code>concat<\/code>\u65f6\uff0c\u8981\u786e\u4fdd\u6240\u6709\u6570\u636e\u8868\u5177\u6709\u76f8\u540c\u7684\u5217\u540d\uff0c\u4ee5\u907f\u514d\u51fa\u73b0\u91cd\u590d\u5217\u6216\u6570\u636e\u9519\u4f4d\u7684\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u5408\u5e76\u4e24\u4e2a\u8868\u7684\u65b9\u6cd5\u6709\uff1a\u4f7f\u7528pandas\u7684concat\u51fd\u6570\u3001\u4f7f\u7528pandas\u7684merge\u51fd\u6570\u3001\u4f7f\u7528pa [&hellip;]","protected":false},"author":3,"featured_media":1142465,"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\/1142458"}],"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=1142458"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1142458\/revisions"}],"predecessor-version":[{"id":1142467,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1142458\/revisions\/1142467"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1142465"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1142458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1142458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1142458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}