{"id":1103009,"date":"2025-01-08T16:05:58","date_gmt":"2025-01-08T08:05:58","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1103009.html"},"modified":"2025-01-08T16:06:05","modified_gmt":"2025-01-08T08:06:05","slug":"python%e5%a6%82%e4%bd%95%e8%be%93%e5%87%ba%e7%ac%ac%e4%b8%80%e5%88%97%e7%9a%84%e5%80%bc","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1103009.html","title":{"rendered":"python\u5982\u4f55\u8f93\u51fa\u7b2c\u4e00\u5217\u7684\u503c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25065036\/c93c6bbe-1fe6-487d-a497-e315f3c19ea8.webp\" alt=\"python\u5982\u4f55\u8f93\u51fa\u7b2c\u4e00\u5217\u7684\u503c\" \/><\/p>\n<p><p> <strong>\u4f7f\u7528Python\u8f93\u51fa\u7b2c\u4e00\u5217\u7684\u503c\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5982\u4f7f\u7528csv\u6a21\u5757\u3001pandas\u5e93\u6216\u624b\u52a8\u89e3\u6790\u6587\u672c\u6587\u4ef6\u3002<\/strong> \u8fd9\u4e9b\u65b9\u6cd5\u5404\u6709\u4f18\u52a3\uff0c\u9002\u7528\u4e8e\u4e0d\u540c\u7684\u573a\u666f\u3002\u4e0b\u9762\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e09\u79cd\u65b9\u6cd5\uff0c\u5e76\u7ed9\u51fa\u5177\u4f53\u7684\u4ee3\u7801\u793a\u4f8b\u3002<\/p>\n<\/p>\n<p><p><strong>\u65b9\u6cd5\u4e00\uff1a\u4f7f\u7528csv\u6a21\u5757<\/strong><\/p>\n<p>Python\u5185\u7f6e\u7684csv\u6a21\u5757\u975e\u5e38\u9002\u5408\u5904\u7406CSV\u6587\u4ef6\u3002\u5b83\u63d0\u4f9b\u4e86\u7b80\u5355\u4e14\u9ad8\u6548\u7684\u65b9\u5f0f\u6765\u8bfb\u53d6\u3001\u5199\u5165\u548c\u64cd\u4f5cCSV\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><p><strong>\u65b9\u6cd5\u4e8c\uff1a\u4f7f\u7528pandas\u5e93<\/strong><\/p>\n<p>pandas\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u6570\u636e\u5206\u6790\u548c\u64cd\u4f5c\u5e93\uff0c\u7279\u522b\u9002\u5408\u5904\u7406\u5927\u578b\u6570\u636e\u96c6\u548c\u590d\u6742\u7684\u64cd\u4f5c\u3002pandas\u7684DataFrame\u7ed3\u6784\u975e\u5e38\u9002\u5408\u5904\u7406\u8868\u683c\u6570\u636e\u3002<\/p>\n<\/p>\n<p><p><strong>\u65b9\u6cd5\u4e09\uff1a\u624b\u52a8\u89e3\u6790\u6587\u672c\u6587\u4ef6<\/strong><\/p>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u7b80\u5355\u7684\u6587\u672c\u6587\u4ef6\u6216\u81ea\u5b9a\u4e49\u683c\u5f0f\u7684\u6570\u636e\u6587\u4ef6\u3002\u901a\u8fc7\u624b\u52a8\u89e3\u6790\uff0c\u53ef\u4ee5\u66f4\u7075\u6d3b\u5730\u5904\u7406\u5404\u79cd\u683c\u5f0f\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<p><p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e09\u79cd\u65b9\u6cd5\u7684\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528csv\u6a21\u5757<\/h3>\n<\/p>\n<p><p>csv\u6a21\u5757\u662fPython\u6807\u51c6\u5e93\u7684\u4e00\u90e8\u5206\uff0c\u53ef\u4ee5\u8f7b\u677e\u5904\u7406CSV\u6587\u4ef6\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import csv<\/p>\n<h2><strong>\u6253\u5f00CSV\u6587\u4ef6<\/strong><\/h2>\n<p>with open(&#39;data.csv&#39;, newline=&#39;&#39;) as csvfile:<\/p>\n<p>    csvreader = csv.reader(csvfile)<\/p>\n<p>    # \u8df3\u8fc7\u6807\u9898\u884c\uff08\u5982\u679c\u6709\uff09<\/p>\n<p>    next(csvreader)<\/p>\n<p>    # \u904d\u5386\u6bcf\u4e00\u884c\uff0c\u8f93\u51fa\u7b2c\u4e00\u5217\u7684\u503c<\/p>\n<p>    for row in csvreader:<\/p>\n<p>        print(row[0])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u4f7f\u7528<code>open()<\/code>\u51fd\u6570\u6253\u5f00\u4e00\u4e2a\u540d\u4e3a<code>data.csv<\/code>\u7684CSV\u6587\u4ef6\uff0c\u7136\u540e\u4f7f\u7528<code>csv.reader<\/code>\u521b\u5efa\u4e00\u4e2aCSV\u8bfb\u53d6\u5668\u5bf9\u8c61\u3002\u901a\u8fc7<code>next(csvreader)<\/code>\u8df3\u8fc7\u6807\u9898\u884c\uff0c\u7136\u540e\u904d\u5386\u6bcf\u4e00\u884c\u5e76\u8f93\u51fa\u7b2c\u4e00\u5217\u7684\u503c\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528pandas\u5e93<\/h3>\n<\/p>\n<p><p>pandas\u5e93\u975e\u5e38\u9002\u5408\u5904\u7406\u5927\u578b\u6570\u636e\u96c6\u548c\u590d\u6742\u7684\u64cd\u4f5c\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<h2><strong>\u8bfb\u53d6CSV\u6587\u4ef6<\/strong><\/h2>\n<p>df = pd.read_csv(&#39;data.csv&#39;)<\/p>\n<h2><strong>\u8f93\u51fa\u7b2c\u4e00\u5217\u7684\u503c<\/strong><\/h2>\n<p>print(df.iloc[:, 0].tolist())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>pd.read_csv()<\/code>\u51fd\u6570\u8bfb\u53d6CSV\u6587\u4ef6\uff0c\u5e76\u5c06\u5176\u5b58\u50a8\u5728\u4e00\u4e2aDataFrame\u5bf9\u8c61\u4e2d\u3002\u7136\u540e\u4f7f\u7528<code>iloc[:, 0]<\/code>\u9009\u62e9\u7b2c\u4e00\u5217\uff0c\u5e76\u5c06\u5176\u8f6c\u6362\u4e3a\u5217\u8868\u683c\u5f0f\u8f93\u51fa\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u624b\u52a8\u89e3\u6790\u6587\u672c\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>\u5982\u679c\u4f60\u7684\u6570\u636e\u6587\u4ef6\u4e0d\u662f\u6807\u51c6\u7684CSV\u683c\u5f0f\uff0c\u6216\u8005\u4f60\u9700\u8981\u81ea\u5b9a\u4e49\u7684\u89e3\u6790\u903b\u8f91\uff0c\u53ef\u4ee5\u624b\u52a8\u89e3\u6790\u6587\u672c\u6587\u4ef6\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u6253\u5f00\u6587\u672c\u6587\u4ef6<\/p>\n<p>with open(&#39;data.txt&#39;, &#39;r&#39;) as file:<\/p>\n<p>    # \u8bfb\u53d6\u6240\u6709\u884c<\/p>\n<p>    lines = file.readlines()<\/p>\n<p>    # \u904d\u5386\u6bcf\u4e00\u884c\uff0c\u8f93\u51fa\u7b2c\u4e00\u5217\u7684\u503c<\/p>\n<p>    for line in lines:<\/p>\n<p>        # \u6839\u636e\u5206\u9694\u7b26\uff08\u4f8b\u5982\u9017\u53f7\uff09\u62c6\u5206\u884c<\/p>\n<p>        columns = line.split(&#39;,&#39;)<\/p>\n<p>        print(columns[0])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528<code>open()<\/code>\u51fd\u6570\u6253\u5f00\u4e00\u4e2a\u540d\u4e3a<code>data.txt<\/code>\u7684\u6587\u672c\u6587\u4ef6\uff0c\u5e76\u4f7f\u7528<code>readlines()<\/code>\u8bfb\u53d6\u6240\u6709\u884c\u3002\u7136\u540e\u904d\u5386\u6bcf\u4e00\u884c\uff0c\u5e76\u4f7f\u7528<code>split(&#39;,&#39;)<\/code>\u65b9\u6cd5\u6839\u636e\u9017\u53f7\u5206\u9694\u5217\uff0c\u6700\u540e\u8f93\u51fa\u7b2c\u4e00\u5217\u7684\u503c\u3002<\/p>\n<\/p>\n<p><h3>\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u4ee5\u4e0a\u4ecb\u7ecd\u4e86\u4f7f\u7528csv\u6a21\u5757\u3001pandas\u5e93\u548c\u624b\u52a8\u89e3\u6790\u6587\u672c\u6587\u4ef6\u4e09\u79cd\u65b9\u6cd5\u6765\u8f93\u51fa\u7b2c\u4e00\u5217\u7684\u503c\u3002<strong>csv\u6a21\u5757\u9002\u5408\u5904\u7406\u6807\u51c6\u7684CSV\u6587\u4ef6\uff0cpandas\u5e93\u9002\u5408\u5904\u7406\u5927\u578b\u6570\u636e\u96c6\u548c\u590d\u6742\u64cd\u4f5c\uff0c\u800c\u624b\u52a8\u89e3\u6790\u6587\u672c\u6587\u4ef6\u9002\u7528\u4e8e\u81ea\u5b9a\u4e49\u683c\u5f0f\u7684\u6570\u636e\u6587\u4ef6<\/strong>\u3002\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\u548c\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<p><h3>\u9644\u52a0\u5185\u5bb9\uff1a\u5904\u7406\u5927\u6587\u4ef6\u548c\u5f02\u5e38\u60c5\u51b5<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6570\u636e\u6587\u4ef6\u53ef\u80fd\u975e\u5e38\u5927\uff0c\u6216\u8005\u5305\u542b\u4e00\u4e9b\u5f02\u5e38\u60c5\u51b5\uff08\u5982\u7a7a\u884c\u3001\u683c\u5f0f\u9519\u8bef\u7b49\uff09\u3002\u5904\u7406\u8fd9\u4e9b\u60c5\u51b5\u9700\u8981\u989d\u5916\u7684\u8003\u8651\u3002<\/p>\n<\/p>\n<p><h4>\u5904\u7406\u5927\u6587\u4ef6<\/h4>\n<\/p>\n<p><p>\u5bf9\u4e8e\u975e\u5e38\u5927\u7684\u6587\u4ef6\uff0c\u9010\u884c\u8bfb\u53d6\u548c\u5904\u7406\u53ef\u4ee5\u907f\u514d\u5185\u5b58\u6ea2\u51fa\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import csv<\/p>\n<h2><strong>\u6253\u5f00CSV\u6587\u4ef6<\/strong><\/h2>\n<p>with open(&#39;large_data.csv&#39;, newline=&#39;&#39;) as csvfile:<\/p>\n<p>    csvreader = csv.reader(csvfile)<\/p>\n<p>    # \u8df3\u8fc7\u6807\u9898\u884c\uff08\u5982\u679c\u6709\uff09<\/p>\n<p>    next(csvreader)<\/p>\n<p>    # \u9010\u884c\u8bfb\u53d6\u5e76\u5904\u7406<\/p>\n<p>    for row in csvreader:<\/p>\n<p>        print(row[0])<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u9010\u884c\u8bfb\u53d6\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u5904\u7406\u5927\u6587\u4ef6\u800c\u4e0d\u5360\u7528\u8fc7\u591a\u5185\u5b58\u3002<\/p>\n<\/p>\n<p><h4>\u5904\u7406\u5f02\u5e38\u60c5\u51b5<\/h4>\n<\/p>\n<p><p>\u5728\u5904\u7406\u6570\u636e\u6587\u4ef6\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u5f02\u5e38\u60c5\u51b5\uff0c\u5982\u7a7a\u884c\u3001\u683c\u5f0f\u9519\u8bef\u7b49\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u5f02\u5e38\u5904\u7406\u673a\u5236\u6765\u5e94\u5bf9\u8fd9\u4e9b\u60c5\u51b5\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import csv<\/p>\n<h2><strong>\u6253\u5f00CSV\u6587\u4ef6<\/strong><\/h2>\n<p>with open(&#39;data.csv&#39;, newline=&#39;&#39;) as csvfile:<\/p>\n<p>    csvreader = csv.reader(csvfile)<\/p>\n<p>    # \u8df3\u8fc7\u6807\u9898\u884c\uff08\u5982\u679c\u6709\uff09<\/p>\n<p>    next(csvreader)<\/p>\n<p>    # \u9010\u884c\u8bfb\u53d6\u5e76\u5904\u7406<\/p>\n<p>    for row in csvreader:<\/p>\n<p>        try:<\/p>\n<p>            # \u68c0\u67e5\u884c\u662f\u5426\u4e3a\u7a7a<\/p>\n<p>            if not row:<\/p>\n<p>                continue<\/p>\n<p>            # \u8f93\u51fa\u7b2c\u4e00\u5217\u7684\u503c<\/p>\n<p>            print(row[0])<\/p>\n<p>        except IndexError:<\/p>\n<p>            # \u5904\u7406\u5217\u6570\u4e0d\u8db3\u7684\u884c<\/p>\n<p>            print(&quot;\u884c\u683c\u5f0f\u9519\u8bef\uff0c\u7f3a\u5c11\u5217\uff1a&quot;, row)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u6dfb\u52a0\u5f02\u5e38\u5904\u7406\u673a\u5236\uff0c\u53ef\u4ee5\u907f\u514d\u7a0b\u5e8f\u56e0\u5f02\u5e38\u60c5\u51b5\u800c\u4e2d\u65ad\u8fd0\u884c\uff0c\u5e76\u63d0\u4f9b\u6709\u7528\u7684\u9519\u8bef\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p><p>\u603b\u4e4b\uff0c<strong>\u6839\u636e\u5177\u4f53\u7684\u9700\u6c42\u548c\u6570\u636e\u6587\u4ef6\u7684\u7279\u70b9\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u548c\u5904\u7406\u7b56\u7565\uff0c\u53ef\u4ee5\u6709\u6548\u5730\u8f93\u51fa\u7b2c\u4e00\u5217\u7684\u503c\uff0c\u5e76\u5e94\u5bf9\u53ef\u80fd\u7684\u5f02\u5e38\u60c5\u51b5<\/strong>\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728Python\u4e2d\uff0c\u5982\u4f55\u63d0\u53d6\u5e76\u8f93\u51faCSV\u6587\u4ef6\u7684\u7b2c\u4e00\u5217\u6570\u636e\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528<code>pandas<\/code>\u5e93\u6765\u65b9\u4fbf\u5730\u5904\u7406CSV\u6587\u4ef6\u3002\u9996\u5148\uff0c\u60a8\u9700\u8981\u5b89\u88c5\u8be5\u5e93\u3002\u7136\u540e\uff0c\u4f7f\u7528<code>read_csv<\/code>\u51fd\u6570\u8bfb\u53d6\u6587\u4ef6\uff0c\u5e76\u901a\u8fc7\u5217\u7d22\u5f15\u6216\u5217\u540d\u63d0\u53d6\u7b2c\u4e00\u5217\u7684\u6570\u636e\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a  <\/p>\n<pre><code class=\"language-python\">import pandas as pd\n\n# \u8bfb\u53d6CSV\u6587\u4ef6\ndata = pd.read_csv(&#39;your_file.csv&#39;)\n\n# \u8f93\u51fa\u7b2c\u4e00\u5217\nprint(data.iloc[:, 0])  # \u4f7f\u7528iloc\u6309\u4f4d\u7f6e\u63d0\u53d6\u7b2c\u4e00\u5217\n# \u6216\u8005\nprint(data[&#39;\u5217\u540d&#39;])  # \u4f7f\u7528\u5217\u540d\u63d0\u53d6\u7b2c\u4e00\u5217\n<\/code><\/pre>\n<p><strong>\u5728\u5904\u7406Excel\u6587\u4ef6\u65f6\uff0c\u5982\u4f55\u8bfb\u53d6\u7b2c\u4e00\u5217\u7684\u5185\u5bb9\uff1f<\/strong><br \/>\u4f7f\u7528<code>pandas<\/code>\u5e93\u540c\u6837\u9002\u7528\u4e8eExcel\u6587\u4ef6\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528<code>read_excel<\/code>\u51fd\u6570\u8bfb\u53d6\u6587\u4ef6\uff0c\u5e76\u63d0\u53d6\u7b2c\u4e00\u5217\u6570\u636e\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a  <\/p>\n<pre><code class=\"language-python\">import pandas as pd\n\n# \u8bfb\u53d6Excel\u6587\u4ef6\ndata = pd.read_excel(&#39;your_file.xlsx&#39;)\n\n# \u8f93\u51fa\u7b2c\u4e00\u5217\nprint(data.iloc[:, 0])  # \u4f7f\u7528iloc\u63d0\u53d6\u7b2c\u4e00\u5217\n# \u6216\u8005\nprint(data[&#39;\u5217\u540d&#39;])  # \u4f7f\u7528\u5217\u540d\u63d0\u53d6\u7b2c\u4e00\u5217\n<\/code><\/pre>\n<p><strong>\u4f7f\u7528Python\u6807\u51c6\u5e93\u5982\u4f55\u5b9e\u73b0\u8f93\u51fa\u6587\u672c\u6587\u4ef6\u7684\u7b2c\u4e00\u5217\uff1f<\/strong><br \/>\u5982\u679c\u60a8\u5e0c\u671b\u4f7f\u7528Python\u7684\u6807\u51c6\u5e93\u5904\u7406\u6587\u672c\u6587\u4ef6\uff0c\u53ef\u4ee5\u901a\u8fc7\u9010\u884c\u8bfb\u53d6\u6587\u4ef6\u5e76\u5206\u5272\u6bcf\u884c\u6570\u636e\u6765\u63d0\u53d6\u7b2c\u4e00\u5217\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u5b9e\u73b0\uff1a  <\/p>\n<pre><code class=\"language-python\"># \u6253\u5f00\u6587\u672c\u6587\u4ef6\u5e76\u8bfb\u53d6\u5185\u5bb9\nwith open(&#39;your_file.txt&#39;, &#39;r&#39;) as file:\n    for line in file:\n        columns = line.split()  # \u9ed8\u8ba4\u6309\u7a7a\u683c\u5206\u5272\n        print(columns[0])  # \u8f93\u51fa\u7b2c\u4e00\u5217\n<\/code><\/pre>\n<p>\u786e\u4fdd\u6839\u636e\u6587\u4ef6\u7684\u5b9e\u9645\u5206\u9694\u7b26\u8c03\u6574<code>split()<\/code>\u65b9\u6cd5\u7684\u53c2\u6570\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4f7f\u7528Python\u8f93\u51fa\u7b2c\u4e00\u5217\u7684\u503c\uff0c\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5982\u4f7f\u7528csv\u6a21\u5757\u3001pandas\u5e93\u6216\u624b\u52a8\u89e3\u6790\u6587\u672c\u6587\u4ef6\u3002 \u8fd9 [&hellip;]","protected":false},"author":3,"featured_media":1103026,"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\/1103009"}],"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=1103009"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1103009\/revisions"}],"predecessor-version":[{"id":1103027,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1103009\/revisions\/1103027"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1103026"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1103009"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1103009"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1103009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}