{"id":1037548,"date":"2024-12-31T12:16:00","date_gmt":"2024-12-31T04:16:00","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1037548.html"},"modified":"2024-12-31T12:16:03","modified_gmt":"2024-12-31T04:16:03","slug":"%e5%a6%82%e4%bd%95%e5%8e%bb%e6%8e%89%e6%95%b0%e7%bb%84%e9%87%8c%e9%87%8d%e5%a4%8d%e7%9a%84%e5%85%83%e7%b4%a0python","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1037548.html","title":{"rendered":"\u5982\u4f55\u53bb\u6389\u6570\u7ec4\u91cc\u91cd\u590d\u7684\u5143\u7d20python"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/db808a36-a3a2-49ae-80dd-d407570943b9.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"\u5982\u4f55\u53bb\u6389\u6570\u7ec4\u91cc\u91cd\u590d\u7684\u5143\u7d20python\" \/><\/p>\n<p><p> <strong>\u5982\u4f55\u53bb\u6389\u6570\u7ec4\u91cc\u91cd\u590d\u7684\u5143\u7d20python<\/strong><\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u53bb\u6389\u6570\u7ec4\u91cc\u91cd\u590d\u7684\u5143\u7d20\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c<strong>\u4f7f\u7528\u96c6\u5408\uff08set\uff09\u3001\u5217\u8868\u63a8\u5bfc\u5f0f\u3001\u5b57\u5178\uff08dict\uff09\u3001Pandas\u5e93<\/strong>\u7b49\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\u53bb\u6389\u6570\u7ec4\u4e2d\u91cd\u590d\u7684\u5143\u7d20\uff0c\u5e76\u5c55\u5f00\u8bb2\u89e3\u4f7f\u7528\u96c6\u5408\uff08set\uff09\u53bb\u91cd\u7684\u5177\u4f53\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p><strong>\u4f7f\u7528\u96c6\u5408\uff08set\uff09\u8fdb\u884c\u53bb\u91cd\u662f\u4e00\u79cd\u7b80\u5355\u800c\u9ad8\u6548\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u96c6\u5408\u4e0d\u5141\u8bb8\u91cd\u590d\u5143\u7d20\u3002\u6211\u4eec\u53ef\u4ee5\u5c06\u6570\u7ec4\u8f6c\u6362\u4e3a\u96c6\u5408\uff0c\u7136\u540e\u518d\u8f6c\u6362\u56de\u5217\u8868\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528\u96c6\u5408\uff08set\uff09\u53bb\u91cd<\/p>\n<\/p>\n<ol>\n<li><strong>\u7b80\u5355\u7684\u65b9\u6cd5<\/strong><\/li>\n<\/ol>\n<p><p>\u5c06\u6570\u7ec4\u8f6c\u6362\u4e3a\u96c6\u5408\uff0c\u7136\u540e\u518d\u8f6c\u6362\u56de\u5217\u8868\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u53bb\u6389\u91cd\u590d\u7684\u5143\u7d20\u3002\u8fd9\u79cd\u65b9\u6cd5\u975e\u5e38\u7b80\u5355\u4e14\u9ad8\u6548\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">array = [1, 2, 2, 3, 4, 4, 5]<\/p>\n<p>unique_array = list(set(array))<\/p>\n<p>print(unique_array)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6570\u7ec4 <code>[1, 2, 2, 3, 4, 4, 5]<\/code> \u88ab\u8f6c\u6362\u4e3a\u96c6\u5408 <code>{1, 2, 3, 4, 5}<\/code>\uff0c\u7136\u540e\u518d\u8f6c\u6362\u56de\u5217\u8868 <code>[1, 2, 3, 4, 5]<\/code>\uff0c\u4ece\u800c\u53bb\u6389\u4e86\u6240\u6709\u7684\u91cd\u590d\u5143\u7d20\u3002<\/p>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u4fdd\u7559\u539f\u59cb\u987a\u5e8f\u7684\u65b9\u6cd5<\/strong><\/li>\n<\/ol>\n<p><p>\u5982\u679c\u5e0c\u671b\u5728\u53bb\u91cd\u7684\u540c\u65f6\u4fdd\u7559\u539f\u59cb\u6570\u7ec4\u7684\u987a\u5e8f\uff0c\u53ef\u4ee5\u4f7f\u7528\u96c6\u5408\u548c\u5217\u8868\u7684\u7ed3\u5408\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">array = [1, 2, 2, 3, 4, 4, 5]<\/p>\n<p>seen = set()<\/p>\n<p>unique_array = [x for x in array if not (x in seen or seen.add(x))]<\/p>\n<p>print(unique_array)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u4e86\u4e00\u4e2a\u96c6\u5408 <code>seen<\/code> \u6765\u8bb0\u5f55\u5df2\u7ecf\u9047\u5230\u7684\u5143\u7d20\uff0c\u901a\u8fc7\u5217\u8868\u63a8\u5bfc\u5f0f\u6765\u6784\u5efa\u65b0\u7684\u5217\u8868 <code>unique_array<\/code>\u3002\u8fd9\u6837\u4e0d\u4ec5\u53bb\u6389\u4e86\u91cd\u590d\u5143\u7d20\uff0c\u8fd8\u4fdd\u7559\u4e86\u539f\u59cb\u7684\u987a\u5e8f\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u53bb\u91cd<\/p>\n<\/p>\n<p><p>\u5217\u8868\u63a8\u5bfc\u5f0f\u662f\u4e00\u79cd\u7b80\u6d01\u7684\u65b9\u5f0f\u6765\u521b\u5efa\u5217\u8868\uff0c\u540c\u6837\u53ef\u4ee5\u7528\u6765\u53bb\u6389\u6570\u7ec4\u4e2d\u7684\u91cd\u590d\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">array = [1, 2, 2, 3, 4, 4, 5]<\/p>\n<p>unique_array = []<\/p>\n<p>[unique_array.append(x) for x in array if x not in unique_array]<\/p>\n<p>print(unique_array)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u904d\u5386\u539f\u59cb\u6570\u7ec4\u5e76\u68c0\u67e5\u5143\u7d20\u662f\u5426\u5df2\u7ecf\u5728 <code>unique_array<\/code> \u4e2d\uff0c\u5982\u679c\u4e0d\u5728\u5219\u6dfb\u52a0\u5230 <code>unique_array<\/code> \u4e2d\uff0c\u8fd9\u6837\u53ef\u4ee5\u53bb\u6389\u6240\u6709\u7684\u91cd\u590d\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528\u5b57\u5178\uff08dict\uff09\u53bb\u91cd<\/p>\n<\/p>\n<p><p>\u5728Python 3.7\u53ca\u4ee5\u4e0a\u7248\u672c\u4e2d\uff0c\u5b57\u5178\u4fdd\u6301\u63d2\u5165\u987a\u5e8f\uff0c\u56e0\u6b64\u53ef\u4ee5\u4f7f\u7528\u5b57\u5178\u952e\u7684\u552f\u4e00\u6027\u6765\u53bb\u91cd\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">array = [1, 2, 2, 3, 4, 4, 5]<\/p>\n<p>unique_array = list(dict.fromkeys(array))<\/p>\n<p>print(unique_array)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4f7f\u7528 <code>dict.fromkeys()<\/code> \u65b9\u6cd5\uff0c\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u5b57\u5178\uff0c\u5176\u952e\u662f\u539f\u59cb\u6570\u7ec4\u7684\u5143\u7d20\uff0c\u7136\u540e\u518d\u5c06\u5b57\u5178\u7684\u952e\u8f6c\u6362\u56de\u5217\u8868\uff0c\u4ece\u800c\u53bb\u6389\u91cd\u590d\u5143\u7d20\u5e76\u4fdd\u7559\u539f\u59cb\u987a\u5e8f\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u4f7f\u7528Pandas\u5e93\u53bb\u91cd<\/p>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u5728\u5904\u7406\u6570\u636e\u65f6\u4f7f\u7528\u4e86Pandas\u5e93\uff0c\u53ef\u4ee5\u5229\u7528Pandas\u7684\u53bb\u91cd\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<p>array = [1, 2, 2, 3, 4, 4, 5]<\/p>\n<p>unique_array = pd.Series(array).drop_duplicates().tolist()<\/p>\n<p>print(unique_array)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u5c06\u6570\u7ec4\u8f6c\u6362\u4e3aPandas\u7684Series\u5bf9\u8c61\uff0c\u7136\u540e\u4f7f\u7528 <code>drop_duplicates()<\/code> \u65b9\u6cd5\u53bb\u6389\u91cd\u590d\u5143\u7d20\uff0c\u6700\u540e\u8f6c\u6362\u56de\u5217\u8868\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u7efc\u5408\u793a\u4f8b<\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u66f4\u597d\u5730\u7406\u89e3\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u4e00\u4e2a\u7efc\u5408\u793a\u4f8b\uff0c\u5c55\u793a\u5982\u4f55\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\u53bb\u6389\u6570\u7ec4\u4e2d\u7684\u91cd\u590d\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def remove_duplicates(array):<\/p>\n<p>    # \u4f7f\u7528\u96c6\u5408\uff08set\uff09\u53bb\u91cd<\/p>\n<p>    unique_array_set = list(set(array))<\/p>\n<p>    # \u4fdd\u7559\u539f\u59cb\u987a\u5e8f\u7684\u65b9\u6cd5<\/p>\n<p>    seen = set()<\/p>\n<p>    unique_array_ordered = [x for x in array if not (x in seen or seen.add(x))]<\/p>\n<p>    # \u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u53bb\u91cd<\/p>\n<p>    unique_array_list_comp = []<\/p>\n<p>    [unique_array_list_comp.append(x) for x in array if x not in unique_array_list_comp]<\/p>\n<p>    # \u4f7f\u7528\u5b57\u5178\uff08dict\uff09\u53bb\u91cd<\/p>\n<p>    unique_array_dict = list(dict.fromkeys(array))<\/p>\n<p>    # \u4f7f\u7528Pandas\u5e93\u53bb\u91cd<\/p>\n<p>    import pandas as pd<\/p>\n<p>    unique_array_pandas = pd.Series(array).drop_duplicates().tolist()<\/p>\n<p>    return {<\/p>\n<p>        &quot;unique_array_set&quot;: unique_array_set,<\/p>\n<p>        &quot;unique_array_ordered&quot;: unique_array_ordered,<\/p>\n<p>        &quot;unique_array_list_comp&quot;: unique_array_list_comp,<\/p>\n<p>        &quot;unique_array_dict&quot;: unique_array_dict,<\/p>\n<p>        &quot;unique_array_pandas&quot;: unique_array_pandas<\/p>\n<p>    }<\/p>\n<p>array = [1, 2, 2, 3, 4, 4, 5]<\/p>\n<p>result = remove_duplicates(array)<\/p>\n<p>for method, unique_array in result.items():<\/p>\n<p>    print(f&quot;{method}: {unique_array}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u7efc\u5408\u793a\u4f8b\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528\u4e0d\u540c\u7684\u65b9\u6cd5\u53bb\u6389\u6570\u7ec4\u4e2d\u7684\u91cd\u590d\u5143\u7d20\uff0c\u5e76\u5c06\u7ed3\u679c\u5b58\u50a8\u5728\u4e00\u4e2a\u5b57\u5178\u4e2d\uff0c\u6700\u540e\u8f93\u51fa\u6bcf\u79cd\u65b9\u6cd5\u7684\u7ed3\u679c\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u53ef\u4ee5\u66f4\u6e05\u695a\u5730\u770b\u5230\u6bcf\u79cd\u65b9\u6cd5\u7684\u6548\u679c\uff0c\u5e76\u9009\u62e9\u6700\u9002\u5408\u7684\u53bb\u91cd\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u603b\u7ed3\uff1a\u5728Python\u4e2d\uff0c\u53bb\u6389\u6570\u7ec4\u4e2d\u7684\u91cd\u590d\u5143\u7d20\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c<strong>\u4f7f\u7528\u96c6\u5408\uff08set\uff09\u3001\u5217\u8868\u63a8\u5bfc\u5f0f\u3001\u5b57\u5178\uff08dict\uff09\u3001Pandas\u5e93<\/strong>\u7b49\u3002\u6bcf\u79cd\u65b9\u6cd5\u90fd\u6709\u5176\u4f18\u70b9\u548c\u9002\u7528\u573a\u666f\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u6700\u9002\u5408\u7684\u65b9\u6cd5\u3002\u901a\u8fc7\u4e86\u89e3\u548c\u638c\u63e1\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u66f4\u9ad8\u6548\u5730\u5904\u7406\u6570\u636e\u4e2d\u7684\u91cd\u590d\u5143\u7d20\u95ee\u9898\uff0c\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u6027\u80fd\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u53bb\u9664\u6570\u7ec4\u4e2d\u7684\u91cd\u590d\u5143\u7d20\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53bb\u9664\u6570\u7ec4\u4e2d\u7684\u91cd\u590d\u5143\u7d20\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\u3002\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528<code>set()<\/code>\u51fd\u6570\uff0c\u56e0\u4e3a\u96c6\u5408\u672c\u8eab\u4e0d\u5141\u8bb8\u91cd\u590d\u5143\u7d20\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u6709\u4e00\u4e2a\u5217\u8868<code>my_list = [1, 2, 2, 3, 4, 4, 5]<\/code>\uff0c\u53ef\u4ee5\u901a\u8fc7<code>unique_list = list(set(my_list))<\/code>\u6765\u521b\u5efa\u4e00\u4e2a\u6ca1\u6709\u91cd\u590d\u9879\u7684\u65b0\u5217\u8868\u3002<\/p>\n<p><strong>\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u53bb\u91cd\u7684\u6548\u7387\u5982\u4f55\uff1f<\/strong><br \/>\u5217\u8868\u63a8\u5bfc\u5f0f\u662f\u4e00\u79cd\u65b9\u4fbf\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u6765\u53bb\u9664\u91cd\u590d\u5143\u7d20\u3002\u901a\u8fc7\u7ed3\u5408\u6761\u4ef6\u8bed\u53e5\u548c\u96c6\u5408\uff0c\u53ef\u4ee5\u5728\u4fdd\u8bc1\u987a\u5e8f\u7684\u60c5\u51b5\u4e0b\u53bb\u9664\u91cd\u590d\u5143\u7d20\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>seen = set()<\/code>\u548c\u5217\u8868\u63a8\u5bfc\u5f0f<code>unique_list = [x for x in my_list if not (x in seen or seen.add(x))]<\/code>\u53ef\u4ee5\u6709\u6548\u5730\u79fb\u9664\u91cd\u590d\u9879\uff0c\u540c\u65f6\u4fdd\u7559\u539f\u59cb\u987a\u5e8f\u3002<\/p>\n<p><strong>\u5728\u53bb\u91cd\u8fc7\u7a0b\u4e2d\u5982\u4f55\u4fdd\u7559\u539f\u6570\u7ec4\u7684\u987a\u5e8f\uff1f<\/strong><br \/>\u4fdd\u7559\u539f\u6570\u7ec4\u987a\u5e8f\u7684\u53bb\u91cd\u65b9\u6cd5\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528<code>OrderedDict<\/code>\u6216\u8005\u81ea\u5b9a\u4e49\u51fd\u6570\u5b9e\u73b0\u3002<code>OrderedDict<\/code>\u4f1a\u8bb0\u4f4f\u63d2\u5165\u5143\u7d20\u7684\u987a\u5e8f\uff0c\u56e0\u6b64\u53ef\u4ee5\u901a\u8fc7<code>from collections import OrderedDict<\/code>\u6765\u521b\u5efa\u4e00\u4e2a\u65e0\u91cd\u590d\u7684\u6709\u5e8f\u5217\u8868\uff0c\u5982<code>unique_list = list(OrderedDict.fromkeys(my_list))<\/code>\u3002\u6b64\u5916\uff0c\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u7684\u65b9\u6cd5\u4e5f\u80fd\u6709\u6548\u4fdd\u6301\u987a\u5e8f\u3002<\/p>\n<p><strong>\u6709\u54ea\u4e9b\u7b2c\u4e09\u65b9\u5e93\u53ef\u4ee5\u5e2e\u52a9\u53bb\u9664\u6570\u7ec4\u4e2d\u7684\u91cd\u590d\u5143\u7d20\uff1f<\/strong><br \/>\u9664\u4e86Python\u5185\u7f6e\u7684\u529f\u80fd\uff0c\u5f88\u591a\u7b2c\u4e09\u65b9\u5e93\u4e5f\u80fd\u5e2e\u52a9\u5904\u7406\u91cd\u590d\u5143\u7d20\u3002\u4f8b\u5982\uff0c<code>pandas<\/code>\u5e93\u63d0\u4f9b\u4e86\u975e\u5e38\u5f3a\u5927\u7684\u6570\u636e\u5904\u7406\u529f\u80fd\uff0c\u53ef\u4ee5\u4f7f\u7528<code>drop_duplicates()<\/code>\u65b9\u6cd5\u53bb\u9664DataFrame\u4e2d\u7684\u91cd\u590d\u884c\u3002\u5bf9\u4e8e\u6570\u7ec4\uff0c\u53ef\u4ee5\u5c06\u6570\u7ec4\u8f6c\u6362\u4e3aDataFrame\u540e\u4f7f\u7528\u8be5\u65b9\u6cd5\u5b9e\u73b0\u53bb\u91cd\u3002\u4f7f\u7528\u8fd9\u4e9b\u5e93\u80fd\u591f\u5728\u5904\u7406\u5927\u6570\u636e\u96c6\u65f6\u63d0\u9ad8\u6548\u7387\u548c\u4fbf\u6377\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5982\u4f55\u53bb\u6389\u6570\u7ec4\u91cc\u91cd\u590d\u7684\u5143\u7d20python \u5728Python\u4e2d\uff0c\u53bb\u6389\u6570\u7ec4\u91cc\u91cd\u590d\u7684\u5143\u7d20\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u4f7f\u7528\u96c6\u5408\uff08s [&hellip;]","protected":false},"author":3,"featured_media":1037552,"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\/1037548"}],"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=1037548"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1037548\/revisions"}],"predecessor-version":[{"id":1037556,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1037548\/revisions\/1037556"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1037552"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1037548"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1037548"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1037548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}