{"id":1027530,"date":"2024-12-31T10:51:41","date_gmt":"2024-12-31T02:51:41","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1027530.html"},"modified":"2024-12-31T10:51:45","modified_gmt":"2024-12-31T02:51:45","slug":"%e5%a6%82%e4%bd%95%e7%94%a8python%e8%af%bb%e5%8f%96csv%e6%96%87%e4%bb%b6%e5%b9%b6%e7%94%bb%e5%9b%be","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1027530.html","title":{"rendered":"\u5982\u4f55\u7528python\u8bfb\u53d6csv\u6587\u4ef6\u5e76\u753b\u56fe"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/23938d19-e0aa-4864-8984-9d01da0a8c54.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"\u5982\u4f55\u7528python\u8bfb\u53d6csv\u6587\u4ef6\u5e76\u753b\u56fe\" \/><\/p>\n<p><p> <strong>\u7528Python\u8bfb\u53d6CSV\u6587\u4ef6\u5e76\u7ed8\u5236\u56fe\u8868\u7684\u65b9\u6cd5\u6709\u5f88\u591a\uff0c\u4e3b\u8981\u6b65\u9aa4\u5305\u62ec\uff1a\u5bfc\u5165\u76f8\u5173\u5e93\u3001\u8bfb\u53d6CSV\u6587\u4ef6\u3001\u5904\u7406\u6570\u636e\u3001\u7ed8\u5236\u56fe\u8868\u3002<\/strong> \u5176\u4e2d\u7684\u5173\u952e\u70b9\u6709\uff1a\u4f7f\u7528pandas\u5e93\u8bfb\u53d6CSV\u6587\u4ef6\u3001\u4f7f\u7528matplotlib\u5e93\u8fdb\u884c\u7ed8\u56fe\u3002\u63a5\u4e0b\u6765\u6211\u4eec\u8be6\u7ec6\u8bb2\u89e3\u5176\u4e2d\u4e00\u4e2a\u70b9\uff1a\u4f7f\u7528pandas\u5e93\u8bfb\u53d6CSV\u6587\u4ef6\u3002Pandas\u662fPython\u4e2d\u975e\u5e38\u5f3a\u5927\u7684\u6570\u636e\u5904\u7406\u5e93\uff0c\u5b83\u53ef\u4ee5\u65b9\u4fbf\u5730\u8bfb\u53d6\u548c\u5904\u7406CSV\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u786e\u4fdd\u5df2\u7ecf\u5b89\u88c5\u4e86pandas\u548cmatplotlib\u5e93\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">pip install pandas matplotlib<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u6211\u4eec\u5f00\u59cb\u7f16\u5199\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<p>import matplotlib.pyplot as plt<\/p>\n<h2><strong>\u8bfb\u53d6CSV\u6587\u4ef6<\/strong><\/h2>\n<p>data = pd.read_csv(&#39;file.csv&#39;)<\/p>\n<h2><strong>\u67e5\u770b\u6570\u636e<\/strong><\/h2>\n<p>print(data.head())<\/p>\n<h2><strong>\u7ed8\u5236\u56fe\u8868<\/strong><\/h2>\n<p>data.plot(kind=&#39;line&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u7b80\u5355\u7684\u4ee3\u7801\u7247\u6bb5\u5c55\u793a\u4e86\u5982\u4f55\u8bfb\u53d6CSV\u6587\u4ef6\u5e76\u7ed8\u5236\u6298\u7ebf\u56fe\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u66f4\u52a0\u8be6\u7ec6\u5730\u63a2\u8ba8\u5982\u4f55\u4f7f\u7528Python\u8bfb\u53d6CSV\u6587\u4ef6\u5e76\u7ed8\u5236\u56fe\u8868\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5bfc\u5165\u76f8\u5173\u5e93<\/h3>\n<\/p>\n<p><p>\u5728\u4f7f\u7528Python\u8bfb\u53d6CSV\u6587\u4ef6\u5e76\u7ed8\u5236\u56fe\u8868\u65f6\uff0c\u6211\u4eec\u9700\u8981\u5bfc\u5165\u51e0\u4e2a\u5e38\u7528\u7684\u5e93\uff0c\u5305\u62ecpandas\u3001matplotlib\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<p>import matplotlib.pyplot as plt<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>Pandas\u7528\u4e8e\u5904\u7406\u6570\u636e\uff0c\u800cmatplotlib\u7528\u4e8e\u7ed8\u5236\u56fe\u8868\u3002\u8fd9\u4e24\u4e2a\u5e93\u662fPython\u6570\u636e\u5206\u6790\u548c\u53ef\u89c6\u5316\u7684\u6807\u51c6\u5de5\u5177\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u8bfb\u53d6CSV\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528pandas\u8bfb\u53d6CSV\u6587\u4ef6\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u8981\u4e00\u884c\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">data = pd.read_csv(&#39;file.csv&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><code>pd.read_csv()<\/code>\u51fd\u6570\u4f1a\u5c06CSV\u6587\u4ef6\u8bfb\u53d6\u4e3a\u4e00\u4e2aDataFrame\u5bf9\u8c61\u3002\u53ef\u4ee5\u4f7f\u7528<code>data.head()<\/code>\u67e5\u770b\u6570\u636e\u7684\u524d\u51e0\u884c\uff0c\u786e\u4fdd\u6570\u636e\u8bfb\u53d6\u6b63\u786e\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u5904\u7406\u6570\u636e<\/h3>\n<\/p>\n<p><p>\u5728\u7ed8\u5236\u56fe\u8868\u4e4b\u524d\uff0c\u901a\u5e38\u9700\u8981\u5bf9\u6570\u636e\u8fdb\u884c\u4e00\u4e9b\u5904\u7406\u3002\u4f8b\u5982\uff0c\u9009\u62e9\u9700\u8981\u7ed8\u5236\u7684\u5217\u3001\u8fdb\u884c\u6570\u636e\u6e05\u6d17\u548c\u8f6c\u6362\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u9009\u62e9\u9700\u8981\u7ed8\u5236\u7684\u5217<\/p>\n<p>selected_data = data[[&#39;column1&#39;, &#39;column2&#39;]]<\/p>\n<h2><strong>\u6570\u636e\u6e05\u6d17\uff08\u4f8b\u5982\u53bb\u9664\u7f3a\u5931\u503c\uff09<\/strong><\/h2>\n<p>cleaned_data = selected_data.dropna()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u6570\u636e\u6e05\u6d17\u662f\u6570\u636e\u5206\u6790\u4e2d\u975e\u5e38\u91cd\u8981\u7684\u4e00\u6b65\uff0c\u53ef\u4ee5\u4fdd\u8bc1\u7ed8\u5236\u7684\u56fe\u8868\u66f4\u52a0\u51c6\u786e\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u7ed8\u5236\u56fe\u8868<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528matplotlib\u7ed8\u5236\u56fe\u8868\u4e5f\u975e\u5e38\u7b80\u5355\u3002\u53ef\u4ee5\u4f7f\u7528<code>plot()<\/code>\u51fd\u6570\u8fdb\u884c\u5404\u79cd\u7c7b\u578b\u7684\u56fe\u8868\u7ed8\u5236\uff0c\u5305\u62ec\u6298\u7ebf\u56fe\u3001\u67f1\u72b6\u56fe\u3001\u6563\u70b9\u56fe\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u7ed8\u5236\u6298\u7ebf\u56fe<\/p>\n<p>cleaned_data.plot(kind=&#39;line&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><code>plot()<\/code>\u51fd\u6570\u7684<code>kind<\/code>\u53c2\u6570\u7528\u4e8e\u6307\u5b9a\u56fe\u8868\u7c7b\u578b\uff0c\u4f8b\u5982<code>&#39;line&#39;<\/code>\u8868\u793a\u6298\u7ebf\u56fe\uff0c<code>&#39;bar&#39;<\/code>\u8868\u793a\u67f1\u72b6\u56fe\uff0c<code>&#39;scatter&#39;<\/code>\u8868\u793a\u6563\u70b9\u56fe\u7b49\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u8be6\u7ec6\u4ee3\u7801\u793a\u4f8b<\/h3>\n<\/p>\n<p><p>\u4e0b\u9762\u662f\u4e00\u4e2a\u8be6\u7ec6\u7684\u4ee3\u7801\u793a\u4f8b\uff0c\u5c55\u793a\u4e86\u5982\u4f55\u8bfb\u53d6CSV\u6587\u4ef6\u5e76\u7ed8\u5236\u591a\u4e2a\u7c7b\u578b\u7684\u56fe\u8868\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<p>import matplotlib.pyplot as plt<\/p>\n<h2><strong>\u8bfb\u53d6CSV\u6587\u4ef6<\/strong><\/h2>\n<p>data = pd.read_csv(&#39;file.csv&#39;)<\/p>\n<h2><strong>\u67e5\u770b\u6570\u636e<\/strong><\/h2>\n<p>print(data.head())<\/p>\n<h2><strong>\u9009\u62e9\u9700\u8981\u7ed8\u5236\u7684\u5217<\/strong><\/h2>\n<p>selected_data = data[[&#39;column1&#39;, &#39;column2&#39;, &#39;column3&#39;]]<\/p>\n<h2><strong>\u6570\u636e\u6e05\u6d17\uff08\u4f8b\u5982\u53bb\u9664\u7f3a\u5931\u503c\uff09<\/strong><\/h2>\n<p>cleaned_data = selected_data.dropna()<\/p>\n<h2><strong>\u7ed8\u5236\u6298\u7ebf\u56fe<\/strong><\/h2>\n<p>cleaned_data.plot(kind=&#39;line&#39;)<\/p>\n<p>plt.title(&#39;Line Plot&#39;)<\/p>\n<p>plt.xlabel(&#39;X-axis Label&#39;)<\/p>\n<p>plt.ylabel(&#39;Y-axis Label&#39;)<\/p>\n<p>plt.show()<\/p>\n<h2><strong>\u7ed8\u5236\u67f1\u72b6\u56fe<\/strong><\/h2>\n<p>cleaned_data.plot(kind=&#39;bar&#39;)<\/p>\n<p>plt.title(&#39;Bar Plot&#39;)<\/p>\n<p>plt.xlabel(&#39;X-axis Label&#39;)<\/p>\n<p>plt.ylabel(&#39;Y-axis Label&#39;)<\/p>\n<p>plt.show()<\/p>\n<h2><strong>\u7ed8\u5236\u6563\u70b9\u56fe<\/strong><\/h2>\n<p>cleaned_data.plot(kind=&#39;scatter&#39;, x=&#39;column1&#39;, y=&#39;column2&#39;)<\/p>\n<p>plt.title(&#39;Scatter Plot&#39;)<\/p>\n<p>plt.xlabel(&#39;Column1&#39;)<\/p>\n<p>plt.ylabel(&#39;Column2&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u793a\u4f8b\u5c55\u793a\u4e86\u5982\u4f55\u8bfb\u53d6CSV\u6587\u4ef6\u5e76\u7ed8\u5236\u6298\u7ebf\u56fe\u3001\u67f1\u72b6\u56fe\u548c\u6563\u70b9\u56fe\u3002\u901a\u8fc7\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u4f7f\u7528Python\u8bfb\u53d6CSV\u6587\u4ef6\u5e76\u8fdb\u884c\u6570\u636e\u53ef\u89c6\u5316\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u5e38\u89c1\u95ee\u9898\u53ca\u89e3\u51b3\u65b9\u6cd5<\/h3>\n<\/p>\n<p><p>\u5728\u4f7f\u7528Python\u8bfb\u53d6CSV\u6587\u4ef6\u5e76\u7ed8\u5236\u56fe\u8868\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u5e38\u89c1\u95ee\u9898\u3002\u4e0b\u9762\u6211\u4eec\u5217\u4e3e\u4e00\u4e9b\u5e38\u89c1\u95ee\u9898\u53ca\u5176\u89e3\u51b3\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h4>1\u3001CSV\u6587\u4ef6\u8def\u5f84\u95ee\u9898<\/h4>\n<\/p>\n<p><p>\u5982\u679cCSV\u6587\u4ef6\u4e0d\u5728\u5f53\u524d\u5de5\u4f5c\u76ee\u5f55\u4e0b\uff0c\u9700\u8981\u6307\u5b9a\u6587\u4ef6\u7684\u5b8c\u6574\u8def\u5f84\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">data = pd.read_csv(&#39;C:\/path\/to\/your\/file.csv&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u6570\u636e\u683c\u5f0f\u95ee\u9898<\/h4>\n<\/p>\n<p><p>\u6709\u65f6CSV\u6587\u4ef6\u4e2d\u7684\u6570\u636e\u683c\u5f0f\u53ef\u80fd\u4e0d\u7b26\u5408\u9884\u671f\uff0c\u9700\u8981\u8fdb\u884c\u6570\u636e\u8f6c\u6362\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">data[&#39;column1&#39;] = pd.to_numeric(data[&#39;column1&#39;], errors=&#39;coerce&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><code>pd.to_numeric()<\/code>\u51fd\u6570\u53ef\u4ee5\u5c06\u6570\u636e\u8f6c\u6362\u4e3a\u6570\u503c\u7c7b\u578b\uff0c\u5e76\u4f7f\u7528<code>errors=&#39;coerce&#39;<\/code>\u53c2\u6570\u5c06\u65e0\u6548\u6570\u636e\u8f6c\u6362\u4e3aNaN\u3002<\/p>\n<\/p>\n<p><h4>3\u3001\u7ed8\u56fe\u53c2\u6570\u95ee\u9898<\/h4>\n<\/p>\n<p><p>\u7ed8\u56fe\u65f6\u53ef\u80fd\u9700\u8981\u8c03\u6574\u4e00\u4e9b\u53c2\u6570\uff0c\u4f8b\u5982\u56fe\u8868\u5927\u5c0f\u3001\u989c\u8272\u7b49\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">cleaned_data.plot(kind=&#39;line&#39;, figsize=(10, 5), color=[&#39;red&#39;, &#39;blue&#39;])<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><code>figsize<\/code>\u53c2\u6570\u7528\u4e8e\u8bbe\u7f6e\u56fe\u8868\u7684\u5927\u5c0f\uff0c<code>color<\/code>\u53c2\u6570\u7528\u4e8e\u8bbe\u7f6e\u7ebf\u6761\u7684\u989c\u8272\u3002<\/p>\n<\/p>\n<p><h3>\u4e03\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u672c\u6587\u7684\u4ecb\u7ecd\uff0c\u6211\u4eec\u8be6\u7ec6\u8bb2\u89e3\u4e86\u5982\u4f55\u4f7f\u7528Python\u8bfb\u53d6CSV\u6587\u4ef6\u5e76\u7ed8\u5236\u56fe\u8868\u3002\u4e3b\u8981\u6b65\u9aa4\u5305\u62ec\u5bfc\u5165\u76f8\u5173\u5e93\u3001\u8bfb\u53d6CSV\u6587\u4ef6\u3001\u5904\u7406\u6570\u636e\u3001\u7ed8\u5236\u56fe\u8868\u3002\u5e0c\u671b\u8fd9\u4e9b\u5185\u5bb9\u80fd\u591f\u5e2e\u52a9\u4f60\u66f4\u597d\u5730\u8fdb\u884c\u6570\u636e\u5206\u6790\u548c\u53ef\u89c6\u5316\u3002\u901a\u8fc7\u4e0d\u65ad\u5b9e\u8df5\u548c\u63a2\u7d22\uff0c\u4f60\u5c06\u80fd\u591f\u66f4\u52a0\u719f\u7ec3\u5730\u4f7f\u7528Python\u8fdb\u884c\u6570\u636e\u5904\u7406\u548c\u53ef\u89c6\u5316\u5de5\u4f5c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u8bfb\u53d6CSV\u6587\u4ef6\uff1f<\/strong><br \/>\u4f7f\u7528Python\u8bfb\u53d6CSV\u6587\u4ef6\u901a\u5e38\u91c7\u7528<code>pandas<\/code>\u5e93\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528<code>pandas.read_csv()<\/code>\u51fd\u6570\u6765\u52a0\u8f7dCSV\u6587\u4ef6\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">import pandas as pd\n\ndata = pd.read_csv(&#39;your_file.csv&#39;)\nprint(data.head())\n<\/code><\/pre>\n<p>\u8fd9\u6bb5\u4ee3\u7801\u5c06\u8bfb\u53d6\u540d\u4e3a<code>your_file.csv<\/code>\u7684\u6587\u4ef6\uff0c\u5e76\u663e\u793a\u524d\u4e94\u884c\u7684\u6570\u636e\u3002\u786e\u4fdd\u5728\u8fd0\u884c\u4ee3\u7801\u4e4b\u524d\u5df2\u5b89\u88c5<code>pandas<\/code>\u5e93\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u7ed8\u5236\u56fe\u5f62\u9700\u8981\u54ea\u4e9b\u5e93\uff1f<\/strong><br \/>\u4e3a\u4e86\u5728Python\u4e2d\u7ed8\u5236\u56fe\u5f62\uff0c\u901a\u5e38\u4f7f\u7528<code>matplotlib<\/code>\u548c<code>seaborn<\/code>\u7b49\u5e93\u3002<code>matplotlib<\/code>\u63d0\u4f9b\u57fa\u672c\u7684\u7ed8\u56fe\u529f\u80fd\uff0c\u800c<code>seaborn<\/code>\u5219\u5728\u6b64\u57fa\u7840\u4e0a\u63d0\u4f9b\u66f4\u7f8e\u89c2\u7684\u56fe\u5f62\u3002\u5b89\u88c5\u8fd9\u4e24\u4e2a\u5e93\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a  <\/p>\n<pre><code class=\"language-bash\">pip install matplotlib seaborn\n<\/code><\/pre>\n<p><strong>\u5982\u4f55\u5c06\u8bfb\u53d6\u7684\u6570\u636e\u53ef\u89c6\u5316\uff1f<\/strong><br \/>\u8bfb\u53d6CSV\u6570\u636e\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528<code>matplotlib<\/code>\u6216<code>seaborn<\/code>\u8fdb\u884c\u53ef\u89c6\u5316\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>matplotlib<\/code>\u7ed8\u5236\u6298\u7ebf\u56fe\u7684\u4ee3\u7801\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">import matplotlib.pyplot as plt\n\nplt.plot(data[&#39;column_x&#39;], data[&#39;column_y&#39;])\nplt.title(&#39;Your Title&#39;)\nplt.xlabel(&#39;X-axis Label&#39;)\nplt.ylabel(&#39;Y-axis Label&#39;)\nplt.show()\n<\/code><\/pre>\n<p>\u786e\u4fdd\u5c06<code>column_x<\/code>\u548c<code>column_y<\/code>\u66ff\u6362\u4e3a\u60a8CSV\u6587\u4ef6\u4e2d\u5b9e\u9645\u5b58\u5728\u7684\u5217\u540d\u3002\u8fd9\u5c06\u751f\u6210\u4e00\u5f20\u57fa\u4e8eCSV\u6570\u636e\u7684\u6298\u7ebf\u56fe\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u7528Python\u8bfb\u53d6CSV\u6587\u4ef6\u5e76\u7ed8\u5236\u56fe\u8868\u7684\u65b9\u6cd5\u6709\u5f88\u591a\uff0c\u4e3b\u8981\u6b65\u9aa4\u5305\u62ec\uff1a\u5bfc\u5165\u76f8\u5173\u5e93\u3001\u8bfb\u53d6CSV\u6587\u4ef6\u3001\u5904\u7406\u6570\u636e\u3001\u7ed8\u5236\u56fe [&hellip;]","protected":false},"author":3,"featured_media":1027544,"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\/1027530"}],"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=1027530"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1027530\/revisions"}],"predecessor-version":[{"id":1027548,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1027530\/revisions\/1027548"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1027544"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1027530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1027530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1027530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}