{"id":234546,"date":"2024-05-11T23:31:43","date_gmt":"2024-05-11T15:31:43","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/234546.html"},"modified":"2024-05-11T23:31:48","modified_gmt":"2024-05-11T15:31:48","slug":"%e5%8f%aa%e7%94%a8%e4%b8%80%e8%a1%8cpython%e4%bb%a3%e7%a0%81%e6%9c%80%e5%a4%9a%e8%83%bd%e5%b9%b2%e5%a4%9a%e5%b0%91%e4%ba%8b%e6%83%85","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/234546.html","title":{"rendered":"\u53ea\u7528\u4e00\u884cPython\u4ee3\u7801\u6700\u591a\u80fd\u5e72\u591a\u5c11\u4e8b\u60c5"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25160324\/fdd8254f-e4e6-48f7-a449-5a163b48b5c4.webp\" alt=\"\u53ea\u7528\u4e00\u884cPython\u4ee3\u7801\u6700\u591a\u80fd\u5e72\u591a\u5c11\u4e8b\u60c5\" \/><\/p>\n<p><p><strong>\u4f7f\u7528\u4e00\u884cPython\u4ee3\u7801\u80fd\u591f\u5b8c\u6210\u591a\u79cd\u4efb\u52a1\uff0c\u5305\u62ec\u6570\u636e\u5206\u6790\u3001\u53d1\u8d77\u7f51\u7edc\u8bf7\u6c42\u3001\u751f\u6210\u6570\u636e\u53ef\u89c6\u5316\u3001\u6587\u4ef6\u64cd\u4f5c\u3001\u521b\u5efa\u6570\u636e\u7ed3\u6784\u7b49<\/strong>\u3002\u62e5\u6709\u5f97\u5929\u72ec\u539a\u7684\u8868\u8fbe\u529b\u662fPython\u7684\u4e00\u5927\u4eae\u70b9\uff0c\u5c24\u5176\u662f\u5229\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u3001lambda\u51fd\u6570\u548c\u5185\u7f6e\u5e93\u7684\u5f3a\u5927\u529f\u80fd\u65f6\u3002\u5176\u4e2d\uff0c\u5217\u8868\u63a8\u5bfc\u5f0f\u80fd\u591f\u5728\u5355\u884c\u4e2d\u5b9e\u73b0\u590d\u6742\u7684\u5faa\u73af\u548c\u6761\u4ef6\u8bed\u53e5\uff0c\u662f\u5c55\u5f00\u8ba8\u8bba\u7684\u4e00\u4e2a\u4f18\u79c0\u4f8b\u5b50\u3002<\/p>\n<\/p>\n<p><p>\u5217\u8868\u63a8\u5bfc\u5f0f\uff08list comprehensions\uff09\u662fPython\u4e2d\u4e00\u4e2a\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u5b83\u5141\u8bb8\u4f60\u5728\u5355\u884c\u4ee3\u7801\u4e2d\u751f\u6210\u5217\u8868\uff0c\u4e14\u5b9e\u73b0\u8fc7\u7a0b\u53ef\u4ee5\u5305\u542b\u591a\u91cd\u5faa\u73af\u548c\u6761\u4ef6\u5224\u65ad\u3002\u8fd9\u4f7f\u5f97\u53ea\u7528\u4e00\u884c\u4ee3\u7801\u5c31\u80fd\u6784\u5efa\u51fa\u590d\u6742\u7684\u6570\u636e\u7ed3\u6784\u3002\u4f8b\u5982\uff0c\u4f60\u53ef\u4ee5\u5728\u4e00\u884c\u4e2d\u521b\u5efa\u4e00\u4e2a\u5305\u542b\u82e5\u5e72\u6761\u4ef6\u7b5b\u9009\u540e\u5e73\u65b9\u6570\u7684\u5217\u8868\uff1a<code>squared_nums = [x  2 for x in range(10) if x % 2 == 0]<\/code>\uff0c\u8fd9\u79cd\u8868\u8fbe\u529b\u662fPython\u7f16\u7a0b\u4e2d\u7684\u4e00\u4e2a\u975e\u5e38\u5b9e\u7528\u7684\u7279\u6027\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u6570\u636e\u5904\u7406\u4e0e\u5206\u6790<\/h3>\n<\/p>\n<p><p>\u5728\u6570\u636e\u5904\u7406\u4e0e\u5206\u6790\u9886\u57df\uff0cPython\u7684\u4e00\u884c\u4ee3\u7801\u53ef\u4ee5\u4f7f\u7528pandas\u5e93\u8fdb\u884c\u590d\u6742\u7684\u6570\u636e\u7b5b\u9009\u3001\u5904\u7406\u548c\u5206\u6790\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u5728\u4e00\u884c\u4ee3\u7801\u4e2d\u8bfb\u53d6CSV\u6587\u4ef6\u3001\u7b5b\u9009\u7279\u5b9a\u6570\u636e\u5e76\u8ba1\u7b97\u5176\u7edf\u8ba1\u503c\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<p>data_summary = pd.read_csv(&#039;data.csv&#039;).query(&#039;age &gt; 30&#039;).groupby(&#039;occupation&#039;)[&#039;salary&#039;].mean()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528pandas\u7684<strong>\u94fe\u5f0f\u8c03\u7528<\/strong>\u5feb\u901f\u5b8c\u6210\u4e86\u6570\u636e\u7684\u8bfb\u53d6\u3001\u8fc7\u6ee4\u6761\u4ef6\u7684\u8bbe\u7f6e\u3001\u5206\u7ec4\uff0c\u5e76\u6700\u540e\u8ba1\u7b97\u4e86\u6bcf\u4e2a\u804c\u4e1a\u4e2d\u5e74\u9f84\u5927\u4e8e30\u7684\u4eba\u7684\u5e73\u5747\u85aa\u8d44\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u7f51\u7edc\u8bf7\u6c42<\/h3>\n<\/p>\n<p><p>\u5728\u7f51\u7edc\u7f16\u7a0b\u65b9\u9762\uff0cPython\u7684\u4e00\u884c\u4ee3\u7801\u53ef\u4ee5\u4f7f\u7528requests\u5e93\u53d1\u8d77\u7f51\u7edc\u8bf7\u6c42\u5e76\u5904\u7406\u8fd4\u56de\u7684\u6570\u636e\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import requests<\/p>\n<p>response = requests.get(&#039;https:\/\/api.example.com\/data&#039;).json()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u884c\u4ee3\u7801\u5b8c\u6210\u4e86\u5411&#039;<a href=\"https:\/\/api.example.com\/data'%E5%8F%91%E9%80%81GET%E8%AF%B7%E6%B1%82%EF%BC%8C%E5%B9%B6%E5%B0%86%E8%BF%94%E5%9B%9E%E7%9A%84JSON%E6%A0%BC%E5%BC%8F%E7%9A%84%E5%93%8D%E5%BA%94%E6%95%B0%E6%8D%AE%E8%A7%A3%E6%9E%90%E4%B8%BAPython%E5%AD%97%E5%85%B8%E3%80%82%E8%BF%99%E7%A7%8D%E6%96%B9%E5%BC%8F%E5%8F%AF%E4%BB%A5%E5%BF%AB%E9%80%9F%E5%9C%B0%E4%BB%8EWeb%E6%9C%8D%E5%8A%A1%E8%8E%B7%E5%8F%96%E5%B9%B6%E4%BD%BF%E7%94%A8%E6%95%B0%E6%8D%AE%E3%80%82\">https:\/\/api.example.com\/data&#039;\u53d1\u9001GET\u8bf7\u6c42\uff0c\u5e76\u5c06\u8fd4\u56de\u7684JSON\u683c\u5f0f\u7684\u54cd\u5e94\u6570\u636e\u89e3\u6790\u4e3aPython\u5b57\u5178\u3002\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u5feb\u901f\u5730\u4eceWeb\u670d\u52a1\u83b7\u53d6\u5e76\u4f7f\u7528\u6570\u636e\u3002<\/a><\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u6570\u636e\u53ef\u89c6\u5316<\/h3>\n<\/p>\n<p><p>\u53ea\u7528\u4e00\u884c\u4ee3\u7801\u4e5f\u53ef\u4ee5\u751f\u6210\u6570\u636e\u7684\u53ef\u89c6\u5316\u8868\u793a\u3002\u501f\u52a9\u4f8b\u5982matplotlib\u8fd9\u6837\u7684\u5e93\uff0c\u53ef\u4ee5\u5728\u4e00\u884c\u4e2d\u7ed8\u5236\u6570\u636e\u56fe\u8868\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>plt.plot([1, 2, 3], [4, 5, 6])  # \u5047\u8bbeX\u8f74\u4e3a[1, 2, 3]\uff0cY\u8f74\u4e3a[4, 5, 6]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u53ea\u7528\u4e00\u884c\u4ee3\u7801\u5c31\u521b\u5efa\u4e86\u4e00\u4e2a\u7b80\u5355\u7684\u6298\u7ebf\u56fe\u3002\u5f53\u7136\uff0c\u5982\u679c\u9700\u8981\u66f4\u590d\u6742\u7684\u56fe\u8868\uff0c\u53ef\u80fd\u9700\u8981\u66f4\u591a\u7684\u8bbe\u7f6e\uff0c\u4f46\u57fa\u672c\u7684\u7ed8\u56fe\u884c\u4e3a\u53ef\u4ee5\u975e\u5e38\u7b80\u6d01\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u6587\u4ef6\u64cd\u4f5c<\/h3>\n<\/p>\n<p><p>\u6587\u4ef6\u64cd\u4f5c\u4e5f\u662fPython\u4e00\u884c\u4ee3\u7801\u80fd\u591f\u5b9e\u73b0\u7684\u8303\u7574\u3002\u4f8b\u5982\uff0c\u4e0b\u9762\u7684\u4ee3\u7801\u5c31\u80fd\u591f\u5728\u4e00\u884c\u4e2d\u8bfb\u53d6\u4e00\u4e2a\u6587\u4ef6\u7684\u5185\u5bb9\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">file_content = open(&#039;example.txt&#039;).readlines()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u884c\u4ee3\u7801\u6253\u5f00\u4e86\u4e00\u4e2a\u540d\u4e3a&#039;example.txt&#039;\u7684\u6587\u4ef6\uff0c\u5e76\u8bfb\u53d6\u4e86\u5b83\u7684\u6240\u6709\u884c\u3002\u8fd9\u662f\u6587\u4ef6\u5904\u7406\u4e2d\u7684\u4e00\u4e2a\u57fa\u7840\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u521b\u5efa\u6570\u636e\u7ed3\u6784<\/h3>\n<\/p>\n<p><p>Python\u7684\u4e00\u884c\u4ee3\u7801\u540c\u6837\u53ef\u4ee5\u521b\u5efa\u590d\u6742\u7684\u6570\u636e\u7ed3\u6784\u3002\u4f8b\u5982\uff0c\u4e0b\u9762\u7684\u4ee3\u7801\u5c31\u5b9a\u4e49\u4e86\u4e00\u4e2a\u5b57\u5178\u5e76\u521d\u59cb\u5316\u5176\u5185\u5bb9\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">dict_comprehension = {k: v for k, v in enumerate(&#039;Hello World&#039;)}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e0a\u9762\u7684\u5b57\u5178\u63a8\u5bfc\u5f0f\uff08dictionary comprehension\uff09\u5728\u4e00\u884c\u4e2d\u521b\u5efa\u4e86\u4e00\u4e2a\u5c06\u7d22\u5f15\u6620\u5c04\u5230\u5bf9\u5e94\u5b57\u7b26\u7684\u5b57\u5178\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u8fd9\u4e9b\u4f8b\u5b50\uff0c\u6211\u4eec\u53ef\u4ee5\u770b\u5230Python\u7684\u4e00\u884c\u4ee3\u7801\u786e\u5b9e\u53ef\u4ee5\u5b8c\u6210\u8bb8\u591a\u4efb\u52a1\uff0c\u5b83\u7684\u8868\u8fbe\u529b\u548c\u7075\u6d3b\u6027\u8ba9\u7a0b\u5e8f\u5458\u53ef\u4ee5\u7528\u6781\u7b80\u7684\u4ee3\u7801\u89e3\u51b3\u590d\u6742\u7684\u95ee\u9898\u3002\u7136\u800c\uff0c\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u7ef4\u62a4\u6027\u4e5f\u662f\u975e\u5e38\u91cd\u8981\u7684\uff0c\u6709\u65f6\u5019\u4e3a\u4e86\u8fd9\u4e9b\u65b9\u9762\u7684\u8003\u8651\uff0c\u9002\u5f53\u5730\u62c6\u5206\u4ee3\u7801\u884c\u662f\u5fc5\u8981\u7684\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u7528\u4e00\u884cPython\u4ee3\u7801\u53ef\u4ee5\u505a\u4ec0\u4e48\uff1f<\/strong><\/p>\n<p>\u4e00\u884cPython\u4ee3\u7801\u53ef\u4ee5\u5b9e\u73b0\u5f88\u591a\u4e0d\u540c\u7684\u529f\u80fd\uff0c\u4f8b\u5982\uff1a<\/p>\n<ul>\n<li>\u8fdb\u884c\u7b80\u5355\u7684\u6570\u5b66\u8ba1\u7b97\uff0c\u5982\u8ba1\u7b97\u4e24\u4e2a\u6570\u5b57\u7684\u548c\u3001\u5dee\u6216\u4e58\u79ef\u3002<\/li>\n<li>\u5904\u7406\u5b57\u7b26\u4e32\uff0c\u4f8b\u5982\u622a\u53d6\u3001\u62fc\u63a5\u6216\u66ff\u6362\u5b57\u7b26\u4e32\u3002<\/li>\n<li>\u8fdb\u884c\u5217\u8868\u64cd\u4f5c\uff0c\u5982\u8fed\u4ee3\u3001\u8fc7\u6ee4\u6216\u6392\u5e8f\u3002<\/li>\n<li>\u64cd\u4f5c\u6587\u4ef6\uff0c\u6bd4\u5982\u8bfb\u53d6\u3001\u5199\u5165\u6216\u4fee\u6539\u6587\u4ef6\u5185\u5bb9\u3002<\/li>\n<li>\u8fdb\u884c\u7b80\u5355\u7684\u6570\u636e\u5206\u6790\uff0c\u5982\u8ba1\u7b97\u5e73\u5747\u503c\u3001\u6700\u5927\u503c\u6216\u6700\u5c0f\u503c\u3002<\/li>\n<li>\u521b\u5efa\u7b80\u5355\u7684\u56fe\u8868\u6216\u56fe\u5f62\u3002<\/li>\n<\/ul>\n<p>\u8bf7\u6ce8\u610f\uff0c\u4f7f\u7528\u4e00\u884c\u4ee3\u7801\u5b9e\u73b0\u590d\u6742\u7684\u4efb\u52a1\u53ef\u80fd\u4f1a\u964d\u4f4e\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\uff0c\u4e0d\u5229\u4e8e\u4ee3\u7801\u7ef4\u62a4\u548c\u7406\u89e3\u3002<\/p>\n<p><strong>2. \u6709\u54ea\u4e9b\u6709\u8da3\u7684\u4e8b\u60c5\u53ef\u4ee5\u7528\u4e00\u884cPython\u4ee3\u7801\u5b9e\u73b0\uff1f<\/strong><\/p>\n<p>\u4f7f\u7528\u4e00\u884cPython\u4ee3\u7801\u53ef\u4ee5\u5b9e\u73b0\u4e00\u4e9b\u6709\u8da3\u7684\u529f\u80fd\uff0c\u4f8b\u5982\uff1a<\/p>\n<ul>\n<li>\u7ed8\u5236\u5f69\u8272 ASCII \u827a\u672f\u56fe\u5f62\u3002<\/li>\n<li>\u5728\u7ec8\u7aef\u4e2d\u64ad\u653e\u97f3\u4e50\u6216\u58f0\u97f3\u6587\u4ef6\u3002<\/li>\n<li>\u5b9e\u73b0\u7ecf\u5178\u7684\u6e38\u620f\uff0c\u5982\u731c\u6570\u5b57\u6216\u731c\u5355\u8bcd\u3002<\/li>\n<li>\u83b7\u53d6\u5f53\u524d\u5929\u6c14\u4fe1\u606f\u6216\u80a1\u7968\u884c\u60c5\u3002<\/li>\n<li>\u64ad\u653e\u968f\u673a\u6296\u97f3\u89c6\u9891\u6216\u722c\u53d6\u76f8\u5173\u6570\u636e\u3002<\/li>\n<li>\u751f\u6210\u968f\u673a\u5bc6\u7801\u6216\u9a8c\u8bc1\u7801\u3002<\/li>\n<li>\u4ece\u7f51\u9875\u4e2d\u63d0\u53d6\u6709\u7528\u7684\u4fe1\u606f\u3002<\/li>\n<\/ul>\n<p>\u8fd9\u4e9b\u6709\u8da3\u7684\u529f\u80fd\u53ea\u662f\u51b0\u5c71\u4e00\u89d2\uff0c\u4f7f\u7528\u4e00\u884cPython\u4ee3\u7801\u53ef\u4ee5\u5b9e\u73b0\u7684\u4e8b\u60c5\u51e0\u4e4e\u6ca1\u6709\u9650\u5236\u3002<\/p>\n<p><strong>3. \u7528\u4e00\u884cPython\u4ee3\u7801\u505a\u4e0d\u5230\u7684\u4e8b\u60c5\u6709\u54ea\u4e9b\uff1f<\/strong><\/p>\n<p>\u5c3d\u7ba1\u4f7f\u7528\u4e00\u884cPython\u4ee3\u7801\u53ef\u4ee5\u5b9e\u73b0\u5f88\u591a\u529f\u80fd\uff0c\u4f46\u5e76\u4e0d\u662f\u6240\u6709\u7684\u4efb\u52a1\u90fd\u9002\u5408\u7528\u4e00\u884c\u4ee3\u7801\u5b8c\u6210\u3002\u4e0b\u9762\u662f\u4e00\u4e9b\u4e0d\u9002\u5408\u7528\u4e00\u884c\u4ee3\u7801\u5904\u7406\u7684\u4efb\u52a1\uff1a<\/p>\n<ul>\n<li>\u590d\u6742\u7684\u6570\u5b66\u8ba1\u7b97\uff0c\u9700\u8981\u591a\u4e2a\u6b65\u9aa4\u548c\u53d8\u91cf\u624d\u80fd\u5b8c\u6210\u3002<\/li>\n<li>\u5927\u89c4\u6a21\u6570\u636e\u5904\u7406\u6216\u5206\u6790\uff0c\u9700\u8981\u66f4\u590d\u6742\u7684\u903b\u8f91\u548c\u6570\u636e\u7ed3\u6784\u652f\u6301\u3002<\/li>\n<li>\u56fe\u50cf\u6216\u89c6\u9891\u5904\u7406\uff0c\u9700\u8981\u4f7f\u7528\u4e13\u7528\u7684\u5e93\u548c\u7b97\u6cd5\u3002<\/li>\n<li>\u7528\u6237\u4ea4\u4e92\u6216\u56fe\u5f62\u754c\u9762\uff0c\u9700\u8981\u4f7f\u7528\u56fe\u5f62\u5e93\u6216\u6846\u67b6\u652f\u6301\u3002<\/li>\n<\/ul>\n<p>\u5bf9\u4e8e\u8fd9\u4e9b\u590d\u6742\u7684\u4efb\u52a1\uff0c\u4f7f\u7528\u4e00\u884c\u4ee3\u7801\u53ef\u80fd\u4f1a\u5bfc\u81f4\u4ee3\u7801\u590d\u6742\u3001\u96be\u4ee5\u7406\u89e3\u548c\u7ef4\u62a4\u3002\u5728\u9009\u62e9\u5b9e\u73b0\u65b9\u5f0f\u65f6\uff0c\u8981\u6839\u636e\u5177\u4f53\u60c5\u51b5\u6743\u8861\u4f7f\u7528\u4e00\u884c\u4ee3\u7801\u7684\u4fbf\u5229\u6027\u548c\u53ef\u8bfb\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4f7f\u7528\u4e00\u884cPython\u4ee3\u7801\u80fd\u591f\u5b8c\u6210\u591a\u79cd\u4efb\u52a1\uff0c\u5305\u62ec\u6570\u636e\u5206\u6790\u3001\u53d1\u8d77\u7f51\u7edc\u8bf7\u6c42\u3001\u751f\u6210\u6570\u636e\u53ef\u89c6\u5316\u3001\u6587\u4ef6\u64cd\u4f5c\u3001\u521b\u5efa\u6570\u636e\u7ed3\u6784\u7b49 [&hellip;]","protected":false},"author":3,"featured_media":234553,"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\/234546"}],"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=234546"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/234546\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/234553"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=234546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=234546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=234546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}