{"id":963237,"date":"2024-12-27T04:15:58","date_gmt":"2024-12-26T20:15:58","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/963237.html"},"modified":"2024-12-27T04:16:00","modified_gmt":"2024-12-26T20:16:00","slug":"python%e5%a6%82%e4%bd%95%e5%86%99%e5%85%a5table","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/963237.html","title":{"rendered":"python\u5982\u4f55\u5199\u5165table"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/24180635\/b81f3969-eb2e-4f56-976d-c32a82b1343a.webp\" alt=\"python\u5982\u4f55\u5199\u5165table\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u5199\u5165\u8868\uff08table\uff09\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5e38\u89c1\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528Pandas\u5e93\u521b\u5efa\u548c\u5199\u5165\u6570\u636e\u5230CSV\u6587\u4ef6\u3001\u4f7f\u7528SQLite\u6570\u636e\u5e93\u3001\u4ee5\u53ca\u4f7f\u7528MySQL\u7b49\u6570\u636e\u5e93\u5199\u5165\u6570\u636e\u3002\u5177\u4f53\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\u53d6\u51b3\u4e8e\u4f60\u7684\u6570\u636e\u5b58\u50a8\u9700\u6c42\u3001\u6570\u636e\u91cf\u5927\u5c0f\u4ee5\u53ca\u6570\u636e\u5e93\u7684\u4f7f\u7528\u4e60\u60ef\u3002<\/strong> \u5176\u4e2d\uff0c<strong>Pandas<\/strong>\u662f\u4e00\u4e2a\u975e\u5e38\u5f3a\u5927\u7684\u6570\u636e\u5904\u7406\u5e93\uff0c\u53ef\u4ee5\u8f7b\u677e\u5730\u5c06\u6570\u636e\u5199\u5165CSV\u6587\u4ef6\uff1b<strong>SQLite<\/strong>\u662f\u4e00\u79cd\u8f7b\u91cf\u7ea7\u6570\u636e\u5e93\uff0c\u9002\u5408\u5d4c\u5165\u5f0f\u5e94\u7528\u548c\u5c0f\u578b\u9879\u76ee\uff1b<strong>MySQL<\/strong>\u5219\u9002\u5408\u9700\u8981\u5904\u7406\u5927\u91cf\u6570\u636e\u7684\u66f4\u590d\u6742\u5e94\u7528\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u63a2\u8ba8\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\u5728Python\u4e2d\u5199\u5165\u8868\u6570\u636e\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528PANDAS\u5e93\u5199\u5165CSV\u6587\u4ef6<\/p>\n<\/p>\n<p><p>Pandas\u662f\u4e00\u4e2a\u975e\u5e38\u6d41\u884c\u7684\u6570\u636e\u5206\u6790\u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u6570\u636e\u7ed3\u6784\u548c\u6570\u636e\u5206\u6790\u5de5\u5177\u3002\u5b83\u53ef\u4ee5\u975e\u5e38\u65b9\u4fbf\u5730\u5c06\u6570\u636e\u5199\u5165CSV\u6587\u4ef6\uff0c\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u4e0d\u9700\u8981\u590d\u6742\u6570\u636e\u5e93\u652f\u6301\u7684\u5c0f\u578b\u9879\u76ee\u3002<\/p>\n<\/p>\n<ol>\n<li>\u5b89\u88c5Pandas<\/li>\n<\/ol>\n<p><p>\u9996\u5148\uff0c\u4f60\u9700\u8981\u5b89\u88c5Pandas\u5e93\u3002\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u901a\u8fc7pip\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pandas<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li>\u521b\u5efaDataFrame<\/li>\n<\/ol>\n<p><p>\u5728Pandas\u4e2d\uff0c\u6570\u636e\u901a\u5e38\u4ee5DataFrame\u7684\u5f62\u5f0f\u5b58\u50a8\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u5b57\u5178\u3001\u5217\u8868\u6216\u5176\u4ed6\u6570\u636e\u7ed3\u6784\u6765\u521b\u5efaDataFrame\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<p>data = {<\/p>\n<p>    &#39;Name&#39;: [&#39;Alice&#39;, &#39;Bob&#39;, &#39;Charlie&#39;],<\/p>\n<p>    &#39;Age&#39;: [25, 30, 35],<\/p>\n<p>    &#39;City&#39;: [&#39;New York&#39;, &#39;Los Angeles&#39;, &#39;Chicago&#39;]<\/p>\n<p>}<\/p>\n<p>df = pd.DataFrame(data)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li>\u5c06DataFrame\u5199\u5165CSV\u6587\u4ef6<\/li>\n<\/ol>\n<p><p>\u521b\u5efa\u597dDataFrame\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528<code>to_csv<\/code>\u65b9\u6cd5\u5c06\u6570\u636e\u5199\u5165CSV\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">df.to_csv(&#39;output.csv&#39;, index=False)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f7f\u7528Pandas\u5199\u5165CSV\u6587\u4ef6\u7684\u4f18\u52bf\u5728\u4e8e\u7b80\u5355\u6613\u7528\uff0c\u5e76\u4e14\u53ef\u4ee5\u5904\u7406\u7f3a\u5931\u503c\u3001\u4e0d\u540c\u7684\u6570\u636e\u7c7b\u578b\u7b49\u3002\u4f46\u662f\uff0cCSV\u6587\u4ef6\u4e0d\u9002\u5408\u5b58\u50a8\u5927\u91cf\u6570\u636e\uff0c\u5e76\u4e14\u4e0d\u652f\u6301\u4e8b\u52a1\u7b49\u6570\u636e\u5e93\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528SQLITE\u6570\u636e\u5e93<\/p>\n<\/p>\n<p><p>SQLite\u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684\u5d4c\u5165\u5f0f\u6570\u636e\u5e93\uff0c\u9002\u5408\u5c0f\u578b\u5e94\u7528\u548c\u5feb\u901f\u539f\u578b\u8bbe\u8ba1\u3002SQLite\u652f\u6301SQL\u8bed\u53e5\uff0c\u5e76\u4e14\u53ef\u4ee5\u5728Python\u4e2d\u901a\u8fc7sqlite3\u6a21\u5757\u4f7f\u7528\u3002<\/p>\n<\/p>\n<ol>\n<li>\u521b\u5efaSQLite\u6570\u636e\u5e93<\/li>\n<\/ol>\n<p><p>SQLite\u6570\u636e\u5e93\u5b58\u50a8\u5728\u4e00\u4e2a\u6587\u4ef6\u4e2d\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528sqlite3\u6a21\u5757\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u6570\u636e\u5e93\u6587\u4ef6\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import sqlite3<\/p>\n<h2><strong>\u521b\u5efa\u6570\u636e\u5e93\u8fde\u63a5<\/strong><\/h2>\n<p>conn = sqlite3.connect(&#39;example.db&#39;)<\/p>\n<h2><strong>\u521b\u5efa\u6e38\u6807\u5bf9\u8c61<\/strong><\/h2>\n<p>cursor = conn.cursor()<\/p>\n<h2><strong>\u521b\u5efa\u8868<\/strong><\/h2>\n<p>cursor.execute(&#39;&#39;&#39;<\/p>\n<p>CREATE TABLE IF NOT EXISTS users (<\/p>\n<p>    id INTEGER PRIMARY KEY AUTOINCREMENT,<\/p>\n<p>    name TEXT NOT NULL,<\/p>\n<p>    age INTEGER,<\/p>\n<p>    city TEXT<\/p>\n<p>)<\/p>\n<p>&#39;&#39;&#39;)<\/p>\n<h2><strong>\u63d0\u4ea4\u66f4\u6539<\/strong><\/h2>\n<p>conn.commit()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li>\u63d2\u5165\u6570\u636e<\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u4f7f\u7528SQL\u8bed\u53e5\u63d2\u5165\u6570\u636e\u5230SQLite\u8868\u4e2d\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u63d2\u5165\u6570\u636e<\/p>\n<p>cursor.execute(&#39;&#39;&#39;<\/p>\n<p>INSERT INTO users (name, age, city) VALUES (?, ?, ?)<\/p>\n<p>&#39;&#39;&#39;, (&#39;Alice&#39;, 25, &#39;New York&#39;))<\/p>\n<p>cursor.execute(&#39;&#39;&#39;<\/p>\n<p>INSERT INTO users (name, age, city) VALUES (?, ?, ?)<\/p>\n<p>&#39;&#39;&#39;, (&#39;Bob&#39;, 30, &#39;Los Angeles&#39;))<\/p>\n<h2><strong>\u63d0\u4ea4\u66f4\u6539<\/strong><\/h2>\n<p>conn.commit()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li>\u67e5\u8be2\u6570\u636e<\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u4f7f\u7528SQL\u8bed\u53e5\u67e5\u8be2SQLite\u8868\u4e2d\u7684\u6570\u636e\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">cursor.execute(&#39;SELECT * FROM users&#39;)<\/p>\n<p>rows = cursor.fetchall()<\/p>\n<p>for row in rows:<\/p>\n<p>    print(row)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"4\">\n<li>\u5173\u95ed\u8fde\u63a5<\/li>\n<\/ol>\n<p><p>\u5b8c\u6210\u64cd\u4f5c\u540e\uff0c\u5173\u95ed\u6570\u636e\u5e93\u8fde\u63a5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">conn.close()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>SQLite\u7684\u4f18\u70b9\u662f\u7b80\u5355\u6613\u7528\uff0c\u652f\u6301SQL\u8bed\u53e5\uff0c\u5e76\u4e14\u4e0d\u9700\u8981\u5355\u72ec\u7684\u6570\u636e\u5e93\u670d\u52a1\u5668\u3002\u4f46\u662f\uff0cSQLite\u4e0d\u9002\u5408\u5904\u7406\u5927\u91cf\u5e76\u53d1\u8bf7\u6c42\u7684\u5927\u578b\u5e94\u7528\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528MYSQL\u6570\u636e\u5e93<\/p>\n<\/p>\n<p><p>MySQL\u662f\u4e00\u79cd\u6d41\u884c\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93\u7ba1\u7406\u7cfb\u7edf\uff0c\u9002\u5408\u9700\u8981\u5904\u7406\u5927\u91cf\u6570\u636e\u7684\u66f4\u590d\u6742\u5e94\u7528\u3002Python\u4e2d\u53ef\u4ee5\u4f7f\u7528mysql-connector-python\u6a21\u5757\u4e0eMySQL\u6570\u636e\u5e93\u8fdb\u884c\u4ea4\u4e92\u3002<\/p>\n<\/p>\n<ol>\n<li>\u5b89\u88c5mysql-connector-python<\/li>\n<\/ol>\n<p><p>\u9996\u5148\uff0c\u5b89\u88c5mysql-connector-python\u6a21\u5757\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install mysql-connector-python<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li>\u8fde\u63a5MySQL\u6570\u636e\u5e93<\/li>\n<\/ol>\n<p><p>\u4f7f\u7528mysql-connector-python\u6a21\u5757\u8fde\u63a5MySQL\u6570\u636e\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import mysql.connector<\/p>\n<h2><strong>\u521b\u5efa\u6570\u636e\u5e93\u8fde\u63a5<\/strong><\/h2>\n<p>conn = mysql.connector.connect(<\/p>\n<p>    host=&#39;localhost&#39;,<\/p>\n<p>    user=&#39;username&#39;,<\/p>\n<p>    password=&#39;password&#39;,<\/p>\n<p>    database=&#39;testdb&#39;<\/p>\n<p>)<\/p>\n<h2><strong>\u521b\u5efa\u6e38\u6807\u5bf9\u8c61<\/strong><\/h2>\n<p>cursor = conn.cursor()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li>\u521b\u5efa\u8868<\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u4f7f\u7528SQL\u8bed\u53e5\u5728MySQL\u6570\u636e\u5e93\u4e2d\u521b\u5efa\u8868\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">cursor.execute(&#39;&#39;&#39;<\/p>\n<p>CREATE TABLE IF NOT EXISTS users (<\/p>\n<p>    id INT AUTO_INCREMENT PRIMARY KEY,<\/p>\n<p>    name VARCHAR(255) NOT NULL,<\/p>\n<p>    age INT,<\/p>\n<p>    city VARCHAR(255)<\/p>\n<p>)<\/p>\n<p>&#39;&#39;&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"4\">\n<li>\u63d2\u5165\u6570\u636e<\/li>\n<\/ol>\n<p><p>\u4f7f\u7528SQL\u8bed\u53e5\u63d2\u5165\u6570\u636e\u5230MySQL\u8868\u4e2d\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">cursor.execute(&#39;&#39;&#39;<\/p>\n<p>INSERT INTO users (name, age, city) VALUES (%s, %s, %s)<\/p>\n<p>&#39;&#39;&#39;, (&#39;Charlie&#39;, 35, &#39;Chicago&#39;))<\/p>\n<h2><strong>\u63d0\u4ea4\u66f4\u6539<\/strong><\/h2>\n<p>conn.commit()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"5\">\n<li>\u67e5\u8be2\u6570\u636e<\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u4f7f\u7528SQL\u8bed\u53e5\u67e5\u8be2MySQL\u8868\u4e2d\u7684\u6570\u636e\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">cursor.execute(&#39;SELECT * FROM users&#39;)<\/p>\n<p>rows = cursor.fetchall()<\/p>\n<p>for row in rows:<\/p>\n<p>    print(row)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"6\">\n<li>\u5173\u95ed\u8fde\u63a5<\/li>\n<\/ol>\n<p><p>\u5b8c\u6210\u64cd\u4f5c\u540e\uff0c\u5173\u95ed\u6570\u636e\u5e93\u8fde\u63a5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">conn.close()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>MySQL\u7684\u4f18\u70b9\u662f\u652f\u6301\u5927\u89c4\u6a21\u6570\u636e\u5b58\u50a8\u548c\u5e76\u53d1\u8bbf\u95ee\uff0c\u5e76\u4e14\u5177\u6709\u4e30\u5bcc\u7684\u529f\u80fd\u548c\u63d2\u4ef6\u652f\u6301\u3002\u4f46\u662f\uff0cMySQL\u9700\u8981\u5b89\u88c5\u548c\u7ef4\u62a4\u6570\u636e\u5e93\u670d\u52a1\u5668\uff0c\u914d\u7f6e\u76f8\u5bf9\u590d\u6742\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\u5199\u5165\u8868\u6570\u636e\u7684\u65b9\u6cd5\u6709\u591a\u79cd\u9009\u62e9\uff0c\u5177\u4f53\u65b9\u6cd5\u53d6\u51b3\u4e8e\u4f60\u7684\u9700\u6c42\u548c\u9879\u76ee\u89c4\u6a21\u3002<strong>\u4f7f\u7528Pandas\u5199\u5165CSV\u6587\u4ef6\u9002\u5408\u5c0f\u578b\u9879\u76ee\u548c\u5feb\u901f\u539f\u578b\u8bbe\u8ba1\uff1b\u4f7f\u7528SQLite\u9002\u5408\u5d4c\u5165\u5f0f\u5e94\u7528\u548c\u5c0f\u578b\u9879\u76ee\uff1b\u800c\u4f7f\u7528MySQL\u9002\u5408\u9700\u8981\u5904\u7406\u5927\u91cf\u6570\u636e\u548c\u5e76\u53d1\u8bf7\u6c42\u7684\u590d\u6742\u5e94\u7528\u3002<\/strong> \u4e86\u89e3\u6bcf\u79cd\u65b9\u6cd5\u7684\u4f18\u7f3a\u70b9\uff0c\u53ef\u4ee5\u5e2e\u52a9\u4f60\u9009\u62e9\u6700\u5408\u9002\u7684\u6570\u636e\u5b58\u50a8\u65b9\u6848\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5199\u5165\u6570\u636e\u5e93\u8868\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u4e2a\u5e93\u6765\u8fde\u63a5\u548c\u5199\u5165\u6570\u636e\u5e93\u8868\u3002\u6700\u5e38\u7528\u7684\u5e93\u662f<code>sqlite3<\/code>\u3001<code>pymysql<\/code>\u548c<code>SQLAlchemy<\/code>\u3002\u901a\u8fc7\u8fd9\u4e9b\u5e93\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u5efa\u7acb\u6570\u636e\u5e93\u8fde\u63a5\u3001\u7f16\u5199SQL\u63d2\u5165\u8bed\u53e5\u5e76\u6267\u884c\u6765\u5199\u5165\u6570\u636e\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\u5bfc\u5165\u5e93\u3001\u521b\u5efa\u8fde\u63a5\u3001\u7f16\u5199SQL\u8bed\u53e5\u3001\u6267\u884c\u5e76\u63d0\u4ea4\u66f4\u6539\u3002<\/p>\n<p><strong>\u4f7f\u7528Python\u5199\u5165Excel\u8868\u683c\u7684\u6700\u4f73\u65b9\u6cd5\u662f\u4ec0\u4e48\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u4f7f\u7528<code>pandas<\/code>\u548c<code>openpyxl<\/code>\u5e93\u662f\u5199\u5165Excel\u8868\u683c\u7684\u5e38\u89c1\u65b9\u6cd5\u3002\u901a\u8fc7<code>pandas<\/code>\u7684<code>DataFrame<\/code>\u529f\u80fd\uff0c\u4f60\u53ef\u4ee5\u65b9\u4fbf\u5730\u5c06\u6570\u636e\u5199\u5165Excel\u6587\u4ef6\u3002\u53ea\u9700\u521b\u5efa\u4e00\u4e2aDataFrame\u5e76\u4f7f\u7528<code>to_excel()<\/code>\u65b9\u6cd5\u5373\u53ef\u5c06\u6570\u636e\u4fdd\u5b58\u5230\u6307\u5b9a\u7684Excel\u6587\u4ef6\u4e2d\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u5199\u5165CSV\u6587\u4ef6\uff1f<\/strong><br \/>\u4f7f\u7528Python\u7684<code>csv<\/code>\u6a21\u5757\u6216<code>pandas<\/code>\u5e93\u90fd\u53ef\u4ee5\u65b9\u4fbf\u5730\u5199\u5165CSV\u6587\u4ef6\u3002<code>csv<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u57fa\u672c\u7684\u529f\u80fd\u6765\u521b\u5efa\u548c\u5199\u5165CSV\u6587\u4ef6\uff0c\u800c<code>pandas<\/code>\u5219\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7ea7\u7684\u529f\u80fd\uff0c\u5141\u8bb8\u4f60\u8f7b\u677e\u5904\u7406\u6570\u636e\u5e76\u5c06\u5176\u5bfc\u51fa\u4e3aCSV\u683c\u5f0f\u3002\u53ea\u9700\u51c6\u5907\u597d\u6570\u636e\u5e76\u8c03\u7528\u76f8\u5173\u7684\u5199\u5165\u51fd\u6570\u5373\u53ef\u5b8c\u6210\u64cd\u4f5c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u5199\u5165\u8868\uff08table\uff09\u7684\u65b9\u6cd5\u6709\u591a\u79cd\uff0c\u5e38\u89c1\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528Pandas\u5e93\u521b\u5efa\u548c\u5199\u5165\u6570\u636e\u5230CSV\u6587\u4ef6\u3001 [&hellip;]","protected":false},"author":3,"featured_media":963249,"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\/963237"}],"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=963237"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/963237\/revisions"}],"predecessor-version":[{"id":963251,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/963237\/revisions\/963251"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/963249"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=963237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=963237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=963237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}