{"id":1012604,"date":"2024-12-27T11:40:30","date_gmt":"2024-12-27T03:40:30","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1012604.html"},"modified":"2024-12-27T11:40:36","modified_gmt":"2024-12-27T03:40:36","slug":"%e5%a6%82%e4%bd%95%e9%81%8d%e5%8e%86%e7%9f%a9%e9%98%b5%e5%8f%96%e5%80%bcpython","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1012604.html","title":{"rendered":"\u5982\u4f55\u904d\u5386\u77e9\u9635\u53d6\u503cpython"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25090333\/ba3108ca-0b0f-4aab-b012-e080a9ad7189.webp\" alt=\"\u5982\u4f55\u904d\u5386\u77e9\u9635\u53d6\u503cpython\" \/><\/p>\n<p><p> \u904d\u5386\u77e9\u9635\u53d6\u503c\u5728Python\u4e2d\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c<strong>\u5e38\u89c1\u7684\u65b9\u6cd5\u6709\u4f7f\u7528\u5d4c\u5957\u5faa\u73af\u3001NumPy\u5e93\u548c\u5217\u8868\u751f\u6210\u5f0f<\/strong>\u3002\u5176\u4e2d\uff0c\u4f7f\u7528\u5d4c\u5957\u5faa\u73af\u7684\u65b9\u6cd5\u8f83\u4e3a\u57fa\u7840\u548c\u76f4\u89c2\uff0c\u800cNumPy\u5e93\u63d0\u4f9b\u4e86\u66f4\u9ad8\u6548\u7684\u77e9\u9635\u64cd\u4f5c\u529f\u80fd\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u8fd9\u4e09\u79cd\u65b9\u6cd5\u904d\u5386\u77e9\u9635\u5e76\u53d6\u503c\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5d4c\u5957\u5faa\u73af\u904d\u5386<\/p>\n<\/p>\n<p><p>\u5d4c\u5957\u5faa\u73af\u662f\u904d\u5386\u77e9\u9635\u6700\u57fa\u7840\u7684\u65b9\u6cd5\u4e4b\u4e00\u3002\u4f7f\u7528\u4e24\u4e2afor\u5faa\u73af\uff0c\u7b2c\u4e00\u4e2a\u5faa\u73af\u904d\u5386\u884c\uff0c\u7b2c\u4e8c\u4e2a\u5faa\u73af\u904d\u5386\u5217\uff0c\u4ece\u800c\u5b9e\u73b0\u5bf9\u77e9\u9635\u6240\u6709\u5143\u7d20\u7684\u8bbf\u95ee\u3002\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u5c0f\u89c4\u6a21\u77e9\u9635\uff0c\u56e0\u4e3a\u5f53\u77e9\u9635\u89c4\u6a21\u589e\u5927\u65f6\uff0c\u8ba1\u7b97\u6548\u7387\u8f83\u4f4e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">matrix = [<\/p>\n<p>    [1, 2, 3],<\/p>\n<p>    [4, 5, 6],<\/p>\n<p>    [7, 8, 9]<\/p>\n<p>]<\/p>\n<p>for i in range(len(matrix)):<\/p>\n<p>    for j in range(len(matrix[i])):<\/p>\n<p>        print(matrix[i][j])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u89e3\u6790<\/strong>\uff1a\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>len(matrix)<\/code>\u5f97\u5230\u884c\u6570\uff0c\u800c<code>len(matrix[i])<\/code>\u5f97\u5230\u5217\u6570\u3002\u901a\u8fc7\u53cc\u91cd\u5faa\u73af\uff0c\u6211\u4eec\u53ef\u4ee5\u8bbf\u95ee\u5e76\u6253\u5370\u77e9\u9635\u7684\u6bcf\u4e00\u4e2a\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528NumPy\u5e93<\/p>\n<\/p>\n<p><p>NumPy\u662fPython\u4e2d\u7528\u4e8e\u79d1\u5b66\u8ba1\u7b97\u7684\u6838\u5fc3\u5e93\u4e4b\u4e00\u3002\u5b83\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u591a\u7ef4\u6570\u7ec4\u5bf9\u8c61Array\uff0c\u5e76\u4e14\u53ef\u4ee5\u9ad8\u6548\u5730\u8fdb\u884c\u77e9\u9635\u64cd\u4f5c\u3002\u76f8\u6bd4\u4e8e\u5d4c\u5957\u5faa\u73af\uff0cNumPy\u5e93\u5904\u7406\u5927\u89c4\u6a21\u77e9\u9635\u65f6\u901f\u5ea6\u66f4\u5feb\uff0c\u4e14\u4ee3\u7801\u7b80\u6d01\u6613\u8bfb\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p>matrix = np.array([<\/p>\n<p>    [1, 2, 3],<\/p>\n<p>    [4, 5, 6],<\/p>\n<p>    [7, 8, 9]<\/p>\n<p>])<\/p>\n<p>for element in np.nditer(matrix):<\/p>\n<p>    print(element)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u89e3\u6790<\/strong>\uff1a<code>np.nditer()<\/code>\u662fNumPy\u63d0\u4f9b\u7684\u4e00\u4e2a\u591a\u7ef4\u6570\u7ec4\u8fed\u4ee3\u5668\uff0c\u7528\u4e8e\u9ad8\u6548\u5730\u904d\u5386\u6570\u7ec4\u7684\u6bcf\u4e00\u4e2a\u5143\u7d20\u3002\u76f8\u6bd4\u4e8ePython\u7684\u5d4c\u5957\u5faa\u73af\uff0c<code>np.nditer()<\/code>\u5728\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u65f6\u6027\u80fd\u66f4\u4f18\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528\u5217\u8868\u751f\u6210\u5f0f<\/p>\n<\/p>\n<p><p>\u5217\u8868\u751f\u6210\u5f0f\u662f\u4e00\u79cdPython\u7279\u6709\u7684\u7b80\u6d01\u8bed\u6cd5\uff0c\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u5217\u8868\u6216\u5176\u4ed6\u96c6\u5408\u7c7b\u578b\u3002\u5b83\u4e0d\u4ec5\u80fd\u591f\u7b80\u5316\u4ee3\u7801\uff0c\u8fd8\u53ef\u4ee5\u63d0\u9ad8\u4e00\u5b9a\u7684\u6267\u884c\u6548\u7387\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">matrix = [<\/p>\n<p>    [1, 2, 3],<\/p>\n<p>    [4, 5, 6],<\/p>\n<p>    [7, 8, 9]<\/p>\n<p>]<\/p>\n<p>flattened = [element for row in matrix for element in row]<\/p>\n<p>print(flattened)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u89e3\u6790<\/strong>\uff1a\u8be5\u65b9\u6cd5\u901a\u8fc7\u53cc\u91cd\u5217\u8868\u751f\u6210\u5f0f\u5c06\u4e8c\u7ef4\u77e9\u9635\u8f6c\u6362\u4e3a\u4e00\u7ef4\u5217\u8868\uff0c\u5e76\u8f93\u51fa\u6240\u6709\u5143\u7d20\u3002\u8fd9\u79cd\u65b9\u6cd5\u867d\u7136\u7b80\u6d01\uff0c\u4f46\u4e0d\u4e00\u5b9a\u9002\u5408\u6240\u6709\u60c5\u51b5\uff0c\u5c24\u5176\u662f\u5f53\u9700\u8981\u4fdd\u7559\u77e9\u9635\u7ed3\u6784\u65f6\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u5982\u4f55\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5<\/p>\n<\/p>\n<p><p>\u5728\u9009\u62e9\u904d\u5386\u77e9\u9635\u7684\u65b9\u6cd5\u65f6\uff0c\u5e94\u6839\u636e\u5177\u4f53\u7684\u4f7f\u7528\u573a\u666f\u548c\u77e9\u9635\u89c4\u6a21\u8fdb\u884c\u9009\u62e9\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5c0f\u89c4\u6a21\u77e9\u9635<\/strong>\uff1a\u5f53\u77e9\u9635\u89c4\u6a21\u8f83\u5c0f\u65f6\uff0c\u5d4c\u5957\u5faa\u73af\u662f\u4e00\u4e2a\u7b80\u5355\u76f4\u63a5\u7684\u65b9\u6cd5\u3002\u867d\u7136\u6548\u7387\u4e0d\u5982NumPy\uff0c\u4f46\u5176\u4ee3\u7801\u6613\u4e8e\u7406\u89e3\u548c\u8c03\u8bd5\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u5927\u89c4\u6a21\u77e9\u9635<\/strong>\uff1a\u5bf9\u4e8e\u5927\u89c4\u6a21\u77e9\u9635\uff0cNumPy\u5e93\u63d0\u4f9b\u7684\u591a\u7ef4\u6570\u7ec4\u5bf9\u8c61\u53ca\u5176\u76f8\u5173\u64cd\u4f5c\u66f4\u4e3a\u9ad8\u6548\u3002\u5728\u6027\u80fd\u8981\u6c42\u8f83\u9ad8\u7684\u573a\u666f\u4e0b\uff0c\u5efa\u8bae\u4f7f\u7528NumPy\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4ee3\u7801\u7b80\u6d01\u6027<\/strong>\uff1a\u5982\u679c\u8ffd\u6c42\u4ee3\u7801\u7b80\u6d01\u6027\u4e14\u4e0d\u9700\u8981\u4fdd\u7559\u77e9\u9635\u7684\u4e8c\u7ef4\u7ed3\u6784\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u5217\u8868\u751f\u6210\u5f0f\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e94\u3001\u77e9\u9635\u7684\u5b9e\u9645\u5e94\u7528\u573a\u666f<\/p>\n<\/p>\n<p><p>\u77e9\u9635\u5728\u6570\u636e\u79d1\u5b66\u3001\u56fe\u50cf\u5904\u7406\u3001<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u7b49\u9886\u57df\u6709\u7740\u5e7f\u6cdb\u7684\u5e94\u7528\u3002\u5728\u6570\u636e\u79d1\u5b66\u4e2d\uff0c\u77e9\u9635\u7528\u4e8e\u5b58\u50a8\u548c\u64cd\u4f5c\u6570\u636e\u96c6\u3002\u5728\u56fe\u50cf\u5904\u7406\u4e2d\uff0c\u56fe\u50cf\u53ef\u4ee5\u770b\u4f5c\u662f\u50cf\u7d20\u7ec4\u6210\u7684\u77e9\u9635\u3002\u5728\u673a\u5668\u5b66\u4e60\u4e2d\uff0c\u77e9\u9635\u7528\u4e8e\u8868\u793a\u6570\u636e\u548c\u6a21\u578b\u53c2\u6570\u3002<\/p>\n<\/p>\n<p><p><strong>\u6570\u636e\u79d1\u5b66\u4e2d\u7684\u5e94\u7528<\/strong>\uff1a\u5728\u6570\u636e\u5206\u6790\u4e2d\uff0c\u901a\u5e38\u9700\u8981\u5bf9\u6570\u636e\u96c6\u8fdb\u884c\u64cd\u4f5c\uff0c\u4f8b\u5982\u8ba1\u7b97\u5747\u503c\u3001\u65b9\u5dee\u3001\u534f\u65b9\u5dee\u77e9\u9635\u7b49\u3002\u4f7f\u7528NumPy\u53ef\u4ee5\u9ad8\u6548\u5730\u5b8c\u6210\u8fd9\u4e9b\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><p><strong>\u56fe\u50cf\u5904\u7406\u4e2d\u7684\u5e94\u7528<\/strong>\uff1a\u5728\u56fe\u50cf\u5904\u7406\u4e2d\uff0c\u56fe\u50cf\u88ab\u8868\u793a\u4e3a\u50cf\u7d20\u503c\u7684\u77e9\u9635\uff0c\u53ef\u4ee5\u901a\u8fc7\u904d\u5386\u77e9\u9635\u6765\u5bf9\u56fe\u50cf\u8fdb\u884c\u5904\u7406\uff0c\u4f8b\u5982\u6ee4\u6ce2\u3001\u8fb9\u7f18\u68c0\u6d4b\u7b49\u3002<\/p>\n<\/p>\n<p><p><strong>\u673a\u5668\u5b66\u4e60\u4e2d\u7684\u5e94\u7528<\/strong>\uff1a\u673a\u5668\u5b66\u4e60\u4e2d\u7684\u8bb8\u591a\u7b97\u6cd5\u90fd\u662f\u57fa\u4e8e\u77e9\u9635\u8fd0\u7b97\u7684\u3002\u4f8b\u5982\uff0c\u7ebf\u6027\u56de\u5f52\u4e2d\u7684\u53c2\u6570\u6c42\u89e3\uff0c\u795e\u7ecf\u7f51\u7edc\u4e2d\u7684\u6743\u91cd\u66f4\u65b0\u7b49\uff0c\u90fd\u6d89\u53ca\u5230\u77e9\u9635\u7684\u904d\u5386\u548c\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><p>\u603b\u7ed3\u6765\u8bf4\uff0c\u904d\u5386\u77e9\u9635\u53d6\u503c\u5728Python\u4e2d\u6709\u591a\u79cd\u5b9e\u73b0\u65b9\u6cd5\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u6548\u7387\u548c\u53ef\u8bfb\u6027\u3002\u65e0\u8bba\u662f\u57fa\u7840\u7684\u5d4c\u5957\u5faa\u73af\uff0c\u8fd8\u662f\u9ad8\u6548\u7684NumPy\u5e93\uff0c\u4ea6\u6216\u662f\u7b80\u6d01\u7684\u5217\u8868\u751f\u6210\u5f0f\uff0c\u90fd\u5404\u6709\u5176\u9002\u7528\u7684\u573a\u666f\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u5c06\u4e8b\u534a\u529f\u500d\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u9ad8\u6548\u904d\u5386\u4e00\u4e2a\u77e9\u9635\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5d4c\u5957\u5faa\u73af\u6765\u904d\u5386\u4e00\u4e2a\u77e9\u9635\u3002\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u77e9\u9635\u53ef\u4ee5\u7528\u5217\u8868\u7684\u5217\u8868\u6765\u8868\u793a\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>for<\/code>\u5faa\u73af\u904d\u5386\u6bcf\u4e00\u884c\u548c\u6bcf\u4e00\u5217\uff0c\u53ef\u4ee5\u83b7\u53d6\u77e9\u9635\u7684\u6bcf\u4e00\u4e2a\u5143\u7d20\u3002\u9664\u4e86\u5e38\u89c4\u7684\u5faa\u73af\uff0c\u4e5f\u53ef\u4ee5\u4f7f\u7528NumPy\u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u66f4\u52a0\u9ad8\u6548\u548c\u7b80\u6d01\u7684\u65b9\u5f0f\u6765\u5904\u7406\u77e9\u9635\u3002<\/p>\n<p><strong>\u5728\u904d\u5386\u77e9\u9635\u65f6\uff0c\u6709\u54ea\u4e9b\u5e38\u89c1\u7684\u9519\u8bef\u9700\u8981\u907f\u514d\uff1f<\/strong><br \/>\u904d\u5386\u77e9\u9635\u65f6\uff0c\u5e38\u89c1\u7684\u9519\u8bef\u5305\u62ec\u7d22\u5f15\u8d8a\u754c\u3001\u4f7f\u7528\u9519\u8bef\u7684\u6570\u636e\u7ed3\u6784\uff08\u5982\u5c06\u77e9\u9635\u89c6\u4e3a\u4e00\u7ef4\u6570\u7ec4\uff09\u4ee5\u53ca\u672a\u6b63\u786e\u521d\u59cb\u5316\u77e9\u9635\u3002\u786e\u4fdd\u5728\u904d\u5386\u65f6\u4f7f\u7528\u6b63\u786e\u7684\u884c\u548c\u5217\u7d22\u5f15\uff0c\u5e76\u6ce8\u610f\u77e9\u9635\u7684\u7ef4\u5ea6\uff0c\u4ee5\u907f\u514d\u51fa\u73b0\u9519\u8bef\u3002<\/p>\n<p><strong>\u4f7f\u7528NumPy\u5e93\u6765\u904d\u5386\u77e9\u9635\u6709\u4ec0\u4e48\u4f18\u52bf\uff1f<\/strong><br \/>\u4f7f\u7528NumPy\u5e93\u904d\u5386\u77e9\u9635\u7684\u4e3b\u8981\u4f18\u52bf\u5728\u4e8e\u5176\u9ad8\u6548\u6027\u548c\u7b80\u6d01\u6027\u3002NumPy\u63d0\u4f9b\u4e86\u5411\u91cf\u5316\u64cd\u4f5c\uff0c\u8fd9\u610f\u5473\u7740\u53ef\u4ee5\u5bf9\u6574\u4e2a\u6570\u7ec4\u8fdb\u884c\u64cd\u4f5c\u800c\u65e0\u9700\u4f7f\u7528\u663e\u5f0f\u7684\u5faa\u73af\uff0c\u8fd9\u6837\u53ef\u4ee5\u663e\u8457\u63d0\u9ad8\u6027\u80fd\u3002\u6b64\u5916\uff0cNumPy\u8fd8\u63d0\u4f9b\u4e86\u4e30\u5bcc\u7684\u51fd\u6570\u548c\u65b9\u6cd5\u6765\u5904\u7406\u6570\u7ec4\uff0c\u4f7f\u5f97\u77e9\u9635\u64cd\u4f5c\u66f4\u52a0\u65b9\u4fbf\u3002<\/p>\n<p><strong>\u5728\u904d\u5386\u77e9\u9635\u65f6\uff0c\u5982\u4f55\u5b9e\u73b0\u5bf9\u7279\u5b9a\u6761\u4ef6\u7684\u7b5b\u9009\uff1f<\/strong><br \/>\u5728\u904d\u5386\u77e9\u9635\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u6761\u4ef6\u8bed\u53e5\uff08\u5982<code>if<\/code>\u8bed\u53e5\uff09\u6765\u7b5b\u9009\u7279\u5b9a\u5143\u7d20\u3002\u4f7f\u7528NumPy\u65f6\uff0c\u53ef\u4ee5\u5229\u7528\u5e03\u5c14\u7d22\u5f15\u76f4\u63a5\u7b5b\u9009\u51fa\u6ee1\u8db3\u6761\u4ef6\u7684\u5143\u7d20\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u5e03\u5c14\u6570\u7ec4\u4ee5\u6807\u8bc6\u6ee1\u8db3\u6761\u4ef6\u7684\u5143\u7d20\uff0c\u7136\u540e\u76f4\u63a5\u63d0\u53d6\u8fd9\u4e9b\u5143\u7d20\uff0c\u8fd9\u6837\u53ef\u4ee5\u51cf\u5c11\u4ee3\u7801\u590d\u6742\u6027\u5e76\u63d0\u9ad8\u6548\u7387\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u904d\u5386\u77e9\u9635\u53d6\u503c\u5728Python\u4e2d\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5e38\u89c1\u7684\u65b9\u6cd5\u6709\u4f7f\u7528\u5d4c\u5957\u5faa\u73af\u3001NumPy\u5e93\u548c\u5217\u8868\u751f\u6210\u5f0f\u3002\u5176\u4e2d\uff0c\u4f7f [&hellip;]","protected":false},"author":3,"featured_media":1012614,"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\/1012604"}],"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=1012604"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1012604\/revisions"}],"predecessor-version":[{"id":1012616,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1012604\/revisions\/1012616"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1012614"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1012604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1012604"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1012604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}