{"id":969240,"date":"2024-12-27T05:14:55","date_gmt":"2024-12-26T21:14:55","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/969240.html"},"modified":"2024-12-27T05:14:57","modified_gmt":"2024-12-26T21:14:57","slug":"python%e5%a6%82%e4%bd%95%e5%a4%8d%e5%88%b6%e8%a1%8c%e8%ae%b0%e5%bd%95","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/969240.html","title":{"rendered":"python\u5982\u4f55\u590d\u5236\u884c\u8bb0\u5f55"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24183623\/d1ddf4ad-61ec-46ac-967e-39944eef7d71.webp\" alt=\"python\u5982\u4f55\u590d\u5236\u884c\u8bb0\u5f55\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u590d\u5236\u884c\u8bb0\u5f55\u4e3b\u8981\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u5217\u8868\u3001\u5b57\u5178\u3001Pandas\u5e93\u7b49\u65b9\u5f0f\u8fdb\u884c\u3002<\/strong> \u5176\u4e2d\uff0c\u4f7f\u7528Pandas\u5e93\u662f\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u6570\u636e\u64cd\u4f5c\u529f\u80fd\uff0c\u9002\u5408\u5904\u7406\u7ed3\u6784\u5316\u6570\u636e\u3002\u5728\u8be6\u7ec6\u63cf\u8ff0\u4e2d\uff0c\u6211\u4eec\u5c06\u91cd\u70b9\u4ecb\u7ecd\u4f7f\u7528Pandas\u5e93\u590d\u5236\u884c\u8bb0\u5f55\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u4f7f\u7528Pandas\u5e93\u590d\u5236\u884c\u8bb0\u5f55\u7684\u8fc7\u7a0b\u901a\u5e38\u5305\u62ec\u4ee5\u4e0b\u6b65\u9aa4\uff1a\u9996\u5148\uff0c\u9700\u8981\u5bfc\u5165Pandas\u5e93\u5e76\u8bfb\u53d6\u6570\u636e\u96c6\uff1b\u63a5\u7740\uff0c\u901a\u8fc7DataFrame\u7684\u7d22\u5f15\u529f\u80fd\u9009\u62e9\u9700\u8981\u590d\u5236\u7684\u884c\uff1b\u7136\u540e\uff0c\u4f7f\u7528DataFrame\u7684append\u6216concat\u65b9\u6cd5\u5c06\u9009\u5b9a\u7684\u884c\u6dfb\u52a0\u5230\u539f\u6570\u636e\u96c6\u4e2d\u3002\u8fd9\u4e00\u8fc7\u7a0b\u7b80\u5355\u9ad8\u6548\uff0c\u9002\u5408\u5404\u79cd\u6570\u636e\u5904\u7406\u573a\u666f\u3002<\/p>\n<\/p>\n<hr>\n<p><h3>\u4e00\u3001\u4f7f\u7528Pandas\u590d\u5236\u884c\u8bb0\u5f55<\/h3>\n<\/p>\n<p><p>Pandas\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u6570\u636e\u5206\u6790\u5e93\uff0c\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u529f\u80fd\u6765\u64cd\u4f5c\u6570\u636e\u6846\uff08DataFrame\uff09\u3002\u590d\u5236\u884c\u8bb0\u5f55\u662f\u6570\u636e\u5904\u7406\u4e2d\u7684\u5e38\u89c1\u4efb\u52a1\uff0cPandas\u901a\u8fc7\u4e00\u4e9b\u7b80\u5355\u7684\u51fd\u6570\u8c03\u7528\u5373\u53ef\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><h4>1. \u5bfc\u5165Pandas\u5e76\u8bfb\u53d6\u6570\u636e<\/h4>\n<\/p>\n<p><p>\u5728\u5f00\u59cb\u4efb\u4f55\u6570\u636e\u64cd\u4f5c\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u5bfc\u5165Pandas\u5e93\u5e76\u8bfb\u53d6\u6570\u636e\u3002\u8fd9\u901a\u5e38\u901a\u8fc7\u4eceCSV\u6587\u4ef6\u3001Excel\u6587\u4ef6\u7b49\u683c\u5f0f\u52a0\u8f7d\u6570\u636e\u6765\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<h2><strong>\u5047\u8bbe\u6211\u4eec\u6709\u4e00\u4e2aCSV\u6587\u4ef6\u6570\u636e<\/strong><\/h2>\n<p>df = pd.read_csv(&#39;data.csv&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u9009\u62e9\u8981\u590d\u5236\u7684\u884c<\/h4>\n<\/p>\n<p><p>\u5728\u590d\u5236\u884c\u4e4b\u524d\uff0c\u9996\u5148\u9700\u8981\u9009\u62e9\u8981\u590d\u5236\u7684\u884c\u3002\u53ef\u4ee5\u901a\u8fc7DataFrame\u7684\u7d22\u5f15\u529f\u80fd\u6765\u5b9e\u73b0\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u6839\u636e\u7279\u5b9a\u6761\u4ef6\u9009\u62e9\u7279\u5b9a\u884c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u9009\u62e9\u7b2c2\u884c<\/p>\n<p>row_to_copy = df.iloc[1]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6216\u8005\u6839\u636e\u6761\u4ef6\u9009\u62e9\u884c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u9009\u62e9\u6ee1\u8db3\u6761\u4ef6\u7684\u884c<\/p>\n<p>rows_to_copy = df[df[&#39;column_name&#39;] == &#39;some_value&#39;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3. \u590d\u5236\u5e76\u6dfb\u52a0\u884c<\/h4>\n<\/p>\n<p><p>\u4e00\u65e6\u9009\u62e9\u4e86\u9700\u8981\u7684\u884c\uff0c\u5c31\u53ef\u4ee5\u4f7f\u7528<code>append<\/code>\u6216<code>concat<\/code>\u65b9\u6cd5\u5c06\u8fd9\u4e9b\u884c\u6dfb\u52a0\u5230DataFrame\u4e2d\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4f7f\u7528append\u65b9\u6cd5<\/p>\n<p>df = df.append(row_to_copy, ignore_index=True)<\/p>\n<h2><strong>\u6216\u8005\u4f7f\u7528concat\u65b9\u6cd5<\/strong><\/h2>\n<p>df = pd.concat([df, rows_to_copy], ignore_index=True)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528\u5217\u8868\u590d\u5236\u884c\u8bb0\u5f55<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u6570\u636e\u53ef\u80fd\u4ee5\u5217\u8868\u5f62\u5f0f\u5b58\u5728\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u901a\u8fc7\u5217\u8868\u64cd\u4f5c\u6765\u590d\u5236\u884c\u8bb0\u5f55\u3002<\/p>\n<\/p>\n<p><h4>1. \u590d\u5236\u5217\u8868\u4e2d\u7684\u5143\u7d20<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u6570\u636e\u4ee5\u5217\u8868\u7684\u5217\u8868\u5f62\u5f0f\u5b58\u5728\uff0c\u53ef\u4ee5\u901a\u8fc7\u5217\u8868\u590d\u5236\u7684\u65b9\u6cd5\u5b9e\u73b0\u884c\u8bb0\u5f55\u7684\u590d\u5236\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5047\u8bbe\u6211\u4eec\u6709\u4e00\u4e2a\u5217\u8868<\/p>\n<p>data = [<\/p>\n<p>    [1, &#39;Alice&#39;, 25],<\/p>\n<p>    [2, &#39;Bob&#39;, 30],<\/p>\n<p>    [3, &#39;Charlie&#39;, 35]<\/p>\n<p>]<\/p>\n<h2><strong>\u590d\u5236\u7b2c\u4e8c\u884c<\/strong><\/h2>\n<p>data.append(data[1][:])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f<\/h4>\n<\/p>\n<p><p>\u5217\u8868\u63a8\u5bfc\u5f0f\u662f\u4e00\u79cd\u7b80\u6d01\u7684\u8bed\u6cd5\uff0c\u53ef\u4ee5\u7528\u4e8e\u521b\u5efa\u65b0\u7684\u5217\u8868\uff0c\u5305\u62ec\u590d\u5236\u884c\u8bb0\u5f55\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u590d\u5236\u884c<\/p>\n<p>data_copy = [row[:] for row in data if row[1] == &#39;Bob&#39;]<\/p>\n<p>data.extend(data_copy)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u5b57\u5178\u590d\u5236\u884c\u8bb0\u5f55<\/h3>\n<\/p>\n<p><p>\u5b57\u5178\u5728Python\u4e2d\u5e38\u7528\u4e8e\u5b58\u50a8\u952e\u503c\u5bf9\u6570\u636e\uff0c\u5982\u679c\u6570\u636e\u5b58\u50a8\u5728\u5b57\u5178\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u5b57\u5178\u7684\u65b9\u6cd5\u590d\u5236\u884c\u8bb0\u5f55\u3002<\/p>\n<\/p>\n<p><h4>1. \u590d\u5236\u5b57\u5178\u4e2d\u7684\u8bb0\u5f55<\/h4>\n<\/p>\n<p><p>\u5047\u8bbe\u6570\u636e\u5b58\u50a8\u5728\u5b57\u5178\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u590d\u5236\u5b57\u5178\u7684\u952e\u503c\u5bf9\u6765\u590d\u5236\u884c\u8bb0\u5f55\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5047\u8bbe\u6211\u4eec\u6709\u4e00\u4e2a\u5b57\u5178<\/p>\n<p>data_dict = {<\/p>\n<p>    1: {&#39;name&#39;: &#39;Alice&#39;, &#39;age&#39;: 25},<\/p>\n<p>    2: {&#39;name&#39;: &#39;Bob&#39;, &#39;age&#39;: 30},<\/p>\n<p>    3: {&#39;name&#39;: &#39;Charlie&#39;, &#39;age&#39;: 35}<\/p>\n<p>}<\/p>\n<h2><strong>\u590d\u5236\u7b2c\u4e8c\u6761\u8bb0\u5f55<\/strong><\/h2>\n<p>data_dict[4] = data_dict[2].copy()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u4f7f\u7528\u5b57\u5178\u63a8\u5bfc\u5f0f<\/h4>\n<\/p>\n<p><p>\u7c7b\u4f3c\u4e8e\u5217\u8868\u63a8\u5bfc\u5f0f\uff0c\u5b57\u5178\u63a8\u5bfc\u5f0f\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u65b0\u7684\u5b57\u5178\uff0c\u5305\u62ec\u590d\u5236\u8bb0\u5f55\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4f7f\u7528\u5b57\u5178\u63a8\u5bfc\u5f0f\u590d\u5236\u8bb0\u5f55<\/p>\n<p>data_dict_copy = {k: v for k, v in data_dict.items() if v[&#39;name&#39;] == &#39;Bob&#39;}<\/p>\n<p>data_dict.update({k + 3: v for k, v in data_dict_copy.items()})<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u603b\u7ed3\u4e0e\u6700\u4f73\u5b9e\u8df5<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\u590d\u5236\u884c\u8bb0\u5f55\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u5b9e\u73b0\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53d6\u51b3\u4e8e\u6570\u636e\u7684\u5b58\u50a8\u5f62\u5f0f\u4ee5\u53ca\u5177\u4f53\u7684\u5e94\u7528\u9700\u6c42\u3002\u5bf9\u4e8e\u7ed3\u6784\u5316\u6570\u636e\uff0cPandas\u5e93\u63d0\u4f9b\u4e86\u6700\u4e3a\u65b9\u4fbf\u548c\u5f3a\u5927\u7684\u89e3\u51b3\u65b9\u6848\uff1b\u800c\u5bf9\u4e8e\u7b80\u5355\u7684\u5217\u8868\u6216\u5b57\u5178\u6570\u636e\uff0c\u4f7f\u7528Python\u5185\u7f6e\u7684\u5217\u8868\u548c\u5b57\u5178\u64cd\u4f5c\u5373\u53ef\u3002<\/p>\n<\/p>\n<p><h4>1. \u9009\u62e9\u5408\u9002\u7684\u5de5\u5177<\/h4>\n<\/p>\n<p><p>\u9009\u62e9\u5de5\u5177\u65f6\u5e94\u8003\u8651\u6570\u636e\u7684\u89c4\u6a21\u548c\u590d\u6742\u6027\u3002Pandas\u9002\u5408\u5927\u89c4\u6a21\u6570\u636e\u64cd\u4f5c\uff0c\u800c\u5217\u8868\u548c\u5b57\u5178\u9002\u5408\u5c0f\u89c4\u6a21\u6570\u636e\u3002<\/p>\n<\/p>\n<p><h4>2. \u6ce8\u610f\u6570\u636e\u4e00\u81f4\u6027<\/h4>\n<\/p>\n<p><p>\u5728\u590d\u5236\u884c\u8bb0\u5f55\u65f6\uff0c\u5e94\u786e\u4fdd\u6570\u636e\u7684\u4e00\u81f4\u6027\uff0c\u907f\u514d\u56e0\u590d\u5236\u64cd\u4f5c\u5f15\u5165\u91cd\u590d\u6216\u9519\u8bef\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<p><h4>3. \u8003\u8651\u6027\u80fd\u4f18\u5316<\/h4>\n<\/p>\n<p><p>\u5728\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u65f6\uff0c\u5e94\u6ce8\u610f\u6027\u80fd\u4f18\u5316\uff0c\u907f\u514d\u4e0d\u5fc5\u8981\u7684\u5185\u5b58\u6d88\u8017\u548c\u8ba1\u7b97\u590d\u6742\u5ea6\u3002\u4f7f\u7528Pandas\u65f6\uff0c\u53ef\u4ee5\u5229\u7528\u5176\u5185\u7f6e\u7684\u6279\u91cf\u64cd\u4f5c\u529f\u80fd\u63d0\u9ad8\u6548\u7387\u3002<\/p>\n<\/p>\n<p><p>\u603b\u4e4b\uff0c\u5728\u8fdb\u884c\u884c\u8bb0\u5f55\u590d\u5236\u64cd\u4f5c\u65f6\uff0c\u5e94\u6839\u636e\u5177\u4f53\u60c5\u51b5\u9009\u62e9\u9002\u5f53\u7684\u65b9\u6cd5\u548c\u5de5\u5177\uff0c\u4ee5\u786e\u4fdd\u64cd\u4f5c\u7684\u51c6\u786e\u6027\u548c\u6548\u7387\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u590d\u5236\u884c\u8bb0\u5f55\u5230\u65b0\u7684\u5217\u8868\u4e2d\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u5207\u7247\u6216\u5217\u8868\u63a8\u5bfc\u5f0f\u6765\u590d\u5236\u884c\u8bb0\u5f55\u3002\u5047\u8bbe\u6211\u4eec\u6709\u4e00\u4e2a\u5305\u542b\u591a\u4e2a\u884c\u8bb0\u5f55\u7684\u5217\u8868\uff0c\u53ef\u4ee5\u4f7f\u7528<code>new_list = original_list[:]<\/code>\u6765\u521b\u5efa\u539f\u59cb\u5217\u8868\u7684\u526f\u672c\u3002\u5982\u679c\u9700\u8981\u5728\u590d\u5236\u7684\u8fc7\u7a0b\u4e2d\u8fdb\u884c\u67d0\u4e9b\u4fee\u6539\uff0c\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\uff0c\u6bd4\u5982<code>new_list = [row for row in original_list]<\/code>\uff0c\u8fd9\u6837\u53ef\u4ee5\u5728\u590d\u5236\u65f6\u6dfb\u52a0\u6761\u4ef6\u6216\u8fdb\u884c\u6570\u636e\u5904\u7406\u3002<\/p>\n<p><strong>\u5728\u4f7f\u7528Pandas\u65f6\uff0c\u5982\u4f55\u590d\u5236DataFrame\u7684\u884c\uff1f<\/strong><br \/>\u4f7f\u7528Pandas\u5e93\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7<code>DataFrame.copy()<\/code>\u65b9\u6cd5\u6765\u590d\u5236\u884c\u8bb0\u5f55\u3002\u6bd4\u5982\uff0c\u5982\u679c\u4f60\u6709\u4e00\u4e2aDataFrame <code>df<\/code>\uff0c\u60f3\u8981\u590d\u5236\u5176\u4e2d\u7684\u67d0\u4e9b\u884c\uff0c\u53ef\u4ee5\u4f7f\u7528<code>df.copy()<\/code>\u6765\u521b\u5efa\u4e00\u4e2a\u5b8c\u6574\u7684\u526f\u672c\uff0c\u6216\u8005\u4f7f\u7528<code>df.iloc[]<\/code>\u9009\u62e9\u7279\u5b9a\u884c\u5e76\u7ed3\u5408<code>copy()<\/code>\u65b9\u6cd5\u8fdb\u884c\u590d\u5236\uff0c\u4f8b\u5982<code>df.iloc[0:5].copy()<\/code>\uff0c\u8fd9\u6837\u53ef\u4ee5\u5f97\u5230\u524d\u4e94\u884c\u7684\u526f\u672c\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u5c06\u7279\u5b9a\u6761\u4ef6\u7684\u884c\u8bb0\u5f55\u590d\u5236\u5230\u65b0\u6587\u4ef6\u4e2d\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528Python\u4e2d\u7684\u6587\u4ef6\u64cd\u4f5c\u6216Pandas\u5e93\u6765\u5b9e\u73b0\u8fd9\u4e00\u9700\u6c42\u3002\u82e5\u4f7f\u7528Pandas\uff0c\u53ef\u4ee5\u901a\u8fc7\u6761\u4ef6\u7b5b\u9009\u6765\u9009\u62e9\u7279\u5b9a\u884c\uff0c\u7136\u540e\u5c06\u5176\u4fdd\u5b58\u5230\u65b0\u7684CSV\u6587\u4ef6\u4e2d\u3002\u4f8b\u5982\uff0c<code>df[df[&#39;column_name&#39;] &gt; value].to_csv(&#39;new_file.csv&#39;, index=False)<\/code>\uff0c\u8fd9\u5c06\u628a\u6ee1\u8db3\u6761\u4ef6\u7684\u884c\u8bb0\u5f55\u590d\u5236\u5230\u540d\u4e3a<code>new_file.csv<\/code>\u7684\u65b0\u6587\u4ef6\u4e2d\u3002\u4f7f\u7528\u6807\u51c6\u6587\u4ef6\u64cd\u4f5c\u65f6\uff0c\u53ef\u4ee5\u8bfb\u53d6\u539f\u6587\u4ef6\uff0c\u7b5b\u9009\u51fa\u7b26\u5408\u6761\u4ef6\u7684\u884c\uff0c\u7136\u540e\u5199\u5165\u65b0\u6587\u4ef6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u590d\u5236\u884c\u8bb0\u5f55\u4e3b\u8981\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u5217\u8868\u3001\u5b57\u5178\u3001Pandas\u5e93\u7b49\u65b9\u5f0f\u8fdb\u884c\u3002 \u5176\u4e2d\uff0c\u4f7f\u7528Pandas\u5e93\u662f\u6700 [&hellip;]","protected":false},"author":3,"featured_media":969252,"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\/969240"}],"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=969240"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/969240\/revisions"}],"predecessor-version":[{"id":969255,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/969240\/revisions\/969255"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/969252"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=969240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=969240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=969240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}