{"id":1064995,"date":"2024-12-31T16:13:52","date_gmt":"2024-12-31T08:13:52","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1064995.html"},"modified":"2024-12-31T16:13:54","modified_gmt":"2024-12-31T08:13:54","slug":"python%e5%a6%82%e4%bd%95%e5%af%bc%e5%85%a5%e8%a1%a8%e6%a0%bc%e6%95%b0%e6%8d%ae%e5%ba%93%e6%95%b0%e6%8d%ae","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1064995.html","title":{"rendered":"python\u5982\u4f55\u5bfc\u5165\u8868\u683c\u6570\u636e\u5e93\u6570\u636e"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/041e49d7-38e4-4bc5-af18-d38d2e5ed86b.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"python\u5982\u4f55\u5bfc\u5165\u8868\u683c\u6570\u636e\u5e93\u6570\u636e\" \/><\/p>\n<p><p> \u4e00\u3001Python\u5982\u4f55\u5bfc\u5165\u8868\u683c\u6570\u636e\u5e93\u6570\u636e<\/p>\n<\/p>\n<p><p><strong>\u4f7f\u7528pandas\u5e93\u3001\u4f7f\u7528SQLAlchemy\u5e93\u3001\u4f7f\u7528SQLite\u5e93\u3001\u4f7f\u7528pyodbc\u5e93\u3001\u4f7f\u7528MySQL Connector\/Python\u5e93<\/strong>\u3002\u5176\u4e2d\uff0c\u4f7f\u7528pandas\u5e93\u662f\u6700\u5e38\u89c1\u548c\u6700\u65b9\u4fbf\u7684\u4e00\u79cd\u65b9\u5f0f\u3002<\/p>\n<\/p>\n<p><p>\u4f7f\u7528pandas\u5e93\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u5c06\u8868\u683c\u6570\u636e\u5e93\u6570\u636e\u5bfc\u5165\u5230Python\u4e2d\u3002\u9996\u5148\u9700\u8981\u5b89\u88c5pandas\u5e93\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pandas<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u4f7f\u7528<code>pandas.read_sql()<\/code>\u51fd\u6570\u8bfb\u53d6\u6570\u636e\u5e93\u6570\u636e\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<p>import sqlite3<\/p>\n<h2><strong>\u8fde\u63a5\u5230SQLite\u6570\u636e\u5e93<\/strong><\/h2>\n<p>conn = sqlite3.connect(&#39;example.db&#39;)<\/p>\n<h2><strong>\u4f7f\u7528pandas\u8bfb\u53d6\u6570\u636e\u5e93\u6570\u636e<\/strong><\/h2>\n<p>df = pd.read_sql(&#39;SELECT * FROM table_name&#39;, conn)<\/p>\n<h2><strong>\u663e\u793a\u6570\u636e<\/strong><\/h2>\n<p>print(df)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528Pandas\u5e93<\/p>\n<\/p>\n<p><p>Pandas\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u6570\u636e\u5206\u6790\u548c\u64cd\u4f5c\u5e93\uff0c\u652f\u6301\u591a\u79cd\u6570\u636e\u683c\u5f0f\u7684\u5bfc\u5165\u548c\u5bfc\u51fa\u3002\u901a\u8fc7pandas\u5e93\uff0c\u53ef\u4ee5\u5f88\u5bb9\u6613\u5730\u5c06\u6570\u636e\u5e93\u4e2d\u7684\u6570\u636e\u5bfc\u5165\u5230DataFrame\u4e2d\u8fdb\u884c\u5206\u6790\u548c\u5904\u7406\u3002<\/p>\n<\/p>\n<p><p>1\u3001\u5b89\u88c5Pandas\u5e93<\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528Pandas\u5e93\u4e4b\u524d\uff0c\u9700\u8981\u5148\u5b89\u88c5\u5b83\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\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><p>2\u3001\u8fde\u63a5\u6570\u636e\u5e93\u5e76\u8bfb\u53d6\u6570\u636e<\/p>\n<\/p>\n<p><p>\u4f7f\u7528pandas\u8bfb\u53d6\u6570\u636e\u5e93\u6570\u636e\u9700\u8981\u901a\u8fc7SQLAlchemy\u5e93\u6216\u5176\u4ed6\u6570\u636e\u5e93\u8fde\u63a5\u5e93\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u4f7f\u7528SQLAlchemy\u8fde\u63a5SQLite\u6570\u636e\u5e93\u7684\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<p>from sqlalchemy import create_engine<\/p>\n<h2><strong>\u521b\u5efa\u6570\u636e\u5e93\u8fde\u63a5<\/strong><\/h2>\n<p>engine = create_engine(&#39;sqlite:\/\/\/example.db&#39;)<\/p>\n<h2><strong>\u4f7f\u7528pandas\u8bfb\u53d6\u6570\u636e\u5e93\u6570\u636e<\/strong><\/h2>\n<p>df = pd.read_sql(&#39;SELECT * FROM table_name&#39;, engine)<\/p>\n<h2><strong>\u663e\u793a\u6570\u636e<\/strong><\/h2>\n<p>print(df)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528SQLAlchemy\u5e93<\/p>\n<\/p>\n<p><p>SQLAlchemy\u662f\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684SQL\u5de5\u5177\u5305\u548c\u5bf9\u8c61\u5173\u7cfb\u6620\u5c04\uff08ORM\uff09\u5e93\uff0c\u652f\u6301\u591a\u79cd\u6570\u636e\u5e93\u3002\u901a\u8fc7SQLAlchemy\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u8fde\u63a5\u6570\u636e\u5e93\u5e76\u6267\u884cSQL\u67e5\u8be2\u3002<\/p>\n<\/p>\n<p><p>1\u3001\u5b89\u88c5SQLAlchemy\u5e93<\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528SQLAlchemy\u5e93\u4e4b\u524d\uff0c\u9700\u8981\u5148\u5b89\u88c5\u5b83\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install SQLAlchemy<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>2\u3001\u8fde\u63a5\u6570\u636e\u5e93\u5e76\u8bfb\u53d6\u6570\u636e<\/p>\n<\/p>\n<p><p>\u4f7f\u7528SQLAlchemy\u8fde\u63a5\u6570\u636e\u5e93\u5e76\u8bfb\u53d6\u6570\u636e\u7684\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from sqlalchemy import create_engine<\/p>\n<p>import pandas as pd<\/p>\n<h2><strong>\u521b\u5efa\u6570\u636e\u5e93\u8fde\u63a5<\/strong><\/h2>\n<p>engine = create_engine(&#39;postgresql:\/\/username:password@localhost:5432\/mydatabase&#39;)<\/p>\n<h2><strong>\u4f7f\u7528pandas\u8bfb\u53d6\u6570\u636e\u5e93\u6570\u636e<\/strong><\/h2>\n<p>df = pd.read_sql(&#39;SELECT * FROM table_name&#39;, engine)<\/p>\n<h2><strong>\u663e\u793a\u6570\u636e<\/strong><\/h2>\n<p>print(df)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u56db\u3001\u4f7f\u7528SQLite\u5e93<\/p>\n<\/p>\n<p><p>SQLite\u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684\u5d4c\u5165\u5f0f\u6570\u636e\u5e93\uff0c\u9002\u7528\u4e8e\u5c0f\u578b\u5e94\u7528\u7a0b\u5e8f\u3002Python\u81ea\u5e26SQLite\u5e93\uff0c\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><p>1\u3001\u8fde\u63a5SQLite\u6570\u636e\u5e93\u5e76\u8bfb\u53d6\u6570\u636e<\/p>\n<\/p>\n<p><p>\u4f7f\u7528SQLite\u5e93\u8fde\u63a5SQLite\u6570\u636e\u5e93\u5e76\u8bfb\u53d6\u6570\u636e\u7684\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sqlite3<\/p>\n<p>import pandas as pd<\/p>\n<h2><strong>\u8fde\u63a5\u5230SQLite\u6570\u636e\u5e93<\/strong><\/h2>\n<p>conn = sqlite3.connect(&#39;example.db&#39;)<\/p>\n<h2><strong>\u4f7f\u7528pandas\u8bfb\u53d6\u6570\u636e\u5e93\u6570\u636e<\/strong><\/h2>\n<p>df = pd.read_sql(&#39;SELECT * FROM table_name&#39;, conn)<\/p>\n<h2><strong>\u663e\u793a\u6570\u636e<\/strong><\/h2>\n<p>print(df)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e94\u3001\u4f7f\u7528pyodbc\u5e93<\/p>\n<\/p>\n<p><p>pyodbc\u662f\u4e00\u4e2a\u5f00\u653e\u6e90\u7801\u7684Python\u5e93\uff0c\u7528\u4e8e\u8bbf\u95eeODBC\u6570\u636e\u5e93\u3002\u901a\u8fc7pyodbc\uff0c\u53ef\u4ee5\u8fde\u63a5\u5230\u591a\u79cd\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u5e93\uff0c\u5305\u62ecSQL Server\u3001Oracle\u3001Access\u7b49\u3002<\/p>\n<\/p>\n<p><p>1\u3001\u5b89\u88c5pyodbc\u5e93<\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528pyodbc\u5e93\u4e4b\u524d\uff0c\u9700\u8981\u5148\u5b89\u88c5\u5b83\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pyodbc<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>2\u3001\u8fde\u63a5\u6570\u636e\u5e93\u5e76\u8bfb\u53d6\u6570\u636e<\/p>\n<\/p>\n<p><p>\u4f7f\u7528pyodbc\u8fde\u63a5\u6570\u636e\u5e93\u5e76\u8bfb\u53d6\u6570\u636e\u7684\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pyodbc<\/p>\n<p>import pandas as pd<\/p>\n<h2><strong>\u521b\u5efa\u6570\u636e\u5e93\u8fde\u63a5<\/strong><\/h2>\n<p>conn = pyodbc.connect(&#39;DRIVER={SQL Server};SERVER=server_name;DATABASE=db_name;UID=user;PWD=password&#39;)<\/p>\n<h2><strong>\u4f7f\u7528pandas\u8bfb\u53d6\u6570\u636e\u5e93\u6570\u636e<\/strong><\/h2>\n<p>df = pd.read_sql(&#39;SELECT * FROM table_name&#39;, conn)<\/p>\n<h2><strong>\u663e\u793a\u6570\u636e<\/strong><\/h2>\n<p>print(df)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u516d\u3001\u4f7f\u7528MySQL Connector\/Python\u5e93<\/p>\n<\/p>\n<p><p>MySQL Connector\/Python\u662fMySQL\u5b98\u65b9\u63d0\u4f9b\u7684Python\u6570\u636e\u5e93\u9a71\u52a8\u7a0b\u5e8f\uff0c\u652f\u6301MySQL\u6570\u636e\u5e93\u7684\u8fde\u63a5\u548c\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><p>1\u3001\u5b89\u88c5MySQL Connector\/Python\u5e93<\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528MySQL Connector\/Python\u5e93\u4e4b\u524d\uff0c\u9700\u8981\u5148\u5b89\u88c5\u5b83\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install mysql-connector-python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>2\u3001\u8fde\u63a5\u6570\u636e\u5e93\u5e76\u8bfb\u53d6\u6570\u636e<\/p>\n<\/p>\n<p><p>\u4f7f\u7528MySQL Connector\/Python\u8fde\u63a5MySQL\u6570\u636e\u5e93\u5e76\u8bfb\u53d6\u6570\u636e\u7684\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import mysql.connector<\/p>\n<p>import pandas as pd<\/p>\n<h2><strong>\u521b\u5efa\u6570\u636e\u5e93\u8fde\u63a5<\/strong><\/h2>\n<p>conn = mysql.connector.connect(<\/p>\n<p>    host=&quot;localhost&quot;,<\/p>\n<p>    user=&quot;yourusername&quot;,<\/p>\n<p>    password=&quot;yourpassword&quot;,<\/p>\n<p>    database=&quot;mydatabase&quot;<\/p>\n<p>)<\/p>\n<h2><strong>\u4f7f\u7528pandas\u8bfb\u53d6\u6570\u636e\u5e93\u6570\u636e<\/strong><\/h2>\n<p>df = pd.read_sql(&#39;SELECT * FROM table_name&#39;, conn)<\/p>\n<h2><strong>\u663e\u793a\u6570\u636e<\/strong><\/h2>\n<p>print(df)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e03\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u51e0\u79cd\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u5c06\u8868\u683c\u6570\u636e\u5e93\u6570\u636e\u5bfc\u5165\u5230Python\u4e2d\u8fdb\u884c\u5206\u6790\u548c\u5904\u7406\u3002\u5176\u4e2d\uff0c<strong>\u4f7f\u7528pandas\u5e93<\/strong>\u662f\u6700\u5e38\u89c1\u548c\u6700\u65b9\u4fbf\u7684\u4e00\u79cd\u65b9\u5f0f\uff0c\u56e0\u4e3a\u5b83\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u6570\u636e\u5904\u7406\u548c\u5206\u6790\u529f\u80fd\u3002<strong>\u4f7f\u7528SQLAlchemy\u5e93<\/strong>\u53ef\u4ee5\u8f7b\u677e\u5730\u8fde\u63a5\u591a\u79cd\u6570\u636e\u5e93\u5e76\u6267\u884cSQL\u67e5\u8be2\u3002<strong>\u4f7f\u7528SQLite\u5e93<\/strong>\u9002\u7528\u4e8e\u5c0f\u578b\u5e94\u7528\u7a0b\u5e8f\u3002<strong>\u4f7f\u7528pyodbc\u5e93<\/strong>\u53ef\u4ee5\u8fde\u63a5\u5230\u591a\u79cd\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u5e93\u3002<strong>\u4f7f\u7528MySQL Connector\/Python\u5e93<\/strong>\u5219\u662f\u8fde\u63a5MySQL\u6570\u636e\u5e93\u7684\u5b98\u65b9\u63a8\u8350\u65b9\u5f0f\u3002<\/p>\n<\/p>\n<p><p>\u65e0\u8bba\u4f7f\u7528\u54ea\u79cd\u65b9\u6cd5\uff0c\u90fd\u9700\u8981\u5148\u5b89\u88c5\u76f8\u5e94\u7684\u5e93\uff0c\u5e76\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u914d\u7f6e\u6570\u636e\u5e93\u8fde\u63a5\u53c2\u6570\u3002\u901a\u8fc7\u8fd9\u4e9b\u5e93\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u5c06\u6570\u636e\u5e93\u4e2d\u7684\u6570\u636e\u5bfc\u5165\u5230DataFrame\u4e2d\uff0c\u5e76\u8fdb\u884c\u8fdb\u4e00\u6b65\u7684\u5206\u6790\u548c\u5904\u7406\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u8fde\u63a5\u5230\u8868\u683c\u6570\u636e\u5e93\uff1f<\/strong><br \/>\u8981\u8fde\u63a5\u5230\u8868\u683c\u6570\u636e\u5e93\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528Python\u7684<code>pandas<\/code>\u5e93\u548c\u6570\u636e\u5e93\u8fde\u63a5\u5e93\uff08\u5982<code>sqlite3<\/code>\u6216<code>SQLAlchemy<\/code>\uff09\u3002\u9996\u5148\uff0c\u5b89\u88c5\u6240\u9700\u7684\u5e93\uff0c\u7136\u540e\u4f7f\u7528\u76f8\u5e94\u7684\u8fde\u63a5\u5b57\u7b26\u4e32\u6765\u5efa\u7acb\u8fde\u63a5\u3002\u786e\u4fdd\u60a8\u62e5\u6709\u6b63\u786e\u7684\u6570\u636e\u5e93\u51ed\u636e\u548c\u8868\u683c\u7ed3\u6784\u7684\u4fe1\u606f\uff0c\u8fd9\u6837\u53ef\u4ee5\u987a\u5229\u5bfc\u5165\u6570\u636e\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5bfc\u5165\u8868\u683c\u6570\u636e\u7684\u6700\u4f73\u5b9e\u8df5\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u5bfc\u5165\u8868\u683c\u6570\u636e\u65f6\uff0c\u5efa\u8bae\u4f7f\u7528<code>pandas<\/code>\u5e93\u7684<code>read_csv()<\/code>\u6216<code>read_excel()<\/code>\u7b49\u65b9\u6cd5\u3002\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u65b9\u4fbf\u5730\u8bfb\u53d6\u591a\u79cd\u683c\u5f0f\u7684\u8868\u683c\u6570\u636e\u3002\u786e\u4fdd\u5bf9\u6570\u636e\u8fdb\u884c\u6e05\u6d17\u548c\u9884\u5904\u7406\uff0c\u4ee5\u5904\u7406\u7f3a\u5931\u503c\u548c\u4e0d\u4e00\u81f4\u7684\u6570\u636e\u683c\u5f0f\uff0c\u4ece\u800c\u63d0\u9ad8\u6570\u636e\u7684\u8d28\u91cf\u548c\u53ef\u7528\u6027\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406\u5bfc\u5165\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u51fa\u73b0\u7684\u9519\u8bef\uff1f<\/strong><br \/>\u5728\u5bfc\u5165\u8868\u683c\u6570\u636e\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u591a\u79cd\u9519\u8bef\uff0c\u4f8b\u5982\u6587\u4ef6\u8def\u5f84\u4e0d\u6b63\u786e\u3001\u6570\u636e\u683c\u5f0f\u4e0d\u5339\u914d\u7b49\u3002\u53ef\u4ee5\u4f7f\u7528<code>try-except<\/code>\u8bed\u53e5\u6765\u6355\u83b7\u8fd9\u4e9b\u5f02\u5e38\uff0c\u6216\u5728\u5bfc\u5165\u4e4b\u524d\u68c0\u67e5\u6587\u4ef6\u7684\u5b58\u5728\u6027\u548c\u6570\u636e\u7684\u5b8c\u6574\u6027\u3002\u6b64\u5916\uff0c\u5229\u7528<code>pandas<\/code>\u7684<code>info()<\/code>\u548c<code>describe()<\/code>\u51fd\u6570\u53ef\u4ee5\u5e2e\u52a9\u60a8\u4e86\u89e3\u6570\u636e\u7684\u7ed3\u6784\u548c\u5185\u5bb9\uff0c\u4ece\u800c\u66f4\u597d\u5730\u8c03\u8bd5\u95ee\u9898\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u4e00\u3001Python\u5982\u4f55\u5bfc\u5165\u8868\u683c\u6570\u636e\u5e93\u6570\u636e \u4f7f\u7528pandas\u5e93\u3001\u4f7f\u7528SQLAlchemy\u5e93\u3001\u4f7f\u7528SQLite\u5e93\u3001\u4f7f [&hellip;]","protected":false},"author":3,"featured_media":1065009,"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\/1064995"}],"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=1064995"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1064995\/revisions"}],"predecessor-version":[{"id":1065011,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1064995\/revisions\/1065011"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1065009"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1064995"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1064995"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1064995"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}