{"id":1167285,"date":"2025-01-15T15:42:35","date_gmt":"2025-01-15T07:42:35","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1167285.html"},"modified":"2025-01-15T15:42:38","modified_gmt":"2025-01-15T07:42:38","slug":"python%e5%a6%82%e4%bd%95%e5%8f%aa%e7%94%bb%e4%b8%ad%e5%9b%bd%e6%95%b0%e6%8d%ae","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1167285.html","title":{"rendered":"python\u5982\u4f55\u53ea\u753b\u4e2d\u56fd\u6570\u636e"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25211233\/f388ff0a-3d0b-42de-889e-22e245d0c702.webp\" alt=\"python\u5982\u4f55\u53ea\u753b\u4e2d\u56fd\u6570\u636e\" \/><\/p>\n<p><p> \u8981\u5728Python\u4e2d\u53ea\u7ed8\u5236\u4e2d\u56fd\u7684\u6570\u636e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u591a\u4e2a\u6570\u636e\u5904\u7406\u548c\u53ef\u89c6\u5316\u5e93\uff0c\u5982pandas\u3001matplotlib\u548cgeopandas\u3002<strong>\u9996\u5148\u9700\u8981\u83b7\u53d6\u4e2d\u56fd\u7684\u5730\u7406\u8fb9\u754c\u6570\u636e\u3001\u9009\u62e9\u5408\u9002\u7684\u6570\u636e\u6e90\u3001\u4f7f\u7528pandas\u5904\u7406\u6570\u636e\uff0c\u5e76\u4f7f\u7528matplotlib\u6216geopandas\u8fdb\u884c\u7ed8\u56fe\u3002<\/strong> \u4e0b\u9762\u5c06\u8be6\u7ec6\u63cf\u8ff0\u5982\u4f55\u5b9e\u73b0\u8fd9\u4e00\u8fc7\u7a0b\uff0c\u5e76\u7ed9\u51fa\u5177\u4f53\u7684\u4ee3\u7801\u793a\u4f8b\u3002<\/p>\n<\/p>\n<p><h2>\u4e00\u3001\u83b7\u53d6\u4e2d\u56fd\u5730\u7406\u8fb9\u754c\u6570\u636e<\/h2>\n<\/p>\n<p><p>\u4e3a\u4e86\u7ed8\u5236\u4e2d\u56fd\u7684\u5730\u56fe\uff0c\u9996\u5148\u9700\u8981\u83b7\u53d6\u4e2d\u56fd\u7684\u5730\u7406\u8fb9\u754c\u6570\u636e\u3002\u53ef\u4ee5\u4f7f\u7528\u81ea\u7136\u5730\u7406\u6570\u636e\u96c6\u5982Natural Earth\u6216\u5176\u4ed6\u5f00\u6e90\u5730\u7406\u6570\u636e\u96c6\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528geopandas\u76f4\u63a5\u52a0\u8f7dNatural Earth\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import geopandas as gpd<\/p>\n<h2><strong>\u52a0\u8f7d\u4e16\u754c\u5730\u7406\u6570\u636e<\/strong><\/h2>\n<p>world = gpd.read_file(gpd.datasets.get_path(&#39;naturalearth_lowres&#39;))<\/p>\n<h2><strong>\u9009\u62e9\u4e2d\u56fd\u7684\u5730\u7406\u6570\u636e<\/strong><\/h2>\n<p>china = world[world.name == &#39;China&#39;]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u4e8c\u3001\u9009\u62e9\u5408\u9002\u7684\u6570\u636e\u6e90<\/h2>\n<\/p>\n<p><p>\u9009\u62e9\u5408\u9002\u7684\u6570\u636e\u6e90\u662f\u5173\u952e\u7684\u4e00\u6b65\u3002\u5047\u8bbe\u60a8\u9700\u8981\u7ed8\u5236\u4e2d\u56fd\u5404\u7701\u7684\u75ab\u60c5\u6570\u636e\uff0c\u53ef\u4ee5\u4ece\u76f8\u5173\u7f51\u7ad9\u83b7\u53d6\u6570\u636e\uff0c\u4f8b\u5982\u4e2d\u56fd\u56fd\u5bb6\u7edf\u8ba1\u5c40\u6216\u5176\u4ed6\u53ef\u9760\u7684\u6570\u636e\u6e90\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\u4e2a\u75ab\u60c5\u6570\u636e\u96c6\uff0c\u5305\u542b\u5404\u7701\u7684\u540d\u79f0\u548c\u76f8\u5173\u6570\u636e<\/strong><\/h2>\n<p>data = pd.read_csv(&#39;china_covid19_data.csv&#39;)<\/p>\n<h2><strong>\u67e5\u770b\u6570\u636e<\/strong><\/h2>\n<p>print(data.head())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u4e09\u3001\u4f7f\u7528pandas\u5904\u7406\u6570\u636e<\/h2>\n<\/p>\n<p><p>\u9700\u8981\u786e\u4fdd\u6570\u636e\u4e0e\u5730\u7406\u8fb9\u754c\u6570\u636e\u5bf9\u9f50\u3002\u53ef\u4ee5\u901a\u8fc7\u7701\u4efd\u540d\u79f0\u8fdb\u884c\u5408\u5e76\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5408\u5e76\u6570\u636e\u96c6<\/p>\n<p>china_data = china.merge(data, left_on=&#39;name&#39;, right_on=&#39;province_name&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u56db\u3001\u4f7f\u7528matplotlib\u548cgeopandas\u8fdb\u884c\u7ed8\u56fe<\/h2>\n<\/p>\n<p><p>\u73b0\u5728\u53ef\u4ee5\u4f7f\u7528matplotlib\u548cgeopandas\u8fdb\u884c\u7ed8\u56fe\u3002\u53ef\u4ee5\u9009\u62e9\u4e0d\u540c\u7684\u989c\u8272\u8868\u793a\u4e0d\u540c\u7684\u6570\u503c\u533a\u95f4\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<h2><strong>\u521b\u5efa\u7ed8\u56fe<\/strong><\/h2>\n<p>fig, ax = plt.subplots(1, 1, figsize=(10, 15))<\/p>\n<h2><strong>\u7ed8\u5236\u4e2d\u56fd\u5730\u56fe<\/strong><\/h2>\n<p>china_data.plot(column=&#39;covid19_cases&#39;, ax=ax, legend=True,<\/p>\n<p>                legend_kwds={&#39;label&#39;: &quot;COVID-19 Cases by Province&quot;,<\/p>\n<p>                             &#39;orientation&#39;: &quot;horizontal&quot;})<\/p>\n<h2><strong>\u8bbe\u7f6e\u6807\u9898<\/strong><\/h2>\n<p>ax.set_title(&#39;COVID-19 Cases in China by Province&#39;)<\/p>\n<h2><strong>\u663e\u793a\u7ed8\u56fe<\/strong><\/h2>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u8be6\u7ec6\u63cf\u8ff0\uff1a\u83b7\u53d6\u4e2d\u56fd\u5730\u7406\u8fb9\u754c\u6570\u636e<\/h2>\n<\/p>\n<p><h3>1\u3001\u4f7f\u7528geopandas\u52a0\u8f7d\u5730\u7406\u6570\u636e<\/h3>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u4f7f\u7528geopandas\u5e93\u52a0\u8f7d\u4e16\u754c\u5730\u7406\u6570\u636e\u3002geopandas\u662f\u4e00\u4e2a\u5904\u7406\u5730\u7406\u6570\u636e\u7684\u5f3a\u5927\u5e93\uff0c\u80fd\u591f\u8f7b\u677e\u5730\u8bfb\u53d6\u548c\u64cd\u4f5c\u5730\u7406\u6570\u636e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import geopandas as gpd<\/p>\n<h2><strong>\u52a0\u8f7d\u4e16\u754c\u5730\u7406\u6570\u636e<\/strong><\/h2>\n<p>world = gpd.read_file(gpd.datasets.get_path(&#39;naturalearth_lowres&#39;))<\/p>\n<h2><strong>\u67e5\u770b\u6570\u636e\u7ed3\u6784<\/strong><\/h2>\n<p>print(world.head())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2\u3001\u7b5b\u9009\u51fa\u4e2d\u56fd\u7684\u6570\u636e<\/h3>\n<\/p>\n<p><p>\u4ece\u52a0\u8f7d\u7684\u4e16\u754c\u5730\u7406\u6570\u636e\u4e2d\u7b5b\u9009\u51fa\u4e2d\u56fd\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u9009\u62e9\u4e2d\u56fd\u7684\u5730\u7406\u6570\u636e<\/p>\n<p>china = world[world.name == &#39;China&#39;]<\/p>\n<h2><strong>\u67e5\u770b\u4e2d\u56fd\u5730\u7406\u6570\u636e<\/strong><\/h2>\n<p>print(china)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u6b65\u9aa4\uff0c\u6211\u4eec\u5df2\u7ecf\u6210\u529f\u83b7\u53d6\u4e86\u4e2d\u56fd\u7684\u5730\u7406\u8fb9\u754c\u6570\u636e\uff0c\u8fd9\u5c06\u4f5c\u4e3a\u7ed8\u5236\u4e2d\u56fd\u5730\u56fe\u7684\u57fa\u7840\u3002<\/p>\n<\/p>\n<p><h2>\u8be6\u7ec6\u63cf\u8ff0\uff1a\u9009\u62e9\u5408\u9002\u7684\u6570\u636e\u6e90<\/h2>\n<\/p>\n<p><h3>1\u3001\u83b7\u53d6\u75ab\u60c5\u6570\u636e<\/h3>\n<\/p>\n<p><p>\u5047\u8bbe\u6211\u4eec\u9700\u8981\u7ed8\u5236\u4e2d\u56fd\u5404\u7701\u7684\u75ab\u60c5\u6570\u636e\uff0c\u53ef\u4ee5\u4ece\u76f8\u5173\u7f51\u7ad9\u83b7\u53d6\u6570\u636e\u3002\u8fd9\u91cc\u6211\u4eec\u5047\u8bbe\u5df2\u7ecf\u4e0b\u8f7d\u4e86\u4e00\u4e2a\u5305\u542b\u5404\u7701\u75ab\u60c5\u6570\u636e\u7684CSV\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<h2><strong>\u8bfb\u53d6\u75ab\u60c5\u6570\u636e<\/strong><\/h2>\n<p>data = pd.read_csv(&#39;china_covid19_data.csv&#39;)<\/p>\n<h2><strong>\u67e5\u770b\u6570\u636e<\/strong><\/h2>\n<p>print(data.head())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2\u3001\u6570\u636e\u9884\u5904\u7406<\/h3>\n<\/p>\n<p><p>\u5728\u7ed8\u56fe\u4e4b\u524d\uff0c\u9700\u8981\u786e\u4fdd\u6570\u636e\u4e0e\u5730\u7406\u8fb9\u754c\u6570\u636e\u5bf9\u9f50\u3002\u901a\u5e38\u901a\u8fc7\u7701\u4efd\u540d\u79f0\u8fdb\u884c\u5408\u5e76\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u67e5\u770b\u6570\u636e\u5217\u540d<\/p>\n<p>print(data.columns)<\/p>\n<h2><strong>\u5047\u8bbe\u6570\u636e\u5305\u542b &#39;province_name&#39; \u548c &#39;covid19_cases&#39; \u4e24\u5217<\/strong><\/h2>\n<h2><strong>\u68c0\u67e5\u7701\u4efd\u540d\u79f0\u662f\u5426\u4e00\u81f4<\/strong><\/h2>\n<p>print(data[&#39;province_name&#39;].unique())<\/p>\n<p>print(china[&#39;name&#39;].unique())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5982\u679c\u7701\u4efd\u540d\u79f0\u4e0d\u4e00\u81f4\uff0c\u9700\u8981\u8fdb\u884c\u9002\u5f53\u7684\u5904\u7406\uff0c\u4ee5\u786e\u4fdd\u5408\u5e76\u64cd\u4f5c\u7684\u987a\u5229\u8fdb\u884c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u5047\u8bbe\u9700\u8981\u66f4\u6539\u67d0\u4e9b\u7701\u4efd\u540d\u79f0\u4ee5\u5339\u914d\u5730\u7406\u6570\u636e<\/p>\n<p>data[&#39;province_name&#39;] = data[&#39;province_name&#39;].replace({&#39;Some Province Name&#39;: &#39;Correct Name&#39;})<\/p>\n<h2><strong>\u5408\u5e76\u6570\u636e\u96c6<\/strong><\/h2>\n<p>china_data = china.merge(data, left_on=&#39;name&#39;, right_on=&#39;province_name&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>\u8be6\u7ec6\u63cf\u8ff0\uff1a\u4f7f\u7528matplotlib\u548cgeopandas\u8fdb\u884c\u7ed8\u56fe<\/h2>\n<\/p>\n<p><h3>1\u3001\u7ed8\u5236\u4e2d\u56fd\u5730\u56fe<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528matplotlib\u548cgeopandas\u5e93\u8fdb\u884c\u7ed8\u56fe\uff0c\u9009\u62e9\u4e0d\u540c\u7684\u989c\u8272\u8868\u793a\u4e0d\u540c\u7684\u6570\u503c\u533a\u95f4\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<h2><strong>\u521b\u5efa\u7ed8\u56fe<\/strong><\/h2>\n<p>fig, ax = plt.subplots(1, 1, figsize=(10, 15))<\/p>\n<h2><strong>\u7ed8\u5236\u4e2d\u56fd\u5730\u56fe<\/strong><\/h2>\n<p>china_data.plot(column=&#39;covid19_cases&#39;, ax=ax, legend=True,<\/p>\n<p>                legend_kwds={&#39;label&#39;: &quot;COVID-19 Cases by Province&quot;,<\/p>\n<p>                             &#39;orientation&#39;: &quot;horizontal&quot;})<\/p>\n<h2><strong>\u8bbe\u7f6e\u6807\u9898<\/strong><\/h2>\n<p>ax.set_title(&#39;COVID-19 Cases in China by Province&#39;)<\/p>\n<h2><strong>\u663e\u793a\u7ed8\u56fe<\/strong><\/h2>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>2\u3001\u8c03\u6574\u7ed8\u56fe\u7ec6\u8282<\/h3>\n<\/p>\n<p><p>\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8c03\u6574\u7ed8\u56fe\u7ec6\u8282\uff0c\u4f8b\u5982\u989c\u8272\u6620\u5c04\u3001\u56fe\u4f8b\u4f4d\u7f6e\u548c\u6837\u5f0f\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u4f7f\u7528\u4e0d\u540c\u7684\u989c\u8272\u6620\u5c04<\/p>\n<p>china_data.plot(column=&#39;covid19_cases&#39;, ax=ax, cmap=&#39;OrRd&#39;, legend=True,<\/p>\n<p>                legend_kwds={&#39;label&#39;: &quot;COVID-19 Cases by Province&quot;,<\/p>\n<p>                             &#39;orientation&#39;: &quot;horizontal&quot;})<\/p>\n<h2><strong>\u8c03\u6574\u56fe\u4f8b\u4f4d\u7f6e<\/strong><\/h2>\n<p>china_data.plot(column=&#39;covid19_cases&#39;, ax=ax, cmap=&#39;OrRd&#39;, legend=True,<\/p>\n<p>                legend_kwds={&#39;label&#39;: &quot;COVID-19 Cases by Province&quot;,<\/p>\n<p>                             &#39;orientation&#39;: &quot;horizontal&quot;, &#39;bbox_to_anchor&#39;: (0.5, -0.1)})<\/p>\n<h2><strong>\u8bbe\u7f6e\u6807\u9898\u548c\u5750\u6807\u8f74<\/strong><\/h2>\n<p>ax.set_title(&#39;COVID-19 Cases in China by Province&#39;)<\/p>\n<p>ax.set_xlabel(&#39;Longitude&#39;)<\/p>\n<p>ax.set_ylabel(&#39;Latitude&#39;)<\/p>\n<h2><strong>\u663e\u793a\u7ed8\u56fe<\/strong><\/h2>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u6b65\u9aa4\uff0c\u6211\u4eec\u8be6\u7ec6\u63cf\u8ff0\u4e86\u5982\u4f55\u5728Python\u4e2d\u53ea\u7ed8\u5236\u4e2d\u56fd\u7684\u6570\u636e\u3002\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u8c03\u6574\u6570\u636e\u5904\u7406\u548c\u7ed8\u56fe\u7ec6\u8282\uff0c\u4ee5\u83b7\u5f97\u66f4\u7b26\u5408\u9700\u6c42\u7684\u7ed3\u679c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u83b7\u53d6\u4e2d\u56fd\u7684\u6570\u636e\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u6570\u636e\u6e90\u83b7\u53d6\u4e2d\u56fd\u7684\u6570\u636e\uff0c\u4f8b\u5982\u4f7f\u7528API\u63a5\u53e3\u3001\u8bfb\u53d6CSV\u6587\u4ef6\u6216\u4ece\u5728\u7ebf\u6570\u636e\u5e93\u4e2d\u63d0\u53d6\u6570\u636e\u3002\u5e38\u7528\u7684\u5e93\u5305\u62ecPandas\u3001Requests\u548cBeautifulSoup\u7b49\u3002\u901a\u8fc7\u8fd9\u4e9b\u5e93\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u4e0b\u8f7d\u548c\u5904\u7406\u4e2d\u56fd\u7279\u5b9a\u7684\u6570\u636e\u96c6\u3002<\/p>\n<p><strong>\u6709\u54ea\u4e9bPython\u5e93\u53ef\u4ee5\u5e2e\u52a9\u6211\u7ed8\u5236\u4e2d\u56fd\u7684\u5730\u56fe\uff1f<\/strong><br \/>\u5e38\u7528\u7684Python\u5e93\u6709Matplotlib\u3001Geopandas\u548cPlotly\u7b49\u3002Geopandas\u7279\u522b\u9002\u5408\u4e8e\u5730\u7406\u6570\u636e\u7684\u5904\u7406\u4e0e\u53ef\u89c6\u5316\uff0c\u53ef\u4ee5\u76f4\u63a5\u5904\u7406\u5730\u7406\u4fe1\u606f\u7cfb\u7edf\uff08GIS\uff09\u6570\u636e\uff0c\u5e2e\u52a9\u7528\u6237\u7ed8\u5236\u51fa\u66f4\u7cbe\u786e\u7684\u4e2d\u56fd\u5730\u56fe\u3002<\/p>\n<p><strong>\u5982\u4f55\u81ea\u5b9a\u4e49\u4e2d\u56fd\u5730\u56fe\u7684\u6837\u5f0f\u548c\u989c\u8272\uff1f<\/strong><br \/>\u5728\u7ed8\u5236\u4e2d\u56fd\u5730\u56fe\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e\u914d\u8272\u65b9\u6848\u548c\u56fe\u4f8b\u6765\u5b9e\u73b0\u81ea\u5b9a\u4e49\u6837\u5f0f\u3002\u4f7f\u7528Matplotlib\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u53c2\u6570\u8bbe\u7f6e\u989c\u8272\u6620\u5c04\uff08colormap\uff09\uff0c\u800cGeopandas\u63d0\u4f9b\u4e86\u65b9\u4fbf\u7684\u65b9\u5f0f\u6765\u8bbe\u7f6e\u5730\u56fe\u7684\u8fb9\u754c\u3001\u586b\u5145\u989c\u8272\u7b49\u5c5e\u6027\u3002\u901a\u8fc7\u8fd9\u4e9b\u81ea\u5b9a\u4e49\u8bbe\u7f6e\uff0c\u53ef\u4ee5\u4f7f\u5f97\u5730\u56fe\u66f4\u7b26\u5408\u4f60\u7684\u9700\u6c42\u548c\u5ba1\u7f8e\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5728Python\u4e2d\u53ea\u7ed8\u5236\u4e2d\u56fd\u7684\u6570\u636e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u591a\u4e2a\u6570\u636e\u5904\u7406\u548c\u53ef\u89c6\u5316\u5e93\uff0c\u5982pandas\u3001matplotlib\u548cg [&hellip;]","protected":false},"author":3,"featured_media":1167292,"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\/1167285"}],"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=1167285"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1167285\/revisions"}],"predecessor-version":[{"id":1167294,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1167285\/revisions\/1167294"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1167292"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1167285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1167285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1167285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}