{"id":1117564,"date":"2025-01-08T18:27:09","date_gmt":"2025-01-08T10:27:09","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1117564.html"},"modified":"2025-01-08T18:27:11","modified_gmt":"2025-01-08T10:27:11","slug":"python3%e5%a6%82%e4%bd%95%e5%af%bc%e5%85%a5dat%e6%95%b0%e6%8d%ae%e6%96%87%e4%bb%b6-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1117564.html","title":{"rendered":"python3\u5982\u4f55\u5bfc\u5165dat\u6570\u636e\u6587\u4ef6"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25081421\/5d49c07a-affd-4482-a73c-0e88bb858b57.webp\" alt=\"python3\u5982\u4f55\u5bfc\u5165dat\u6570\u636e\u6587\u4ef6\" \/><\/p>\n<p><p> <strong>Python 3 \u5bfc\u5165 DAT \u6570\u636e\u6587\u4ef6\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u4e3b\u8981\u5305\u62ec\u4f7f\u7528Pandas\u3001Numpy\u3001\u5185\u7f6e\u51fd\u6570\u548c\u81ea\u5b9a\u4e49\u89e3\u6790\u5668\u7b49\u3002<\/strong> \u5176\u4e2d\uff0c<strong>Pandas<\/strong> \u662f\u4e00\u79cd\u9ad8\u6548\u4e14\u5e38\u7528\u7684\u65b9\u5f0f\uff0c\u56e0\u4e3a\u5b83\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u6570\u636e\u5904\u7406\u529f\u80fd\u548c\u53cb\u597d\u7684\u63a5\u53e3\u3002\u4e0b\u9762\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528 Pandas \u5bfc\u5165 DAT \u6570\u636e\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528 Pandas \u5bfc\u5165 DAT \u6587\u4ef6<\/h3>\n<\/p>\n<p><p>Pandas \u662f Python \u4e2d\u975e\u5e38\u6d41\u884c\u7684\u6570\u636e\u5206\u6790\u5e93\uff0c\u5b83\u53ef\u4ee5\u8f7b\u677e\u5730\u5904\u7406\u5404\u79cd\u683c\u5f0f\u7684\u6570\u636e\u6587\u4ef6\uff0c\u5305\u62ec DAT \u6587\u4ef6\u3002Pandas \u63d0\u4f9b\u4e86 <code>read_csv<\/code> \u51fd\u6570\uff0c\u53ef\u4ee5\u8bfb\u53d6\u5927\u591a\u6570\u7684\u6587\u672c\u6587\u4ef6\u683c\u5f0f\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5 Pandas<\/h4>\n<\/p>\n<p><p>\u5728\u4f7f\u7528 Pandas \u4e4b\u524d\uff0c\u9700\u8981\u5148\u5b89\u88c5 Pandas \u5e93\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u901a\u8fc7 pip \u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pandas<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u8bfb\u53d6 DAT \u6587\u4ef6<\/h4>\n<\/p>\n<p><p>\u5047\u8bbe\u6709\u4e00\u4e2a\u540d\u4e3a <code>data.dat<\/code> \u7684\u6587\u4ef6\uff0c\u6587\u4ef6\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code>Name, Age, Salary<\/p>\n<p>John, 28, 50000<\/p>\n<p>Jane, 32, 60000<\/p>\n<p>Doe, 25, 45000<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\u8bfb\u53d6\u8fd9\u4e2a\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<h2><strong>\u8bfb\u53d6 DAT \u6587\u4ef6<\/strong><\/h2>\n<p>df = pd.read_csv(&#39;data.dat&#39;)<\/p>\n<h2><strong>\u6253\u5370\u6570\u636e\u6846<\/strong><\/h2>\n<p>print(df)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c<code>pd.read_csv<\/code> \u51fd\u6570\u5c06\u8bfb\u53d6 <code>data.dat<\/code> \u6587\u4ef6\u5e76\u8fd4\u56de\u4e00\u4e2a Pandas \u6570\u636e\u6846\u3002<\/p>\n<\/p>\n<p><h4>3\u3001\u5904\u7406\u65e0\u6807\u9898\u884c\u7684 DAT \u6587\u4ef6<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u6587\u4ef6\u6ca1\u6709\u6807\u9898\u884c\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>header=None<\/code> \u53c2\u6570\uff0c\u5e76\u624b\u52a8\u6307\u5b9a\u5217\u540d\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<h2><strong>\u8bfb\u53d6 DAT \u6587\u4ef6\uff0c\u65e0\u6807\u9898\u884c<\/strong><\/h2>\n<p>df = pd.read_csv(&#39;data.dat&#39;, header=None, names=[&#39;Name&#39;, &#39;Age&#39;, &#39;Salary&#39;])<\/p>\n<h2><strong>\u6253\u5370\u6570\u636e\u6846<\/strong><\/h2>\n<p>print(df)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528 Numpy \u5bfc\u5165 DAT \u6587\u4ef6<\/h3>\n<\/p>\n<p><p>Numpy \u662f\u53e6\u4e00\u4e2a\u5f3a\u5927\u7684\u6570\u636e\u5904\u7406\u5e93\uff0c\u7279\u522b\u9002\u5408\u5904\u7406\u6570\u503c\u6570\u636e\u3002\u53ef\u4ee5\u4f7f\u7528 <code>numpy.loadtxt<\/code> \u51fd\u6570\u8bfb\u53d6 DAT \u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5b89\u88c5 Numpy<\/h4>\n<\/p>\n<p><p>\u5728\u4f7f\u7528 Numpy \u4e4b\u524d\uff0c\u9700\u8981\u5148\u5b89\u88c5 Numpy \u5e93\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u901a\u8fc7 pip \u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install numpy<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u8bfb\u53d6 DAT \u6587\u4ef6<\/h4>\n<\/p>\n<p><p>\u5047\u8bbe\u6709\u4e00\u4e2a\u540d\u4e3a <code>data.dat<\/code> \u7684\u6587\u4ef6\uff0c\u6587\u4ef6\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code>28 50000<\/p>\n<p>32 60000<\/p>\n<p>25 45000<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\u8bfb\u53d6\u8fd9\u4e2a\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<h2><strong>\u8bfb\u53d6 DAT \u6587\u4ef6<\/strong><\/h2>\n<p>data = np.loadtxt(&#39;data.dat&#39;)<\/p>\n<h2><strong>\u6253\u5370\u6570\u636e<\/strong><\/h2>\n<p>print(data)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c<code>np.loadtxt<\/code> \u51fd\u6570\u5c06\u8bfb\u53d6 <code>data.dat<\/code> \u6587\u4ef6\u5e76\u8fd4\u56de\u4e00\u4e2a Numpy \u6570\u7ec4\u3002<\/p>\n<\/p>\n<p><h4>3\u3001\u5904\u7406\u5e26\u5206\u9694\u7b26\u7684 DAT \u6587\u4ef6<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u6587\u4ef6\u4e2d\u7684\u6570\u636e\u4f7f\u7528\u7279\u5b9a\u7684\u5206\u9694\u7b26\uff0c\u53ef\u4ee5\u4f7f\u7528 <code>delimiter<\/code> \u53c2\u6570\u6307\u5b9a\u5206\u9694\u7b26\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<h2><strong>\u8bfb\u53d6 DAT \u6587\u4ef6\uff0c\u6570\u636e\u7528\u9017\u53f7\u5206\u9694<\/strong><\/h2>\n<p>data = np.loadtxt(&#39;data.dat&#39;, delimiter=&#39;,&#39;)<\/p>\n<h2><strong>\u6253\u5370\u6570\u636e<\/strong><\/h2>\n<p>print(data)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528\u5185\u7f6e\u51fd\u6570\u5bfc\u5165 DAT \u6587\u4ef6<\/h3>\n<\/p>\n<p><p>Python \u63d0\u4f9b\u4e86\u5185\u7f6e\u7684\u6587\u4ef6\u64cd\u4f5c\u51fd\u6570\uff0c\u53ef\u4ee5\u7528\u6765\u8bfb\u53d6 DAT \u6587\u4ef6\u3002\u867d\u7136\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u5982 Pandas \u548c Numpy \u65b9\u4fbf\uff0c\u4f46\u5bf9\u4e8e\u7b80\u5355\u7684\u6570\u636e\u6587\u4ef6\u4e5f\u662f\u4e00\u79cd\u53ef\u884c\u7684\u65b9\u5f0f\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u8bfb\u53d6\u6574\u4e2a\u6587\u4ef6<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528 <code>open<\/code> \u51fd\u6570\u8bfb\u53d6\u6574\u4e2a\u6587\u4ef6\uff0c\u5e76\u4f7f\u7528 <code>split<\/code> \u51fd\u6570\u6309\u884c\u5206\u5272\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u8bfb\u53d6\u6587\u4ef6<\/p>\n<p>with open(&#39;data.dat&#39;, &#39;r&#39;) as file:<\/p>\n<p>    data = file.read().splitlines()<\/p>\n<h2><strong>\u6253\u5370\u6570\u636e<\/strong><\/h2>\n<p>for line in data:<\/p>\n<p>    print(line)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u9010\u884c\u8bfb\u53d6\u6587\u4ef6<\/h4>\n<\/p>\n<p><p>\u4e5f\u53ef\u4ee5\u4f7f\u7528 <code>open<\/code> \u51fd\u6570\u9010\u884c\u8bfb\u53d6\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u9010\u884c\u8bfb\u53d6\u6587\u4ef6<\/p>\n<p>with open(&#39;data.dat&#39;, &#39;r&#39;) as file:<\/p>\n<p>    for line in file:<\/p>\n<p>        print(line.strip())<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u81ea\u5b9a\u4e49\u89e3\u6790\u5668\u5bfc\u5165 DAT \u6587\u4ef6<\/h3>\n<\/p>\n<p><p>\u6709\u65f6\u5019\uff0cDAT \u6587\u4ef6\u7684\u683c\u5f0f\u53ef\u80fd\u6bd4\u8f83\u590d\u6742\uff0c\u4f7f\u7528 Pandas \u6216 Numpy \u53ef\u80fd\u4e0d\u592a\u65b9\u4fbf\u3002\u8fd9\u65f6\u53ef\u4ee5\u7f16\u5199\u81ea\u5b9a\u4e49\u89e3\u6790\u5668\u6765\u8bfb\u53d6\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h4>1\u3001\u5b9a\u4e49\u89e3\u6790\u51fd\u6570<\/h4>\n<\/p>\n<p><p>\u5047\u8bbe\u6709\u4e00\u4e2a\u540d\u4e3a <code>data.dat<\/code> \u7684\u6587\u4ef6\uff0c\u6587\u4ef6\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code>Name: John, Age: 28, Salary: 50000<\/p>\n<p>Name: Jane, Age: 32, Salary: 60000<\/p>\n<p>Name: Doe, Age: 25, Salary: 45000<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u53ef\u4ee5\u7f16\u5199\u4e00\u4e2a\u89e3\u6790\u51fd\u6570\u6765\u8bfb\u53d6\u8fd9\u4e2a\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def parse_dat_file(filename):<\/p>\n<p>    data = []<\/p>\n<p>    with open(filename, &#39;r&#39;) as file:<\/p>\n<p>        for line in file:<\/p>\n<p>            parts = line.split(&#39;,&#39;)<\/p>\n<p>            record = {}<\/p>\n<p>            for part in parts:<\/p>\n<p>                key, value = part.split(&#39;:&#39;)<\/p>\n<p>                record[key.strip()] = value.strip()<\/p>\n<p>            data.append(record)<\/p>\n<p>    return data<\/p>\n<h2><strong>\u89e3\u6790\u6587\u4ef6<\/strong><\/h2>\n<p>data = parse_dat_file(&#39;data.dat&#39;)<\/p>\n<h2><strong>\u6253\u5370\u6570\u636e<\/strong><\/h2>\n<p>for record in data:<\/p>\n<p>    print(record)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u5904\u7406\u590d\u6742\u683c\u5f0f\u7684 DAT \u6587\u4ef6<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u6587\u4ef6\u683c\u5f0f\u66f4\u52a0\u590d\u6742\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u60c5\u51b5\u8c03\u6574\u89e3\u6790\u903b\u8f91\u3002\u4f8b\u5982\uff0c\u5904\u7406\u5305\u542b\u5d4c\u5957\u7ed3\u6784\u7684\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def parse_complex_dat_file(filename):<\/p>\n<p>    data = []<\/p>\n<p>    with open(filename, &#39;r&#39;) as file:<\/p>\n<p>        for line in file:<\/p>\n<p>            record = {}<\/p>\n<p>            parts = line.split(&#39;|&#39;)<\/p>\n<p>            for part in parts:<\/p>\n<p>                key, value = part.split(&#39;:&#39;)<\/p>\n<p>                if key.strip() == &#39;Address&#39;:<\/p>\n<p>                    address_parts = value.split(&#39;,&#39;)<\/p>\n<p>                    record[&#39;Address&#39;] = {<\/p>\n<p>                        &#39;Street&#39;: address_parts[0].strip(),<\/p>\n<p>                        &#39;City&#39;: address_parts[1].strip(),<\/p>\n<p>                        &#39;Zip&#39;: address_parts[2].strip()<\/p>\n<p>                    }<\/p>\n<p>                else:<\/p>\n<p>                    record[key.strip()] = value.strip()<\/p>\n<p>            data.append(record)<\/p>\n<p>    return data<\/p>\n<h2><strong>\u5047\u8bbe\u6587\u4ef6\u5185\u5bb9\u5982\u4e0b<\/strong><\/h2>\n<h2><strong>Name: John | Age: 28 | Salary: 50000 | Address: 123 M<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n St, Springfield, 12345<\/strong><\/h2>\n<p>data = parse_complex_dat_file(&#39;complex_data.dat&#39;)<\/p>\n<h2><strong>\u6253\u5370\u6570\u636e<\/strong><\/h2>\n<p>for record in data:<\/p>\n<p>    print(record)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4ee5\u4e0a\u4ecb\u7ecd\u4e86\u56db\u79cd\u4e0d\u540c\u7684\u65b9\u6cd5\u5bfc\u5165 DAT \u6587\u4ef6\uff0c\u5177\u4f53\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\u53d6\u51b3\u4e8e\u6587\u4ef6\u7684\u683c\u5f0f\u548c\u6570\u636e\u5904\u7406\u7684\u9700\u6c42\u3002Pandas \u548c Numpy \u63d0\u4f9b\u4e86\u9ad8\u6548\u7684\u6570\u636e\u5904\u7406\u80fd\u529b\uff0c\u9002\u5408\u5904\u7406\u5927\u591a\u6570\u7684DAT \u6587\u4ef6\uff0c\u800c\u5185\u7f6e\u51fd\u6570\u548c\u81ea\u5b9a\u4e49\u89e3\u6790\u5668\u5219\u9002\u5408\u5904\u7406\u66f4\u52a0\u590d\u6742\u548c\u7279\u6b8a\u7684\u6587\u4ef6\u683c\u5f0f\u3002\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u90fd\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u8fdb\u884c\u7075\u6d3b\u8c03\u6574\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python3\u4e2d\u8bfb\u53d6.dat\u6587\u4ef6\u7684\u5185\u5bb9\uff1f<\/strong><br \/>\u8981\u8bfb\u53d6.dat\u6587\u4ef6\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528Python\u5185\u7f6e\u7684\u6587\u4ef6\u64cd\u4f5c\u529f\u80fd\u3002\u4f7f\u7528<code>open()<\/code>\u51fd\u6570\u6253\u5f00\u6587\u4ef6\uff0c\u7136\u540e\u4f7f\u7528<code>read()<\/code>\u3001<code>readlines()<\/code>\u6216<code>readline()<\/code>\u65b9\u6cd5\u6765\u8bfb\u53d6\u6587\u4ef6\u5185\u5bb9\u3002\u901a\u5e38\uff0c\u60a8\u8fd8\u9700\u8981\u6839\u636e\u6570\u636e\u7684\u683c\u5f0f\u8fdb\u884c\u9002\u5f53\u7684\u89e3\u6790\uff0c\u6bd4\u5982\u4f7f\u7528<code>split()<\/code>\u51fd\u6570\u5c06\u6570\u636e\u5206\u9694\u5f00\u3002<\/p>\n<p><strong>\u4f7f\u7528\u54ea\u79cd\u5e93\u53ef\u4ee5\u66f4\u65b9\u4fbf\u5730\u5904\u7406.dat\u6587\u4ef6\uff1f<\/strong><br \/>\u5982\u679c.dat\u6587\u4ef6\u5305\u542b\u7ed3\u6784\u5316\u6570\u636e\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528<code>pandas<\/code>\u5e93\u6765\u5904\u7406\u3002\u901a\u8fc7<code>pandas.read_csv()<\/code>\u51fd\u6570\uff0c\u60a8\u53ef\u4ee5\u6307\u5b9a\u5206\u9694\u7b26\uff0c\u8f7b\u677e\u8bfb\u53d6\u5e76\u8f6c\u6362\u6210DataFrame\u683c\u5f0f\uff0c\u8fd9\u6837\u53ef\u4ee5\u66f4\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u5206\u6790\u548c\u64cd\u4f5c\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406.dat\u6587\u4ef6\u4e2d\u7684\u7f3a\u5931\u503c\u6216\u5f02\u5e38\u6570\u636e\uff1f<\/strong><br \/>\u5728\u4f7f\u7528<code>pandas<\/code>\u8bfb\u53d6.dat\u6587\u4ef6\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528<code>na_values<\/code>\u53c2\u6570\u6307\u5b9a\u54ea\u4e9b\u503c\u5e94\u88ab\u89c6\u4e3a\u7f3a\u5931\u3002\u540c\u65f6\uff0c<code>pandas<\/code>\u8fd8\u63d0\u4f9b\u4e86<code>dropna()<\/code>\u548c<code>fillna()<\/code>\u7b49\u65b9\u6cd5\uff0c\u5e2e\u52a9\u60a8\u5904\u7406\u7f3a\u5931\u503c\u548c\u5f02\u5e38\u6570\u636e\uff0c\u786e\u4fdd\u6570\u636e\u7684\u5b8c\u6574\u6027\u548c\u51c6\u786e\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python 3 \u5bfc\u5165 DAT \u6570\u636e\u6587\u4ef6\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u4e3b\u8981\u5305\u62ec\u4f7f\u7528Pandas\u3001Numpy\u3001\u5185\u7f6e\u51fd\u6570\u548c\u81ea\u5b9a\u4e49\u89e3 [&hellip;]","protected":false},"author":3,"featured_media":1117569,"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\/1117564"}],"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=1117564"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1117564\/revisions"}],"predecessor-version":[{"id":1117572,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1117564\/revisions\/1117572"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1117569"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1117564"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1117564"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1117564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}