{"id":952196,"date":"2024-12-27T01:22:46","date_gmt":"2024-12-26T17:22:46","guid":{"rendered":""},"modified":"2024-12-27T01:22:48","modified_gmt":"2024-12-26T17:22:48","slug":"python%e5%a6%82%e4%bd%95%e8%ae%a1%e7%ae%97log","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/952196.html","title":{"rendered":"python\u5982\u4f55\u8ba1\u7b97log"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25090028\/abd5157a-b677-48d1-b8f5-1bd1c5dae73f.webp\" alt=\"python\u5982\u4f55\u8ba1\u7b97log\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u8ba1\u7b97\u5bf9\u6570\uff08log\uff09\u53ef\u4ee5\u4f7f\u7528math\u6a21\u5757\u4e2d\u7684<code>log()<\/code>\u51fd\u6570\u3001numpy\u5e93\u4e2d\u7684<code>log()<\/code>\u51fd\u6570\u4ee5\u53casympy\u5e93\u4e2d\u7684<code>log()<\/code>\u51fd\u6570\u3002math\u6a21\u5757\u662f\u5904\u7406\u5355\u4e2a\u6570\u503c\u8ba1\u7b97\u7684\u6700\u4f73\u9009\u62e9\uff0c\u800cnumpy\u5e93\u9002\u7528\u4e8e\u6570\u7ec4\u548c\u77e9\u9635\u7684\u6279\u91cf\u8ba1\u7b97\uff0csympy\u5e93\u5219\u9002\u5408\u7b26\u53f7\u8fd0\u7b97\u3002<\/strong><\/p>\n<\/p>\n<p><p>Python\u8bed\u8a00\u63d0\u4f9b\u4e86\u591a\u79cd\u8ba1\u7b97\u5bf9\u6570\u7684\u65b9\u6cd5\uff0c\u5177\u4f53\u9009\u62e9\u53d6\u51b3\u4e8e\u4f60\u7684\u9700\u6c42\u548c\u6570\u636e\u7c7b\u578b\u3002\u4ee5\u4e0b\u662f\u8fd9\u4e09\u79cd\u65b9\u6cd5\u7684\u8be6\u7ec6\u63cf\u8ff0\uff1a<\/p>\n<\/p>\n<p><p>\u4e00\u3001MATH\u6a21\u5757<\/p>\n<\/p>\n<p><p><code>math<\/code>\u6a21\u5757\u662fPython\u6807\u51c6\u5e93\u7684\u4e00\u90e8\u5206\uff0c\u63d0\u4f9b\u4e86\u591a\u79cd\u6570\u5b66\u51fd\u6570\uff0c\u5305\u62ec\u8ba1\u7b97\u5bf9\u6570\u7684<code>log()<\/code>\u51fd\u6570\u3002<code>math.log(x[, base])<\/code>\u51fd\u6570\u53ef\u4ee5\u8ba1\u7b97x\u7684\u5bf9\u6570\uff0c\u9ed8\u8ba4\u4ee5\u81ea\u7136\u5bf9\u6570\u4e3a\u57fa\u7840\uff08\u5373\u4ee5e\u4e3a\u5e95\uff09\uff0c\u5982\u679c\u9700\u8981\u8ba1\u7b97\u5176\u4ed6\u5e95\u6570\u7684\u5bf9\u6570\uff0c\u53ef\u4ee5\u901a\u8fc7base\u53c2\u6570\u6307\u5b9a\u3002<\/p>\n<\/p>\n<p><h3>\u4f7f\u7528\u65b9\u6cd5<\/h3>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<h2><strong>\u8ba1\u7b97\u81ea\u7136\u5bf9\u6570<\/strong><\/h2>\n<p>result_natural = math.log(10)<\/p>\n<p>print(f&quot;\u81ea\u7136\u5bf9\u6570: {result_natural}&quot;)<\/p>\n<h2><strong>\u8ba1\u7b97\u4ee510\u4e3a\u5e95\u7684\u5bf9\u6570<\/strong><\/h2>\n<p>result_base10 = math.log(10, 10)<\/p>\n<p>print(f&quot;\u4ee510\u4e3a\u5e95\u7684\u5bf9\u6570: {result_base10}&quot;)<\/p>\n<h2><strong>\u8ba1\u7b97\u4ee52\u4e3a\u5e95\u7684\u5bf9\u6570<\/strong><\/h2>\n<p>result_base2 = math.log(10, 2)<\/p>\n<p>print(f&quot;\u4ee52\u4e3a\u5e95\u7684\u5bf9\u6570: {result_base2}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u7279\u70b9<\/h3>\n<\/p>\n<ul>\n<li><strong>\u7b80\u5355\u6613\u7528<\/strong>\uff1a\u9002\u5408\u5355\u4e2a\u6570\u503c\u7684\u8ba1\u7b97\u3002<\/li>\n<li><strong>\u7cbe\u5ea6\u9ad8<\/strong>\uff1a\u9002\u7528\u4e8e\u5927\u591a\u6570\u5e38\u89c1\u7684\u79d1\u5b66\u8ba1\u7b97\u3002<\/li>\n<li><strong>\u4f9d\u8d56\u6807\u51c6\u5e93<\/strong>\uff1a\u4e0d\u9700\u8981\u989d\u5916\u5b89\u88c5\u7b2c\u4e09\u65b9\u5e93\u3002<\/li>\n<\/ul>\n<p><p>\u4e8c\u3001NUMPY\u5e93<\/p>\n<\/p>\n<p><p><code>numpy<\/code>\u662f\u4e00\u4e2a\u5f3a\u5927\u7684\u79d1\u5b66\u8ba1\u7b97\u5e93\uff0c\u63d0\u4f9b\u4e86\u5bf9\u6570\u7ec4\u548c\u77e9\u9635\u7684\u9ad8\u6548\u64cd\u4f5c\u3002<code>numpy.log()<\/code>\u51fd\u6570\u53ef\u4ee5\u5bf9\u6570\u7ec4\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u8ba1\u7b97\u81ea\u7136\u5bf9\u6570\uff0c\u800c<code>numpy.log10()<\/code>\u548c<code>numpy.log2()<\/code>\u5219\u5206\u522b\u7528\u4e8e\u8ba1\u7b97\u4ee510\u4e3a\u5e95\u548c\u4ee52\u4e3a\u5e95\u7684\u5bf9\u6570\u3002<\/p>\n<\/p>\n<p><h3>\u4f7f\u7528\u65b9\u6cd5<\/h3>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u6570\u7ec4<\/strong><\/h2>\n<p>array = np.array([1, 10, 100, 1000])<\/p>\n<h2><strong>\u8ba1\u7b97\u81ea\u7136\u5bf9\u6570<\/strong><\/h2>\n<p>log_natural = np.log(array)<\/p>\n<p>print(f&quot;\u81ea\u7136\u5bf9\u6570: {log_natural}&quot;)<\/p>\n<h2><strong>\u8ba1\u7b97\u4ee510\u4e3a\u5e95\u7684\u5bf9\u6570<\/strong><\/h2>\n<p>log_base10 = np.log10(array)<\/p>\n<p>print(f&quot;\u4ee510\u4e3a\u5e95\u7684\u5bf9\u6570: {log_base10}&quot;)<\/p>\n<h2><strong>\u8ba1\u7b97\u4ee52\u4e3a\u5e95\u7684\u5bf9\u6570<\/strong><\/h2>\n<p>log_base2 = np.log2(array)<\/p>\n<p>print(f&quot;\u4ee52\u4e3a\u5e95\u7684\u5bf9\u6570: {log_base2}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u7279\u70b9<\/h3>\n<\/p>\n<ul>\n<li><strong>\u9002\u5408\u6279\u91cf\u8ba1\u7b97<\/strong>\uff1a\u5bf9\u6570\u7ec4\u548c\u77e9\u9635\u8fdb\u884c\u64cd\u4f5c\u3002<\/li>\n<li><strong>\u9ad8\u6548<\/strong>\uff1a\u5904\u7406\u5927\u6570\u636e\u96c6\u65f6\u901f\u5ea6\u5feb\u3002<\/li>\n<li><strong>\u4f9d\u8d56\u7b2c\u4e09\u65b9\u5e93<\/strong>\uff1a\u9700\u8981\u5b89\u88c5<code>numpy<\/code>\u5e93\u3002<\/li>\n<\/ul>\n<p><p>\u4e09\u3001SYMPY\u5e93<\/p>\n<\/p>\n<p><p><code>SymPy<\/code>\u662f\u4e00\u4e2a\u7528\u4e8e\u7b26\u53f7\u6570\u5b66\u8ba1\u7b97\u7684Python\u5e93\uff0c\u652f\u6301\u7b26\u53f7\u8fd0\u7b97\u548c\u4ee3\u6570\u8ba1\u7b97\u3002<code>sympy.log()<\/code>\u51fd\u6570\u53ef\u4ee5\u8ba1\u7b97\u7b26\u53f7\u8868\u8fbe\u5f0f\u7684\u5bf9\u6570\uff0c\u8fd9\u5bf9\u4e8e\u9700\u8981\u89e3\u6790\u5bf9\u6570\u8868\u8fbe\u5f0f\u5e76\u8fdb\u884c\u8fdb\u4e00\u6b65\u7b26\u53f7\u5316\u5904\u7406\u7684\u573a\u666f\u975e\u5e38\u6709\u7528\u3002<\/p>\n<\/p>\n<p><h3>\u4f7f\u7528\u65b9\u6cd5<\/h3>\n<\/p>\n<p><pre><code class=\"language-python\">from sympy import symbols, log<\/p>\n<h2><strong>\u5b9a\u4e49\u7b26\u53f7\u53d8\u91cf<\/strong><\/h2>\n<p>x = symbols(&#39;x&#39;)<\/p>\n<h2><strong>\u5b9a\u4e49\u4e00\u4e2a\u7b26\u53f7\u8868\u8fbe\u5f0f<\/strong><\/h2>\n<p>expr = log(x)<\/p>\n<h2><strong>\u8ba1\u7b97\u7b26\u53f7\u5bf9\u6570<\/strong><\/h2>\n<p>result = expr.subs(x, 10)<\/p>\n<p>print(f&quot;\u7b26\u53f7\u5bf9\u6570: {result}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u7279\u70b9<\/h3>\n<\/p>\n<ul>\n<li><strong>\u7b26\u53f7\u8fd0\u7b97<\/strong>\uff1a\u9002\u7528\u4e8e\u9700\u8981\u7b26\u53f7\u5316\u7ed3\u679c\u7684\u590d\u6742\u6570\u5b66\u8ba1\u7b97\u3002<\/li>\n<li><strong>\u7075\u6d3b\u6027\u9ad8<\/strong>\uff1a\u652f\u6301\u4ee3\u6570\u5316\u5904\u7406\u548c\u8868\u8fbe\u5f0f\u89e3\u6790\u3002<\/li>\n<li><strong>\u4f9d\u8d56\u7b2c\u4e09\u65b9\u5e93<\/strong>\uff1a\u9700\u8981\u5b89\u88c5<code>sympy<\/code>\u5e93\u3002<\/li>\n<\/ul>\n<p><p>\u56db\u3001\u5e94\u7528\u573a\u666f\u53ca\u6ce8\u610f\u4e8b\u9879<\/p>\n<\/p>\n<p><p>1\u3001\u79d1\u5b66\u8ba1\u7b97\u4e0e\u6570\u636e\u5206\u6790<\/p>\n<\/p>\n<p><p>\u5bf9\u6570\u8fd0\u7b97\u5728\u79d1\u5b66\u8ba1\u7b97\u548c\u6570\u636e\u5206\u6790\u4e2d\u975e\u5e38\u5e38\u89c1\u3002\u4f8b\u5982\uff0c\u5728\u7edf\u8ba1\u5b66\u4e2d\uff0c\u5bf9\u6570\u53d8\u6362\u7528\u4e8e\u5904\u7406\u975e\u6b63\u6001\u5206\u5e03\u7684\u6570\u636e\u4ee5\u6539\u5584\u6a21\u578b\u62df\u5408\u3002\u5728\u4fe1\u606f\u8bba\u4e2d\uff0c\u5bf9\u6570\u7528\u4e8e\u8ba1\u7b97\u4fe1\u606f\u71b5\u548c\u76f8\u5bf9\u71b5\u3002\u5728\u8fd9\u4e9b\u573a\u666f\u4e2d\uff0c\u9009\u62e9\u5408\u9002\u7684\u5e93\u81f3\u5173\u91cd\u8981\uff1a<code>math<\/code>\u6a21\u5757\u9002\u5408\u57fa\u7840\u8ba1\u7b97\uff0c<code>numpy<\/code>\u5e93\u5219\u9002\u5408\u5927\u89c4\u6a21\u6570\u636e\u5904\u7406\u3002<\/p>\n<\/p>\n<p><p>2\u3001<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u4e0e\u6df1\u5ea6\u5b66\u4e60<\/p>\n<\/p>\n<p><p>\u5728\u673a\u5668\u5b66\u4e60\u548c\u6df1\u5ea6\u5b66\u4e60\u4e2d\uff0c\u5bf9\u6570\u51fd\u6570\u5e38\u7528\u4e8e\u635f\u5931\u51fd\u6570\u7684\u5b9a\u4e49\uff08\u5982\u5bf9\u6570\u635f\u5931\uff09\u4ee5\u53ca\u6fc0\u6d3b\u51fd\u6570\uff08\u5982softmax\u51fd\u6570\uff09\u4e2d\u3002\u5bf9\u4e8e\u795e\u7ecf\u7f51\u7edc\u8bad\u7ec3\uff0c<code>numpy<\/code>\u5e93\u901a\u5e38\u662f\u8ba1\u7b97\u5bf9\u6570\u7684\u9996\u9009\uff0c\u56e0\u4e3a\u5b83\u80fd\u591f\u9ad8\u6548\u5730\u5904\u7406\u5927\u89c4\u6a21\u77e9\u9635\u8fd0\u7b97\u3002<\/p>\n<\/p>\n<p><p>3\u3001\u7b26\u53f7\u8ba1\u7b97\u4e0e\u89e3\u6790<\/p>\n<\/p>\n<p><p>\u5f53\u9700\u8981\u89e3\u6790\u6216\u7b80\u5316\u5bf9\u6570\u8868\u8fbe\u5f0f\u65f6\uff0c<code>sympy<\/code>\u5e93\u662f\u7406\u60f3\u7684\u9009\u62e9\u3002\u4f8b\u5982\uff0c\u5728\u89e3\u6790\u6570\u5b66\u516c\u5f0f\u6216\u8bc1\u660e\u8fc7\u7a0b\u4e2d\uff0c\u7b26\u53f7\u5bf9\u6570\u8ba1\u7b97\u53ef\u4ee5\u63d0\u4f9b\u66f4\u7cbe\u786e\u7684\u7ed3\u679c\u548c\u7b80\u5316\u7684\u8868\u8fbe\u5f0f\u3002\u6b64\u5916\uff0c<code>sympy<\/code>\u8fd8\u652f\u6301\u5c06\u7b26\u53f7\u8868\u8fbe\u5f0f\u8f6c\u6362\u4e3a\u6570\u503c\u8ba1\u7b97\uff0c\u4ee5\u4fbf\u5728\u9700\u8981\u65f6\u7ed3\u5408<code>math<\/code>\u6216<code>numpy<\/code>\u8fdb\u884c\u6570\u503c\u5206\u6790\u3002<\/p>\n<\/p>\n<p><p>4\u3001\u6ce8\u610f\u4e8b\u9879<\/p>\n<\/p>\n<ul>\n<li><strong>\u7cbe\u5ea6\u4e0e\u6027\u80fd<\/strong>\uff1a\u5bf9\u4e8e\u9700\u8981\u9ad8\u7cbe\u5ea6\u548c\u9ad8\u6027\u80fd\u7684\u8ba1\u7b97\uff0c\u4f18\u5148\u9009\u62e9<code>numpy<\/code>\u5e93\u3002<\/li>\n<li><strong>\u7b26\u53f7\u4e0e\u6570\u503c<\/strong>\uff1a\u5bf9\u4e8e\u9700\u8981\u7b26\u53f7\u5316\u7ed3\u679c\u7684\u573a\u666f\uff0c\u4f7f\u7528<code>sympy<\/code>\u5e93\u8fdb\u884c\u7b26\u53f7\u8fd0\u7b97\uff0c\u5e76\u5728\u5fc5\u8981\u65f6\u8f6c\u6362\u4e3a\u6570\u503c\u3002<\/li>\n<li><strong>\u5e95\u6570\u9009\u62e9<\/strong>\uff1a\u9ed8\u8ba4\u5bf9\u6570\u5e95\u6570\u4e3a\u81ea\u7136\u5bf9\u6570\uff0c\u9700\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5e95\u6570\u3002<\/li>\n<li><strong>\u5e93\u4f9d\u8d56<\/strong>\uff1a\u786e\u4fdd\u5728\u4f7f\u7528<code>numpy<\/code>\u6216<code>sympy<\/code>\u65f6\u6b63\u786e\u5b89\u88c5\u76f8\u5e94\u7684\u5e93\u3002<\/li>\n<\/ul>\n<p><p>\u4e94\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u8ba1\u7b97\u5bf9\u6570\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4f9b\u9009\u62e9\uff0c\u5177\u4f53\u9009\u62e9\u53d6\u51b3\u4e8e\u6570\u636e\u7c7b\u578b\u548c\u8ba1\u7b97\u9700\u6c42\u3002<code>math<\/code>\u6a21\u5757\u9002\u5408\u7b80\u5355\u7684\u6570\u503c\u8fd0\u7b97\uff0c<code>numpy<\/code>\u5e93\u9002\u5408\u5904\u7406\u6570\u7ec4\u548c\u77e9\u9635\u7684\u6279\u91cf\u8fd0\u7b97\uff0c\u800c<code>sympy<\/code>\u5e93\u5219\u4e3a\u7b26\u53f7\u8fd0\u7b97\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u652f\u6301\u3002\u901a\u8fc7\u5408\u7406\u9009\u62e9\u548c\u4f7f\u7528\u8fd9\u4e9b\u5de5\u5177\uff0c\u53ef\u4ee5\u9ad8\u6548\u5730\u5b8c\u6210\u5404\u79cd\u5bf9\u6570\u8ba1\u7b97\u4efb\u52a1\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>Python\u4e2d\u5982\u4f55\u4f7f\u7528\u5185\u7f6e\u51fd\u6570\u8ba1\u7b97\u5bf9\u6570\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>math<\/code>\u6a21\u5757\u4e2d\u7684<code>log()<\/code>\u51fd\u6570\u6765\u8ba1\u7b97\u5bf9\u6570\u3002\u8be5\u51fd\u6570\u53ef\u4ee5\u8ba1\u7b97\u81ea\u7136\u5bf9\u6570\uff08\u4ee5e\u4e3a\u5e95\uff09\u6216\u6307\u5b9a\u5e95\u6570\u7684\u5bf9\u6570\u3002\u4f7f\u7528\u65f6\u53ea\u9700\u5bfc\u5165<code>math<\/code>\u6a21\u5757\u5e76\u8c03\u7528<code>math.log(x, base)<\/code>\uff0c\u5176\u4e2d<code>x<\/code>\u4e3a\u9700\u8981\u8ba1\u7b97\u5bf9\u6570\u7684\u6570\u5b57\uff0c<code>base<\/code>\u4e3a\u5bf9\u6570\u7684\u5e95\u6570\uff0c\u82e5\u4e0d\u6307\u5b9a\u5219\u9ed8\u8ba4\u4e3ae\u3002<\/p>\n<p><strong>\u5982\u4f55\u8ba1\u7b97\u4ee510\u4e3a\u5e95\u7684\u5bf9\u6570\uff1f<\/strong><br \/>\u5bf9\u4e8e\u4ee510\u4e3a\u5e95\u7684\u5bf9\u6570\uff0cPython\u540c\u6837\u63d0\u4f9b\u4e86\u4fbf\u6377\u7684\u65b9\u6cd5\u3002\u53ef\u4ee5\u4f7f\u7528<code>math.log10(x)<\/code>\u51fd\u6570\uff0c\u8be5\u51fd\u6570\u4e13\u95e8\u7528\u4e8e\u8ba1\u7b97\u4ee510\u4e3a\u5e95\u7684\u5bf9\u6570\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u7528\u6237\u53ef\u4ee5\u76f4\u63a5\u5f97\u5230\u7ed3\u679c\uff0c\u907f\u514d\u4e86\u624b\u52a8\u6307\u5b9a\u5e95\u6570\u7684\u9ebb\u70e6\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u5904\u7406\u8d1f\u6570\u6216\u96f6\u7684\u5bf9\u6570\u8ba1\u7b97\uff1f<\/strong><br \/>\u5bf9\u6570\u51fd\u6570\u5728\u6570\u5b66\u4e0a\u5bf9\u4e8e\u8d1f\u6570\u548c\u96f6\u662f\u672a\u5b9a\u4e49\u7684\uff0c\u56e0\u6b64\u5728Python\u4e2d\u5c1d\u8bd5\u8ba1\u7b97\u8fd9\u4e9b\u503c\u5c06\u5bfc\u81f4<code>ValueError<\/code>\u3002\u5728\u8fdb\u884c\u5bf9\u6570\u8ba1\u7b97\u4e4b\u524d\uff0c\u5efa\u8bae\u4f7f\u7528\u6761\u4ef6\u8bed\u53e5\u68c0\u67e5\u8f93\u5165\u503c\u662f\u5426\u5927\u4e8e\u96f6\uff0c\u4ee5\u907f\u514d\u7a0b\u5e8f\u5d29\u6e83\u5e76\u63d0\u4f9b\u66f4\u53cb\u597d\u7684\u9519\u8bef\u63d0\u793a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u8ba1\u7b97\u5bf9\u6570\uff08log\uff09\u53ef\u4ee5\u4f7f\u7528math\u6a21\u5757\u4e2d\u7684log()\u51fd\u6570\u3001numpy\u5e93\u4e2d\u7684log()\u51fd\u6570\u4ee5\u53cas [&hellip;]","protected":false},"author":3,"featured_media":952199,"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\/952196"}],"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=952196"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/952196\/revisions"}],"predecessor-version":[{"id":952200,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/952196\/revisions\/952200"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/952199"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=952196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=952196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=952196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}