{"id":1136256,"date":"2025-01-08T21:33:58","date_gmt":"2025-01-08T13:33:58","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1136256.html"},"modified":"2025-01-08T21:34:01","modified_gmt":"2025-01-08T13:34:01","slug":"python%e5%a6%82%e4%bd%95%e6%ad%a3%e5%a4%aa%e5%88%86%e5%b8%83%e5%9b%be%e5%8f%a0%e5%8a%a0%e5%88%b0%e7%9b%b4%e6%96%b9%e5%9b%be%e9%87%8c","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1136256.html","title":{"rendered":"python\u5982\u4f55\u6b63\u592a\u5206\u5e03\u56fe\u53e0\u52a0\u5230\u76f4\u65b9\u56fe\u91cc"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25100444\/28e97287-947a-4c7d-92ad-236f45d4ddee.webp\" alt=\"python\u5982\u4f55\u6b63\u592a\u5206\u5e03\u56fe\u53e0\u52a0\u5230\u76f4\u65b9\u56fe\u91cc\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528Matplotlib\u548cSciPy\u5e93\uff0c\u5c06\u6b63\u6001\u5206\u5e03\u56fe\u53e0\u52a0\u5230\u76f4\u65b9\u56fe\u4e0a\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\u52a0\u8f7d\u6570\u636e\u3001\u7ed8\u5236\u76f4\u65b9\u56fe\u3001\u8ba1\u7b97\u6b63\u6001\u5206\u5e03\u53c2\u6570\u3001\u7ed8\u5236\u6b63\u6001\u5206\u5e03\u66f2\u7ebf\u7b49\u3002<\/strong><\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u52a0\u8f7d\u6570\u636e\u5e76\u7ed8\u5236\u76f4\u65b9\u56fe<\/h3>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u52a0\u8f7d\u6570\u636e\u5e76\u7ed8\u5236\u76f4\u65b9\u56fe\u3002\u4f7f\u7528<code>Matplotlib<\/code>\u5e93\u7684<code>hist<\/code>\u51fd\u6570\u53ef\u4ee5\u5f88\u65b9\u4fbf\u5730\u7ed8\u5236\u76f4\u65b9\u56fe\u3002\u5728\u52a0\u8f7d\u6570\u636e\u65f6\uff0c\u53ef\u4ee5\u4f7f\u7528NumPy\u5e93\u751f\u6210\u4e00\u4e9b\u968f\u673a\u6570\u636e\uff0c\u6216\u8005\u4ece\u6587\u4ef6\u4e2d\u8bfb\u53d6\u6570\u636e\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p>import matplotlib.pyplot as plt<\/p>\n<h2><strong>\u751f\u6210\u4e00\u4e9b\u968f\u673a\u6570\u636e<\/strong><\/h2>\n<p>data = np.random.normal(loc=0, scale=1, size=1000)<\/p>\n<h2><strong>\u7ed8\u5236\u76f4\u65b9\u56fe<\/strong><\/h2>\n<p>plt.hist(data, bins=30, density=True, alpha=0.6, color=&#39;g&#39;)<\/p>\n<p>plt.xlabel(&#39;Value&#39;)<\/p>\n<p>plt.ylabel(&#39;Frequency&#39;)<\/p>\n<p>plt.title(&#39;Histogram with Normal Distribution Overlay&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e8c\u3001\u8ba1\u7b97\u6b63\u6001\u5206\u5e03\u53c2\u6570<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u7ed8\u5236\u6b63\u6001\u5206\u5e03\u66f2\u7ebf\uff0c\u6211\u4eec\u9700\u8981\u8ba1\u7b97\u6570\u636e\u7684\u5747\u503c\uff08mean\uff09\u548c\u6807\u51c6\u5dee\uff08standard deviation\uff09\u3002\u8fd9\u4e9b\u53c2\u6570\u53ef\u4ee5\u901a\u8fc7NumPy\u5e93\u7684<code>mean<\/code>\u548c<code>std<\/code>\u51fd\u6570\u6765\u8ba1\u7b97\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">mean = np.mean(data)<\/p>\n<p>std_dev = np.std(data)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u7ed8\u5236\u6b63\u6001\u5206\u5e03\u66f2\u7ebf<\/h3>\n<\/p>\n<p><p>\u4f7f\u7528SciPy\u5e93\u7684<code>norm.pdf<\/code>\u51fd\u6570\uff0c\u53ef\u4ee5\u6839\u636e\u8ba1\u7b97\u5f97\u5230\u7684\u5747\u503c\u548c\u6807\u51c6\u5dee\u751f\u6210\u6b63\u6001\u5206\u5e03\u66f2\u7ebf\u3002\u7136\u540e\uff0c\u5c06\u8fd9\u6761\u66f2\u7ebf\u53e0\u52a0\u5230\u76f4\u65b9\u56fe\u4e0a\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from scipy.stats import norm<\/p>\n<h2><strong>\u751f\u6210\u6b63\u6001\u5206\u5e03\u66f2\u7ebf<\/strong><\/h2>\n<p>xmin, xmax = plt.xlim()<\/p>\n<p>x = np.linspace(xmin, xmax, 100)<\/p>\n<p>p = norm.pdf(x, mean, std_dev)<\/p>\n<h2><strong>\u7ed8\u5236\u6b63\u6001\u5206\u5e03\u66f2\u7ebf<\/strong><\/h2>\n<p>plt.plot(x, p, &#39;k&#39;, linewidth=2)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u5b8c\u6574\u4ee3\u7801\u793a\u4f8b<\/h3>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u5c06\u4e0a\u8ff0\u6b65\u9aa4\u7ec4\u5408\u5728\u4e00\u8d77\u7684\u5b8c\u6574\u4ee3\u7801\u793a\u4f8b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p>import matplotlib.pyplot as plt<\/p>\n<p>from scipy.stats import norm<\/p>\n<h2><strong>\u751f\u6210\u4e00\u4e9b\u968f\u673a\u6570\u636e<\/strong><\/h2>\n<p>data = np.random.normal(loc=0, scale=1, size=1000)<\/p>\n<h2><strong>\u8ba1\u7b97\u5747\u503c\u548c\u6807\u51c6\u5dee<\/strong><\/h2>\n<p>mean = np.mean(data)<\/p>\n<p>std_dev = np.std(data)<\/p>\n<h2><strong>\u7ed8\u5236\u76f4\u65b9\u56fe<\/strong><\/h2>\n<p>plt.hist(data, bins=30, density=True, alpha=0.6, color=&#39;g&#39;)<\/p>\n<h2><strong>\u751f\u6210\u6b63\u6001\u5206\u5e03\u66f2\u7ebf<\/strong><\/h2>\n<p>xmin, xmax = plt.xlim()<\/p>\n<p>x = np.linspace(xmin, xmax, 100)<\/p>\n<p>p = norm.pdf(x, mean, std_dev)<\/p>\n<h2><strong>\u7ed8\u5236\u6b63\u6001\u5206\u5e03\u66f2\u7ebf<\/strong><\/h2>\n<p>plt.plot(x, p, &#39;k&#39;, linewidth=2)<\/p>\n<p>plt.xlabel(&#39;Value&#39;)<\/p>\n<p>plt.ylabel(&#39;Frequency&#39;)<\/p>\n<p>plt.title(&#39;Histogram with Normal Distribution Overlay&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u4f18\u5316\u548c\u9ad8\u7ea7\u6280\u5de7<\/h3>\n<\/p>\n<p><h4>1\u3001\u4f7f\u7528Seaborn\u5e93\u589e\u5f3a\u56fe\u5f62\u6548\u679c<\/h4>\n<\/p>\n<p><p>Seaborn\u5e93\u662f\u57fa\u4e8eMatplotlib\u7684\u9ad8\u7ea7\u7ed8\u56fe\u5e93\uff0c\u53ef\u4ee5\u8ba9\u4f60\u7684\u56fe\u5f62\u66f4\u52a0\u7f8e\u89c2\u3002\u4f7f\u7528Seaborn\u5e93\u53ef\u4ee5\u66f4\u65b9\u4fbf\u5730\u7ed8\u5236\u76f4\u65b9\u56fe\u548c\u6b63\u6001\u5206\u5e03\u66f2\u7ebf\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import seaborn as sns<\/p>\n<h2><strong>\u4f7f\u7528Seaborn\u7ed8\u5236\u76f4\u65b9\u56fe\u548c\u6b63\u6001\u5206\u5e03\u66f2\u7ebf<\/strong><\/h2>\n<p>sns.histplot(data, bins=30, kde=True, stat=&quot;density&quot;, color=&#39;g&#39;, alpha=0.6)<\/p>\n<p>plt.xlabel(&#39;Value&#39;)<\/p>\n<p>plt.ylabel(&#39;Frequency&#39;)<\/p>\n<p>plt.title(&#39;Histogram with Normal Distribution Overlay&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u5904\u7406\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e<\/h4>\n<\/p>\n<p><p>\u6709\u65f6\u5019\uff0c\u4f60\u7684\u6570\u636e\u53ef\u80fd\u4e0d\u662f\u6b63\u6001\u5206\u5e03\u7684\uff0c\u800c\u662f\u5176\u4ed6\u7c7b\u578b\u7684\u5206\u5e03\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u5176\u4ed6\u5206\u5e03\u6a21\u578b\u6765\u62df\u5408\u4f60\u7684\u6570\u636e\u3002\u4f8b\u5982\uff0c\u4f7f\u7528SciPy\u5e93\u4e2d\u7684<code>lognorm<\/code>\u6216<code>expon<\/code>\u51fd\u6570\u6765\u62df\u5408\u5bf9\u6570\u6b63\u6001\u5206\u5e03\u6216\u6307\u6570\u5206\u5e03\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from scipy.stats import lognorm<\/p>\n<h2><strong>\u62df\u5408\u5bf9\u6570\u6b63\u6001\u5206\u5e03<\/strong><\/h2>\n<p>shape, loc, scale = lognorm.fit(data)<\/p>\n<p>p = lognorm.pdf(x, shape, loc, scale)<\/p>\n<h2><strong>\u7ed8\u5236\u5bf9\u6570\u6b63\u6001\u5206\u5e03\u66f2\u7ebf<\/strong><\/h2>\n<p>plt.plot(x, p, &#39;k&#39;, linewidth=2)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3\u3001\u6dfb\u52a0\u56fe\u4f8b\u548c\u6ce8\u91ca<\/h4>\n<\/p>\n<p><p>\u4e3a\u4e86\u4f7f\u56fe\u5f62\u66f4\u52a0\u6613\u8bfb\uff0c\u53ef\u4ee5\u6dfb\u52a0\u56fe\u4f8b\u548c\u6ce8\u91ca\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u7ed8\u5236\u76f4\u65b9\u56fe<\/p>\n<p>plt.hist(data, bins=30, density=True, alpha=0.6, color=&#39;g&#39;)<\/p>\n<h2><strong>\u751f\u6210\u6b63\u6001\u5206\u5e03\u66f2\u7ebf<\/strong><\/h2>\n<p>xmin, xmax = plt.xlim()<\/p>\n<p>x = np.linspace(xmin, xmax, 100)<\/p>\n<p>p = norm.pdf(x, mean, std_dev)<\/p>\n<h2><strong>\u7ed8\u5236\u6b63\u6001\u5206\u5e03\u66f2\u7ebf<\/strong><\/h2>\n<p>plt.plot(x, p, &#39;k&#39;, linewidth=2, label=&#39;Normal Distribution&#39;)<\/p>\n<h2><strong>\u6dfb\u52a0\u56fe\u4f8b\u548c\u6ce8\u91ca<\/strong><\/h2>\n<p>plt.legend(loc=&#39;upper right&#39;)<\/p>\n<p>plt.xlabel(&#39;Value&#39;)<\/p>\n<p>plt.ylabel(&#39;Frequency&#39;)<\/p>\n<p>plt.title(&#39;Histogram with Normal Distribution Overlay&#39;)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u672c\u6587\uff0c\u6211\u4eec\u4e86\u89e3\u4e86\u5982\u4f55\u5728Python\u4e2d\u5c06\u6b63\u6001\u5206\u5e03\u56fe\u53e0\u52a0\u5230\u76f4\u65b9\u56fe\u4e0a\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\u52a0\u8f7d\u6570\u636e\u3001\u7ed8\u5236\u76f4\u65b9\u56fe\u3001\u8ba1\u7b97\u6b63\u6001\u5206\u5e03\u53c2\u6570\u3001\u7ed8\u5236\u6b63\u6001\u5206\u5e03\u66f2\u7ebf\u7b49\u3002\u6b64\u5916\uff0c\u6211\u4eec\u8fd8\u63a2\u8ba8\u4e86\u4f7f\u7528Seaborn\u5e93\u589e\u5f3a\u56fe\u5f62\u6548\u679c\u3001\u5904\u7406\u4e0d\u540c\u7c7b\u578b\u7684\u6570\u636e\u4ee5\u53ca\u6dfb\u52a0\u56fe\u4f8b\u548c\u6ce8\u91ca\u7b49\u9ad8\u7ea7\u6280\u5de7\u3002\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u4f60\u53ef\u4ee5\u66f4\u597d\u5730\u7406\u89e3\u548c\u5c55\u793a\u6570\u636e\u7684\u5206\u5e03\u7279\u5f81\u3002<\/p>\n<\/p>\n<p><p>\u5e0c\u671b\u8fd9\u4e9b\u4fe1\u606f\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff0c\u5982\u679c\u4f60\u6709\u66f4\u591a\u95ee\u9898\u6216\u9700\u8981\u8fdb\u4e00\u6b65\u7684\u89e3\u91ca\uff0c\u8bf7\u968f\u65f6\u8054\u7cfb\u6211\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u7ed8\u5236\u6b63\u6001\u5206\u5e03\u66f2\u7ebf\u4e0e\u76f4\u65b9\u56fe\u7684\u53e0\u52a0\u56fe\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528Matplotlib\u548cSeaborn\u7b49\u5e93\u6765\u7ed8\u5236\u76f4\u65b9\u56fe\u548c\u6b63\u6001\u5206\u5e03\u66f2\u7ebf\u3002\u9996\u5148\uff0c\u5229\u7528NumPy\u751f\u6210\u7b26\u5408\u6b63\u6001\u5206\u5e03\u7684\u6570\u636e\uff0c\u7136\u540e\u4f7f\u7528Matplotlib\u7684<code>hist<\/code>\u51fd\u6570\u7ed8\u5236\u76f4\u65b9\u56fe\uff0c\u63a5\u7740\u901a\u8fc7<code>scipy.stats<\/code>\u6a21\u5757\u8ba1\u7b97\u6b63\u6001\u5206\u5e03\u7684\u6982\u7387\u5bc6\u5ea6\u51fd\u6570\uff0c\u5e76\u5c06\u5176\u53e0\u52a0\u5230\u76f4\u65b9\u56fe\u4e0a\u3002\u5177\u4f53\u7684\u4ee3\u7801\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-python\">import numpy as np\nimport matplotlib.pyplot as plt\nimport seaborn as sns\nfrom scipy.stats import norm\n\n# \u751f\u6210\u6b63\u6001\u5206\u5e03\u6570\u636e\ndata = np.random.normal(loc=0, scale=1, size=1000)\n\n# \u7ed8\u5236\u76f4\u65b9\u56fe\nsns.histplot(data, bins=30, kde=False, stat=&#39;density&#39;, color=&#39;blue&#39;, alpha=0.6)\n\n# \u8ba1\u7b97\u6b63\u6001\u5206\u5e03\u66f2\u7ebf\nxmin, xmax = plt.xlim()\nx = np.linspace(xmin, xmax, 100)\np = norm.pdf(x, np.mean(data), np.std(data))\n\n# \u7ed8\u5236\u6b63\u6001\u5206\u5e03\u66f2\u7ebf\nplt.plot(x, p, &#39;k&#39;, linewidth=2)\nplt.title(&#39;\u76f4\u65b9\u56fe\u4e0e\u6b63\u6001\u5206\u5e03\u66f2\u7ebf\u53e0\u52a0\u56fe&#39;)\nplt.xlabel(&#39;\u503c&#39;)\nplt.ylabel(&#39;\u5bc6\u5ea6&#39;)\nplt.show()\n<\/code><\/pre>\n<p><strong>\u5728\u7ed8\u5236\u6b63\u6001\u5206\u5e03\u56fe\u65f6\uff0c\u6211\u5e94\u8be5\u9009\u62e9\u54ea\u4e2a\u5e93\uff1f<\/strong><br \/>\u9009\u62e9\u5e93\u65f6\uff0c\u5e38\u7528\u7684\u6709Matplotlib\u548cSeaborn\u3002Matplotlib\u63d0\u4f9b\u4e86\u57fa\u672c\u7684\u7ed8\u56fe\u529f\u80fd\uff0c\u9002\u5408\u81ea\u5b9a\u4e49\u7ed8\u56fe\uff0c\u800cSeaborn\u5728\u6570\u636e\u53ef\u89c6\u5316\u4e0a\u66f4\u4e3a\u7f8e\u89c2\uff0c\u4e14\u63d0\u4f9b\u4e86\u66f4\u9ad8\u5c42\u6b21\u7684\u63a5\u53e3\u6765\u7b80\u5316\u7ed8\u56fe\u8fc7\u7a0b\u3002\u5982\u679c\u9700\u8981\u66f4\u7f8e\u89c2\u7684\u56fe\u5f62\uff0c\u53ef\u4ee5\u9009\u62e9Seaborn\uff1b\u82e5\u9700\u8981\u66f4\u591a\u7684\u7075\u6d3b\u6027\u548c\u63a7\u5236\uff0cMatplotlib\u662f\u66f4\u597d\u7684\u9009\u62e9\u3002<\/p>\n<p><strong>\u53e0\u52a0\u6b63\u6001\u5206\u5e03\u56fe\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6709\u54ea\u4e9b\u5e38\u89c1\u7684\u9519\u8bef\u9700\u8981\u6ce8\u610f\uff1f<\/strong><br \/>\u5728\u53e0\u52a0\u6b63\u6001\u5206\u5e03\u56fe\u65f6\uff0c\u5e38\u89c1\u7684\u9519\u8bef\u5305\u62ec\u672a\u5c06\u76f4\u65b9\u56fe\u7684y\u8f74\u8bbe\u7f6e\u4e3a\u5bc6\u5ea6\uff08<code>stat=&#39;density&#39;<\/code>\uff09\uff0c\u8fd9\u4f1a\u5bfc\u81f4\u6b63\u6001\u5206\u5e03\u66f2\u7ebf\u548c\u76f4\u65b9\u56fe\u7684\u6bd4\u4f8b\u4e0d\u5339\u914d\u3002\u6b64\u5916\uff0c\u6570\u636e\u7684\u6807\u51c6\u5316\u5904\u7406\u4e5f\u975e\u5e38\u91cd\u8981\uff0c\u786e\u4fdd\u6b63\u6001\u5206\u5e03\u66f2\u7ebf\u7684\u5747\u503c\u548c\u6807\u51c6\u5dee\u4e0e\u76f4\u65b9\u56fe\u7684\u6570\u636e\u76f8\u7b26\uff0c\u4ee5\u4fbf\u4e8e\u6b63\u786e\u53e0\u52a0\u3002<\/p>\n<p><strong>\u5982\u4f55\u8c03\u6574\u6b63\u6001\u5206\u5e03\u66f2\u7ebf\u7684\u6837\u5f0f\u4ee5\u66f4\u597d\u5730\u4e0e\u76f4\u65b9\u56fe\u5339\u914d\uff1f<\/strong><br \/>\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539<code>plt.plot<\/code>\u51fd\u6570\u4e2d\u7684\u53c2\u6570\u6765\u8c03\u6574\u66f2\u7ebf\u7684\u6837\u5f0f\uff0c\u4f8b\u5982\u6539\u53d8\u7ebf\u6761\u989c\u8272\u3001\u5bbd\u5ea6\u3001\u6837\u5f0f\u7b49\u3002\u793a\u4f8b\u4e2d\u4f7f\u7528\u4e86<code>linewidth=2<\/code>\u6765\u52a0\u7c97\u7ebf\u6761\uff0c\u53ef\u4ee5\u901a\u8fc7\u4fee\u6539<code>color<\/code>\u53c2\u6570\u6765\u9009\u62e9\u4e0d\u540c\u7684\u989c\u8272\u3002\u6b64\u5916\uff0c\u8fd8\u53ef\u4ee5\u4f7f\u7528<code>linestyle<\/code>\u53c2\u6570\u6765\u8bbe\u7f6e\u7ebf\u6761\u7684\u6837\u5f0f\uff0c\u4f8b\u5982\u865a\u7ebf\u6216\u70b9\u7ebf\uff0c\u4ece\u800c\u4f7f\u66f2\u7ebf\u5728\u89c6\u89c9\u4e0a\u4e0e\u76f4\u65b9\u56fe\u66f4\u534f\u8c03\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528Matplotlib\u548cSciPy\u5e93\uff0c\u5c06\u6b63\u6001\u5206\u5e03\u56fe\u53e0\u52a0\u5230\u76f4\u65b9\u56fe\u4e0a\u3002\u5177\u4f53\u6b65\u9aa4\u5305\u62ec\u52a0\u8f7d [&hellip;]","protected":false},"author":3,"featured_media":1136266,"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\/1136256"}],"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=1136256"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1136256\/revisions"}],"predecessor-version":[{"id":1136270,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1136256\/revisions\/1136270"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1136266"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1136256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1136256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1136256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}