{"id":999550,"date":"2024-12-27T09:42:32","date_gmt":"2024-12-27T01:42:32","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/999550.html"},"modified":"2024-12-27T09:42:34","modified_gmt":"2024-12-27T01:42:34","slug":"%e5%a6%82%e4%bd%95%e7%94%a8python%e8%bf%87%e6%bb%a4%e8%b4%9f%e6%95%b0","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/999550.html","title":{"rendered":"\u5982\u4f55\u7528python\u8fc7\u6ee4\u8d1f\u6570"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25074524\/48b6fb95-154c-4774-a365-351af5ded3ae.webp\" alt=\"\u5982\u4f55\u7528python\u8fc7\u6ee4\u8d1f\u6570\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u8fc7\u6ee4\u8d1f\u6570\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u5b9e\u73b0\uff0c\u5305\u62ec\u5217\u8868\u89e3\u6790\u3001filter\u51fd\u6570\u3001Numpy\u5e93\u7b49\u3002\u5176\u4e2d\uff0c\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u5217\u8868\u89e3\u6790\uff0c\u56e0\u4e3a\u5b83\u7b80\u6d01\u4e14\u6613\u4e8e\u7406\u89e3\u3002\u4f7f\u7528\u5217\u8868\u89e3\u6790\u53ef\u4ee5\u5feb\u901f\u904d\u5386\u5217\u8868\u5e76\u7b5b\u9009\u51fa\u6240\u6709\u975e\u8d1f\u6570\u5143\u7d20\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u5217\u8868\u89e3\u6790\u662f\u4e00\u79cd\u975e\u5e38\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u5b83\u5141\u8bb8\u4f60\u5728\u4e00\u884c\u4ee3\u7801\u4e2d\u5b8c\u6210\u590d\u6742\u7684\u64cd\u4f5c\u3002\u901a\u8fc7\u5217\u8868\u89e3\u6790\uff0c\u6211\u4eec\u53ef\u4ee5\u8f7b\u677e\u5730\u8fc7\u6ee4\u6389\u8d1f\u6570\uff0c\u53ea\u4fdd\u7559\u975e\u8d1f\u6570\u3002\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u4ec5\u7b80\u5355\uff0c\u800c\u4e14\u6267\u884c\u6548\u7387\u9ad8\uff0c\u9002\u5408\u5904\u7406\u5927\u591a\u6570\u6570\u636e\u96c6\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5217\u8868\u89e3\u6790<\/h3>\n<\/p>\n<p><p>\u5217\u8868\u89e3\u6790\u662f\u4e00\u79cd\u7b80\u6d01\u7684\u65b9\u5f0f\uff0c\u53ef\u4ee5\u5728\u4e00\u884c\u4ee3\u7801\u4e2d\u5b9e\u73b0\u5bf9\u5217\u8868\u7684\u8fc7\u6ee4\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = [-10, -5, 0, 5, 10]<\/p>\n<p>positive_numbers = [num for num in numbers if num &gt;= 0]<\/p>\n<p>print(positive_numbers)  # \u8f93\u51fa: [0, 5, 10]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u70b9\u5728\u4e8e\u8bed\u6cd5\u7b80\u6d01\u3001\u6613\u4e8e\u7406\u89e3\u3002\u6211\u4eec\u76f4\u63a5\u5728\u5217\u8868\u89e3\u6790\u4e2d\u4f7f\u7528\u6761\u4ef6\u5224\u65ad<code>if num &gt;= 0<\/code>\uff0c\u4ece\u800c\u8fc7\u6ee4\u6389\u6240\u6709\u8d1f\u6570\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528filter\u51fd\u6570<\/h3>\n<\/p>\n<p><p><code>filter()<\/code>\u51fd\u6570\u662fPython\u5185\u7f6e\u7684\u4e00\u4e2a\u9ad8\u9636\u51fd\u6570\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u8fc7\u6ee4\u5e8f\u5217\u3002<code>filter()<\/code>\u63a5\u6536\u4e24\u4e2a\u53c2\u6570\uff0c\u4e00\u4e2a\u662f\u51fd\u6570\uff0c\u4e00\u4e2a\u662f\u5e8f\u5217\u3002<code>filter()<\/code>\u628a\u4f20\u5165\u7684\u51fd\u6570\u4f9d\u6b21\u4f5c\u7528\u4e8e\u5e8f\u5217\u7684\u6bcf\u4e2a\u5143\u7d20\uff0c\u6839\u636e\u8fd4\u56de\u503c\u662f<code>True<\/code>\u8fd8\u662f<code>False<\/code>\u51b3\u5b9a\u4fdd\u7559\u8fd8\u662f\u4e22\u5f03\u8be5\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def is_positive(num):<\/p>\n<p>    return num &gt;= 0<\/p>\n<p>numbers = [-10, -5, 0, 5, 10]<\/p>\n<p>positive_numbers = list(filter(is_positive, numbers))<\/p>\n<p>print(positive_numbers)  # \u8f93\u51fa: [0, 5, 10]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4f7f\u7528<code>filter()<\/code>\u51fd\u6570\u7684\u4f18\u70b9\u5728\u4e8e\u5b83\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\uff0c\u5c24\u5176\u662f\u5bf9\u4e8e\u66f4\u590d\u6742\u7684\u8fc7\u6ee4\u6761\u4ef6\uff0c\u53ef\u4ee5\u5c06\u903b\u8f91\u5c01\u88c5\u5230\u4e00\u4e2a\u72ec\u7acb\u7684\u51fd\u6570\u4e2d\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528Numpy\u5e93<\/h3>\n<\/p>\n<p><p>Numpy\u662fPython\u4e2d\u7528\u4e8e\u79d1\u5b66\u8ba1\u7b97\u7684\u4e00\u4e2a\u91cd\u8981\u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u6570\u7ec4\u5bf9\u8c61\u548c\u76f8\u5173\u7684\u5feb\u901f\u64cd\u4f5c\u65b9\u6cd5\u3002\u4f7f\u7528Numpy\u53ef\u4ee5\u66f4\u9ad8\u6548\u5730\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u96c6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p>numbers = np.array([-10, -5, 0, 5, 10])<\/p>\n<p>positive_numbers = numbers[numbers &gt;= 0]<\/p>\n<p>print(positive_numbers)  # \u8f93\u51fa: [ 0  5 10]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>Numpy\u7684\u4f18\u70b9\u5728\u4e8e\u5b83\u5728\u5904\u7406\u5927\u578b\u6570\u636e\u96c6\u65f6\u7684\u9ad8\u6548\u6027\u3002\u901a\u8fc7\u5e03\u5c14\u7d22\u5f15\uff0cNumpy\u53ef\u4ee5\u5feb\u901f\u5730\u7b5b\u9009\u51fa\u6ee1\u8db3\u6761\u4ef6\u7684\u5143\u7d20\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528Pandas\u5e93<\/h3>\n<\/p>\n<p><p>Pandas\u662fPython\u4e2d\u7528\u4e8e\u6570\u636e\u5206\u6790\u7684\u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u6570\u636e\u7ed3\u6784\u548c\u6570\u636e\u5206\u6790\u5de5\u5177\u3002Pandas\u7684<code>Series<\/code>\u5bf9\u8c61\u548c<code>DataFrame<\/code>\u5bf9\u8c61\u90fd\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u8fc7\u6ee4\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<p>numbers = pd.Series([-10, -5, 0, 5, 10])<\/p>\n<p>positive_numbers = numbers[numbers &gt;= 0]<\/p>\n<p>print(positive_numbers)  # \u8f93\u51fa: 2    0<\/p>\n<p>                         #       3    5<\/p>\n<p>                         #       4   10<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>Pandas\u7684\u8fc7\u6ee4\u64cd\u4f5c\u975e\u5e38\u76f4\u89c2\uff0c\u9002\u5408\u5904\u7406\u7ed3\u6784\u5316\u6570\u636e\uff0c\u5c24\u5176\u662f\u5f53\u6570\u636e\u4e0d\u4ec5\u4ec5\u662f\u4e00\u7ef4\u65f6\uff0cPandas\u7684<code>DataFrame<\/code>\u5bf9\u8c61\u53ef\u4ee5\u8ba9\u6570\u636e\u64cd\u4f5c\u53d8\u5f97\u66f4\u52a0\u7075\u6d3b\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u4f7f\u7528\u5faa\u73af\u548c\u6761\u4ef6\u8bed\u53e5<\/h3>\n<\/p>\n<p><p>\u5c3d\u7ba1Python\u63d0\u4f9b\u4e86\u8bb8\u591a\u9ad8\u6548\u7684\u5de5\u5177\u548c\u51fd\u6570\u6765\u7b80\u5316\u8fc7\u6ee4\u64cd\u4f5c\uff0c\u4f46\u6709\u65f6\u6211\u4eec\u53ef\u80fd\u9700\u8981\u4f7f\u7528\u57fa\u672c\u7684\u5faa\u73af\u548c\u6761\u4ef6\u8bed\u53e5\u6765\u5b9e\u73b0\u590d\u6742\u7684\u903b\u8f91\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = [-10, -5, 0, 5, 10]<\/p>\n<p>positive_numbers = []<\/p>\n<p>for num in numbers:<\/p>\n<p>    if num &gt;= 0:<\/p>\n<p>        positive_numbers.append(num)<\/p>\n<p>print(positive_numbers)  # \u8f93\u51fa: [0, 5, 10]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4f7f\u7528\u5faa\u73af\u548c\u6761\u4ef6\u8bed\u53e5\u7684\u4f18\u70b9\u5728\u4e8e\u7075\u6d3b\u6027\uff0c\u53ef\u4ee5\u5904\u7406\u66f4\u590d\u6742\u7684\u8fc7\u6ee4\u6761\u4ef6\u548c\u903b\u8f91\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u516d\u3001\u6027\u80fd\u6bd4\u8f83<\/h3>\n<\/p>\n<p><p>\u5728\u4e0d\u540c\u7684\u573a\u666f\u4e0b\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53ef\u4ee5\u63d0\u5347\u4ee3\u7801\u7684\u6027\u80fd\u3002\u4e00\u822c\u6765\u8bf4\uff0c\u5bf9\u4e8e\u5c0f\u89c4\u6a21\u6570\u636e\u96c6\uff0c\u5217\u8868\u89e3\u6790\u548c<code>filter()<\/code>\u51fd\u6570\u7684\u6027\u80fd\u5dee\u5f02\u4e0d\u5927\uff0c\u4f46\u5f53\u6570\u636e\u89c4\u6a21\u589e\u5927\u65f6\uff0cNumpy\u7684\u8868\u73b0\u5c24\u4e3a\u51fa\u8272\u3002<\/p>\n<\/p>\n<p><p>\u8fdb\u884c\u6027\u80fd\u6bd4\u8f83\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528Python\u7684<code>timeit<\/code>\u6a21\u5757\u6765\u6d4b\u91cf\u4e0d\u540c\u65b9\u6cd5\u7684\u6267\u884c\u65f6\u95f4\uff0c\u4ece\u800c\u9009\u62e9\u6700\u4f18\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u5e94\u7528\u573a\u666f<\/h3>\n<\/p>\n<ol>\n<li>\n<p><strong>\u6570\u636e\u6e05\u6d17\uff1a<\/strong> \u5728\u6570\u636e\u5206\u6790\u548c<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u4e2d\uff0c\u7ecf\u5e38\u9700\u8981\u5bf9\u6570\u636e\u8fdb\u884c\u6e05\u6d17\uff0c\u8fc7\u6ee4\u6389\u4e0d\u7b26\u5408\u8981\u6c42\u7684\u6570\u636e\uff0c\u6bd4\u5982\u8d1f\u6570\u3001\u7a7a\u503c\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u7edf\u8ba1\u5206\u6790\uff1a<\/strong> \u5728\u8fdb\u884c\u7edf\u8ba1\u5206\u6790\u65f6\uff0c\u6211\u4eec\u53ef\u80fd\u53ea\u5173\u5fc3\u975e\u8d1f\u6570\u7684\u7edf\u8ba1\u7279\u5f81\uff0c\u6bd4\u5982\u5e73\u5747\u503c\u3001\u65b9\u5dee\u7b49\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u56fe\u50cf\u5904\u7406\uff1a<\/strong> \u5728\u56fe\u50cf\u5904\u7406\u4e2d\uff0c\u50cf\u7d20\u503c\u901a\u5e38\u662f\u975e\u8d1f\u7684\uff0c\u901a\u8fc7\u8fc7\u6ee4\u8d1f\u6570\u53ef\u4ee5\u7b80\u5316\u5904\u7406\u8fc7\u7a0b\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u91d1\u878d\u6570\u636e\uff1a<\/strong> \u5728\u91d1\u878d\u6570\u636e\u5206\u6790\u4e2d\uff0c\u5e38\u5e38\u9700\u8981\u5904\u7406\u4ef7\u683c\u3001\u6536\u76ca\u7b49\u6570\u636e\uff0c\u8fc7\u6ee4\u8d1f\u6570\u53ef\u4ee5\u5e2e\u52a9\u8bc6\u522b\u548c\u5904\u7406\u5f02\u5e38\u6570\u636e\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u5408\u7406\u5730\u9009\u62e9\u548c\u5e94\u7528\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u63d0\u9ad8\u6570\u636e\u5904\u7406\u7684\u6548\u7387\u548c\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u3002\u5728\u5177\u4f53\u5e94\u7528\u4e2d\uff0c\u6839\u636e\u6570\u636e\u7684\u7279\u70b9\u548c\u9700\u6c42\uff0c\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177\u548c\u65b9\u6cd5\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u6709\u6548\u5730\u8fc7\u6ee4\u5217\u8868\u4e2d\u7684\u8d1f\u6570\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u6765\u5feb\u901f\u8fc7\u6ee4\u51fa\u5217\u8868\u4e2d\u7684\u8d1f\u6570\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u6cd5\uff0c\u53ef\u4ee5\u8f7b\u677e\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5217\u8868\uff0c\u4ec5\u5305\u542b\u975e\u8d1f\u6570\u3002\u4f8b\u5982\uff0c\u5047\u8bbe\u6709\u4e00\u4e2a\u5217\u8868 <code>numbers = [-10, 5, 3, -1, 0, 7]<\/code>\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\u5b9e\u73b0\u8fc7\u6ee4\uff1a<code>filtered_numbers = [num for num in numbers if num &gt;= 0]<\/code>\u3002\u6267\u884c\u540e\uff0c<code>filtered_numbers<\/code> \u5c06\u5305\u542b <code>[5, 3, 0, 7]<\/code>\u3002<\/p>\n<p><strong>\u4f7f\u7528Python\u7684\u5185\u7f6e\u51fd\u6570\u8fc7\u6ee4\u8d1f\u6570\u6709\u54ea\u4e9b\u65b9\u6cd5\uff1f<\/strong><br \/>\u9664\u4e86\u5217\u8868\u63a8\u5bfc\u5f0f\u5916\uff0cPython\u7684\u5185\u7f6e\u51fd\u6570<code>filter()<\/code>\u4e5f\u53ef\u4ee5\u7528\u6765\u8fc7\u6ee4\u8d1f\u6570\u3002\u8fd9\u4e2a\u51fd\u6570\u63a5\u53d7\u4e24\u4e2a\u53c2\u6570\uff1a\u4e00\u4e2a\u51fd\u6570\u548c\u4e00\u4e2a\u53ef\u8fed\u4ee3\u5bf9\u8c61\u3002\u53ef\u4ee5\u5b9a\u4e49\u4e00\u4e2a\u7b80\u5355\u7684\u51fd\u6570\u6765\u68c0\u67e5\u6570\u5b57\u662f\u5426\u4e3a\u975e\u8d1f\u6570\uff0c\u4f8b\u5982 <code>def is_non_negative(num): return num &gt;= 0<\/code>\u3002\u7136\u540e\u4f7f\u7528 <code>filter(is_non_negative, numbers)<\/code> \u6765\u83b7\u53d6\u975e\u8d1f\u6570\u7684\u8fed\u4ee3\u5668\uff0c\u518d\u5c06\u5176\u8f6c\u6362\u4e3a\u5217\u8868\u3002<\/p>\n<p><strong>\u5728\u5904\u7406\u5927\u578b\u6570\u636e\u96c6\u65f6\uff0c\u5982\u4f55\u4f18\u5316\u8d1f\u6570\u8fc7\u6ee4\u7684\u6027\u80fd\uff1f<\/strong><br \/>\u5bf9\u4e8e\u5927\u578b\u6570\u636e\u96c6\uff0c\u4f7f\u7528\u751f\u6210\u5668\u8868\u8fbe\u5f0f\u53ef\u4ee5\u663e\u8457\u63d0\u9ad8\u6027\u80fd\uff0c\u56e0\u4e3a\u5b83\u4eec\u5728\u8fed\u4ee3\u65f6\u4e0d\u4f1a\u7acb\u5373\u751f\u6210\u5b8c\u6574\u7684\u5217\u8868\uff0c\u800c\u662f\u9010\u4e2a\u751f\u6210\u503c\u3002\u53ef\u4ee5\u4f7f\u7528\u7c7b\u4f3c\u4e8e\u5217\u8868\u63a8\u5bfc\u5f0f\u7684\u8bed\u6cd5\uff1a<code>filtered_numbers = (num for num in numbers if num &gt;= 0)<\/code>\u3002\u8fd9\u79cd\u65b9\u6cd5\u5728\u5904\u7406\u5927\u6570\u636e\u65f6\u66f4\u4e3a\u9ad8\u6548\uff0c\u56e0\u4e3a\u5b83\u51cf\u5c11\u4e86\u5185\u5b58\u6d88\u8017\uff0c\u5e76\u4e14\u5728\u6bcf\u6b21\u8fed\u4ee3\u65f6\u53ea\u8ba1\u7b97\u4e00\u4e2a\u503c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u8fc7\u6ee4\u8d1f\u6570\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u5b9e\u73b0\uff0c\u5305\u62ec\u5217\u8868\u89e3\u6790\u3001filter\u51fd\u6570\u3001Numpy\u5e93\u7b49\u3002\u5176\u4e2d\uff0c\u6700\u5e38\u7528\u7684\u65b9 [&hellip;]","protected":false},"author":3,"featured_media":999558,"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\/999550"}],"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=999550"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/999550\/revisions"}],"predecessor-version":[{"id":999564,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/999550\/revisions\/999564"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/999558"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=999550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=999550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=999550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}