{"id":937718,"date":"2024-12-26T19:57:23","date_gmt":"2024-12-26T11:57:23","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/937718.html"},"modified":"2024-12-26T19:57:25","modified_gmt":"2024-12-26T11:57:25","slug":"python%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8sin","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/937718.html","title":{"rendered":"python\u5982\u4f55\u4f7f\u7528sin"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25073427\/e2ead3c6-2b67-47f5-ba8f-b41c990dab4b.webp\" alt=\"python\u5982\u4f55\u4f7f\u7528sin\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u4f7f\u7528sin\u51fd\u6570\u4e3b\u8981\u901a\u8fc7\u5f15\u5165math\u6a21\u5757\u3001\u5229\u7528numpy\u5e93\u63d0\u4f9b\u7684\u529f\u80fd\u3001\u7ed3\u5408matplotlib\u8fdb\u884c\u53ef\u89c6\u5316\u5c55\u793a<\/strong>\u3002\u5176\u4e2d\uff0c\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u901a\u8fc7math\u6a21\u5757\u4e2d\u7684sin\u51fd\u6570\u8fdb\u884c\u8ba1\u7b97\uff0c\u56e0\u4e3a\u5b83\u5185\u7f6e\u4e8ePython\u6807\u51c6\u5e93\u4e2d\uff0c\u975e\u5e38\u65b9\u4fbf\u3002\u6b64\u5916\uff0cnumpy\u5e93\u7684sin\u51fd\u6570\u652f\u6301\u6570\u7ec4\u64cd\u4f5c\uff0c\u66f4\u9002\u5408\u9700\u8981\u8fdb\u884c\u5927\u91cf\u6570\u636e\u5904\u7406\u7684\u573a\u666f\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e09\u79cd\u65b9\u6cd5\uff0c\u5e76\u7ed3\u5408\u5177\u4f53\u4f8b\u5b50\u8fdb\u884c\u8bf4\u660e\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5f15\u5165math\u6a21\u5757\u8ba1\u7b97sin<\/p>\n<\/p>\n<p><p>Python\u7684math\u6a21\u5757\u63d0\u4f9b\u4e86\u4e00\u7cfb\u5217\u6570\u5b66\u8fd0\u7b97\u51fd\u6570\uff0c\u5176\u4e2d\u5305\u62ecsin\u51fd\u6570\u3002\u8981\u4f7f\u7528sin\u51fd\u6570\uff0c\u9996\u5148\u9700\u8981\u5bfc\u5165math\u6a21\u5757\u3002math.sin\u51fd\u6570\u63a5\u53d7\u7684\u53c2\u6570\u662f\u5f27\u5ea6\u503c\uff0c\u800c\u4e0d\u662f\u89d2\u5ea6\u503c\uff0c\u56e0\u6b64\u5728\u8ba1\u7b97\u4e4b\u524d\uff0c\u9700\u8981\u5c06\u89d2\u5ea6\u8f6c\u6362\u4e3a\u5f27\u5ea6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import math<\/p>\n<h2><strong>\u5c06\u89d2\u5ea6\u8f6c\u6362\u4e3a\u5f27\u5ea6<\/strong><\/h2>\n<p>angle_in_degrees = 30<\/p>\n<p>angle_in_radians = math.radians(angle_in_degrees)<\/p>\n<h2><strong>\u8ba1\u7b97sin\u503c<\/strong><\/h2>\n<p>sin_value = math.sin(angle_in_radians)<\/p>\n<p>print(f&quot;The sine of {angle_in_degrees} degrees is {sin_value}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u5c0630\u5ea6\u8f6c\u6362\u4e3a\u5f27\u5ea6\uff0c\u7136\u540e\u4f7f\u7528math.sin\u51fd\u6570\u8ba1\u7b97\u5176\u6b63\u5f26\u503c\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u5229\u7528numpy\u5e93\u5904\u7406\u6570\u7ec4\u6570\u636e<\/p>\n<\/p>\n<p><p>\u5f53\u9700\u8981\u5bf9\u4e00\u7ec4\u6570\u636e\u8fdb\u884c\u6b63\u5f26\u8ba1\u7b97\u65f6\uff0cnumpy\u5e93\u662f\u4e00\u4e2a\u5f88\u597d\u7684\u9009\u62e9\u3002numpy\u4e0d\u4ec5\u80fd\u591f\u5904\u7406\u5355\u4e2a\u6570\u503c\uff0c\u8fd8\u80fd\u76f4\u63a5\u5bf9\u6570\u7ec4\u8fdb\u884c\u64cd\u4f5c\uff0c\u8fd9\u5bf9\u4e8e\u9700\u8981\u5904\u7406\u5927\u91cf\u6570\u636e\u7684\u79d1\u5b66\u8ba1\u7b97\u975e\u5e38\u6709\u5e2e\u52a9\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u5305\u542b\u89d2\u5ea6\u7684\u6570\u7ec4<\/strong><\/h2>\n<p>angles_in_degrees = np.array([0, 30, 45, 60, 90])<\/p>\n<h2><strong>\u5c06\u89d2\u5ea6\u8f6c\u6362\u4e3a\u5f27\u5ea6<\/strong><\/h2>\n<p>angles_in_radians = np.radians(angles_in_degrees)<\/p>\n<h2><strong>\u8ba1\u7b97sin\u503c<\/strong><\/h2>\n<p>sin_values = np.sin(angles_in_radians)<\/p>\n<p>print(f&quot;Sine values for angles {angles_in_degrees} degrees are {sin_values}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0cnumpy\u7684radians\u548csin\u51fd\u6570\u88ab\u7528\u6765\u6279\u91cf\u5904\u7406\u6570\u7ec4\u6570\u636e\uff0c\u7ed3\u679c\u8fd4\u56de\u4e00\u4e2a\u5305\u542b\u6bcf\u4e2a\u89d2\u5ea6\u5bf9\u5e94\u6b63\u5f26\u503c\u7684\u6570\u7ec4\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u7ed3\u5408matplotlib\u8fdb\u884c\u53ef\u89c6\u5316<\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u66f4\u597d\u5730\u7406\u89e3sin\u51fd\u6570\u7684\u6027\u8d28\uff0c\u53ef\u4ee5\u4f7f\u7528matplotlib\u5e93\u5c06sin\u51fd\u6570\u7684\u7ed3\u679c\u53ef\u89c6\u5316\u3002\u901a\u8fc7\u7ed8\u5236\u6b63\u5f26\u66f2\u7ebf\uff0c\u53ef\u4ee5\u76f4\u89c2\u5730\u770b\u5230\u6b63\u5f26\u51fd\u6570\u7684\u5468\u671f\u6027\u548c\u632f\u5e45\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>\u521b\u5efa\u4e00\u4e2a\u5305\u542b0\u52302\u03c0\u7684\u7b49\u95f4\u9694\u6570\u503c\u7684\u6570\u7ec4<\/strong><\/h2>\n<p>x = np.linspace(0, 2 * np.pi, 100)<\/p>\n<h2><strong>\u8ba1\u7b97sin\u503c<\/strong><\/h2>\n<p>y = np.sin(x)<\/p>\n<h2><strong>\u7ed8\u5236\u6b63\u5f26\u66f2\u7ebf<\/strong><\/h2>\n<p>plt.plot(x, y)<\/p>\n<p>plt.title(&#39;Sine Function&#39;)<\/p>\n<p>plt.xlabel(&#39;Radians&#39;)<\/p>\n<p>plt.ylabel(&#39;sin(x)&#39;)<\/p>\n<p>plt.grid(True)<\/p>\n<p>plt.show()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u4f8b\u5b50\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528matplotlib\u7ed8\u5236sin\u51fd\u6570\u7684\u56fe\u5f62\uff0cx\u8f74\u8868\u793a\u5f27\u5ea6\uff0cy\u8f74\u8868\u793asin\u503c\u3002\u901a\u8fc7\u56fe\u5f62\u53ef\u4ee5\u770b\u5230sin\u51fd\u6570\u7684\u6ce2\u52a8\u60c5\u51b5\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001sin\u51fd\u6570\u7684\u5e94\u7528\u573a\u666f<\/p>\n<\/p>\n<p><p>\u6b63\u5f26\u51fd\u6570\u5728\u8bb8\u591a\u79d1\u5b66\u548c\u5de5\u7a0b\u9886\u57df\u90fd\u6709\u5e7f\u6cdb\u7684\u5e94\u7528\uff0c\u5305\u62ec\u4fe1\u53f7\u5904\u7406\u3001\u97f3\u9891\u5de5\u7a0b\u3001\u5929\u6587\u5b66\u548c\u7269\u7406\u5b66\u7b49\u3002\u5728\u4fe1\u53f7\u5904\u7406\u4e2d\uff0c\u6b63\u5f26\u6ce2\u662f\u57fa\u672c\u7684\u6ce2\u5f62\u4e4b\u4e00\uff0c\u8bb8\u591a\u590d\u6742\u7684\u4fe1\u53f7\u53ef\u4ee5\u901a\u8fc7\u6b63\u5f26\u6ce2\u7684\u53e0\u52a0\u6765\u8868\u793a\u3002\u5728\u97f3\u9891\u5de5\u7a0b\u4e2d\uff0c\u6b63\u5f26\u6ce2\u7528\u4e8e\u5408\u6210\u548c\u5206\u6790\u58f0\u97f3\u4fe1\u53f7\u3002\u5728\u5929\u6587\u5b66\u4e2d\uff0c\u6b63\u5f26\u51fd\u6570\u7528\u4e8e\u63cf\u8ff0\u5929\u4f53\u7684\u8fd0\u52a8\u8f68\u8ff9\u3002\u5728\u7269\u7406\u5b66\u4e2d\uff0c\u6b63\u5f26\u51fd\u6570\u7528\u4e8e\u5206\u6790\u632f\u52a8\u548c\u6ce2\u52a8\u73b0\u8c61\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u6df1\u5165\u7406\u89e3sin\u51fd\u6570\u7684\u6570\u5b66\u6027\u8d28<\/p>\n<\/p>\n<p><p>\u6b63\u5f26\u51fd\u6570\u662f\u4e00\u4e2a\u5468\u671f\u51fd\u6570\uff0c\u5176\u5468\u671f\u4e3a2\u03c0\u3002\u8fd9\u610f\u5473\u7740\u5bf9\u4e8e\u4efb\u610f\u5b9e\u6570x\uff0c\u6709sin(x) = sin(x + 2\u03c0k)\uff0c\u5176\u4e2dk\u4e3a\u6574\u6570\u3002\u6b63\u5f26\u51fd\u6570\u7684\u632f\u5e45\u4e3a1\uff0c\u5373\u5176\u53d6\u503c\u8303\u56f4\u4e3a[-1, 1]\u3002\u6b63\u5f26\u51fd\u6570\u57280\u548c\u03c0\u5904\u53d6\u503c\u4e3a0\uff0c\u5728\u03c0\/2\u5904\u53d6\u503c\u4e3a1\uff0c\u57283\u03c0\/2\u5904\u53d6\u503c\u4e3a-1\u3002\u8fd9\u4e9b\u6027\u8d28\u4f7f\u5f97\u6b63\u5f26\u51fd\u6570\u5728\u8bb8\u591a\u6570\u5b66\u6a21\u578b\u4e2d\u626e\u6f14\u7740\u91cd\u8981\u89d2\u8272\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001sin\u51fd\u6570\u7684\u6570\u503c\u8ba1\u7b97\u6ce8\u610f\u4e8b\u9879<\/p>\n<\/p>\n<p><p>\u5728\u4f7f\u7528sin\u51fd\u6570\u8fdb\u884c\u6570\u503c\u8ba1\u7b97\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u8ba1\u7b97\u7cbe\u5ea6\u548c\u6570\u503c\u7a33\u5b9a\u6027\u3002\u7531\u4e8e\u8ba1\u7b97\u673a\u7684\u6d6e\u70b9\u8fd0\u7b97\u7cbe\u5ea6\u6709\u9650\uff0c\u5728\u5904\u7406\u6781\u5c0f\u6216\u6781\u5927\u7684\u6570\u503c\u65f6\uff0c\u53ef\u80fd\u4f1a\u4ea7\u751f\u6570\u503c\u8bef\u5dee\u3002\u4e3a\u4e86\u63d0\u9ad8\u8ba1\u7b97\u7cbe\u5ea6\uff0c\u53ef\u4ee5\u4f7f\u7528numpy\u7684\u9ad8\u7cbe\u5ea6\u6570\u636e\u7c7b\u578b\u6216\u4f7f\u7528\u4e13\u95e8\u7684\u6570\u503c\u8ba1\u7b97\u5e93\u3002\u6b64\u5916\uff0c\u5728\u5904\u7406\u5468\u671f\u6027\u6570\u636e\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u5468\u671f\u7684\u9009\u62e9\u548c\u6570\u636e\u7684\u5bf9\u9f50\uff0c\u4ee5\u907f\u514d\u5468\u671f\u6027\u8bef\u5dee\u3002<\/p>\n<\/p>\n<p><p>\u4e03\u3001sin\u51fd\u6570\u7684\u6269\u5c55\u5e94\u7528<\/p>\n<\/p>\n<p><p>\u9664\u4e86\u57fa\u672c\u7684\u6b63\u5f26\u8ba1\u7b97\uff0csin\u51fd\u6570\u8fd8\u53ef\u4ee5\u4e0e\u5176\u4ed6\u6570\u5b66\u51fd\u6570\u7ed3\u5408\u4f7f\u7528\uff0c\u4ee5\u89e3\u51b3\u66f4\u590d\u6742\u7684\u95ee\u9898\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528\u5085\u91cc\u53f6\u53d8\u6362\u5c06\u4fe1\u53f7\u5206\u89e3\u4e3a\u4e00\u7cfb\u5217\u6b63\u5f26\u6ce2\u548c\u4f59\u5f26\u6ce2\uff0c\u4ee5\u8fdb\u884c\u9891\u8c31\u5206\u6790\u3002\u901a\u8fc7\u4e0e\u5bfc\u6570\u548c\u79ef\u5206\u7684\u7ed3\u5408\uff0c\u6b63\u5f26\u51fd\u6570\u53ef\u4ee5\u7528\u4e8e\u6c42\u89e3\u5fae\u5206\u65b9\u7a0b\u548c\u79ef\u5206\u65b9\u7a0b\u3002\u6b64\u5916\uff0c\u6b63\u5f26\u51fd\u6570\u8fd8\u53ef\u4ee5\u7528\u4e8e\u751f\u6210\u968f\u673a\u4fe1\u53f7\u548c\u6a21\u62df\u81ea\u7136\u73b0\u8c61\uff0c\u5982\u6d77\u6d6a\u548c\u5730\u9707\u3002<\/p>\n<\/p>\n<p><p>\u516b\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u603b\u4e4b\uff0cPython\u4e2d\u7684sin\u51fd\u6570\u662f\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684\u6570\u5b66\u5de5\u5177\uff0c\u5e7f\u6cdb\u5e94\u7528\u4e8e\u79d1\u5b66\u3001\u5de5\u7a0b\u548c\u6570\u5b66\u9886\u57df\u3002\u901a\u8fc7math\u6a21\u5757\u548cnumpy\u5e93\uff0c\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6b63\u5f26\u8ba1\u7b97\uff0c\u5e76\u7ed3\u5408matplotlib\u8fdb\u884c\u53ef\u89c6\u5316\u5c55\u793a\u3002\u6df1\u5165\u7406\u89e3sin\u51fd\u6570\u7684\u6570\u5b66\u6027\u8d28\u548c\u5e94\u7528\u573a\u666f\uff0c\u6709\u52a9\u4e8e\u66f4\u597d\u5730\u5229\u7528\u8fd9\u4e00\u5de5\u5177\u89e3\u51b3\u5b9e\u9645\u95ee\u9898\u3002\u5728\u8fdb\u884c\u6570\u503c\u8ba1\u7b97\u65f6\uff0c\u5e94\u6ce8\u610f\u8ba1\u7b97\u7cbe\u5ea6\u548c\u6570\u503c\u7a33\u5b9a\u6027\uff0c\u4ee5\u786e\u4fdd\u7ed3\u679c\u7684\u51c6\u786e\u6027\u3002\u901a\u8fc7\u4e0d\u65ad\u63a2\u7d22sin\u51fd\u6570\u7684\u6269\u5c55\u5e94\u7528\uff0c\u53ef\u4ee5\u66f4\u597d\u5730\u5e94\u5bf9\u590d\u6742\u7684\u79d1\u5b66\u548c\u5de5\u7a0b\u6311\u6218\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5bfc\u5165\u6570\u5b66\u5e93\u4ee5\u4f7f\u7528sin\u51fd\u6570\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u5bfc\u5165<code>math<\/code>\u6a21\u5757\u6765\u4f7f\u7528<code>sin<\/code>\u51fd\u6570\u3002\u53ea\u9700\u5728\u4ee3\u7801\u7684\u5f00\u5934\u6dfb\u52a0<code>import math<\/code>\uff0c\u7136\u540e\u5c31\u53ef\u4ee5\u8c03\u7528<code>math.sin()<\/code>\u6765\u8ba1\u7b97\u6b63\u5f26\u503c\u3002\u786e\u4fdd\u4f20\u5165\u7684\u89d2\u5ea6\u503c\u662f\u4ee5\u5f27\u5ea6\u4e3a\u5355\u4f4d\u7684\u3002<\/p>\n<p><strong>sin\u51fd\u6570\u7684\u8f93\u5165\u53c2\u6570\u662f\u4ec0\u4e48\uff1f<\/strong><br \/><code>sine<\/code>\u51fd\u6570\u63a5\u53d7\u4e00\u4e2a\u53c2\u6570\uff0c\u8be5\u53c2\u6570\u662f\u4ee5\u5f27\u5ea6\u4e3a\u5355\u4f4d\u7684\u89d2\u5ea6\u503c\u3002\u4f8b\u5982\uff0c\u8981\u8ba1\u7b9730\u5ea6\u7684\u6b63\u5f26\u503c\uff0c\u9700\u8981\u5c0630\u5ea6\u8f6c\u6362\u4e3a\u5f27\u5ea6\uff0c\u8ba1\u7b97\u65b9\u5f0f\u4e3a<code>30 * (math.pi \/ 180)<\/code>\uff0c\u7136\u540e\u5c06\u7ed3\u679c\u4f20\u9012\u7ed9<code>math.sin()<\/code>\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406\u89d2\u5ea6\u4e0e\u5f27\u5ea6\u4e4b\u95f4\u7684\u8f6c\u6362\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u89d2\u5ea6\u4e0e\u5f27\u5ea6\u4e4b\u95f4\u7684\u8f6c\u6362\u53ef\u4ee5\u901a\u8fc7\u7b80\u5355\u7684\u6570\u5b66\u516c\u5f0f\u5b8c\u6210\u3002\u5c06\u89d2\u5ea6\u8f6c\u6362\u4e3a\u5f27\u5ea6\u7684\u516c\u5f0f\u4e3a\uff1a\u5f27\u5ea6 = \u89d2\u5ea6 \u00d7 (\u03c0\/180)\u3002\u4f7f\u7528<code>math.radians()<\/code>\u51fd\u6570\u4e5f\u53ef\u4ee5\u76f4\u63a5\u5c06\u89d2\u5ea6\u8f6c\u6362\u4e3a\u5f27\u5ea6\uff0c\u8fd9\u6837\u53ef\u4ee5\u65b9\u4fbf\u5730\u8ba1\u7b97\u6b63\u5f26\u503c\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u7ed8\u5236sin\u51fd\u6570\u7684\u56fe\u5f62\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528<code>matplotlib<\/code>\u5e93\u6765\u7ed8\u5236\u6b63\u5f26\u51fd\u6570\u7684\u56fe\u5f62\u3002\u9996\u5148\uff0c\u751f\u6210\u4e00\u7cfb\u5217\u89d2\u5ea6\u503c\uff0c\u7136\u540e\u4f7f\u7528<code>math.sin()<\/code>\u8ba1\u7b97\u8fd9\u4e9b\u503c\u7684\u6b63\u5f26\u503c\u3002\u6700\u540e\uff0c\u5c06\u89d2\u5ea6\u548c\u6b63\u5f26\u503c\u4f5c\u4e3ax\u548cy\u5750\u6807\u4f20\u9012\u7ed9<code>plt.plot()<\/code>\u51fd\u6570\u8fdb\u884c\u7ed8\u5236\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u53ef\u4ee5\u76f4\u89c2\u5730\u4e86\u89e3sin\u51fd\u6570\u7684\u6ce2\u52a8\u7279\u5f81\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u4f7f\u7528sin\u51fd\u6570\u4e3b\u8981\u901a\u8fc7\u5f15\u5165math\u6a21\u5757\u3001\u5229\u7528numpy\u5e93\u63d0\u4f9b\u7684\u529f\u80fd\u3001\u7ed3\u5408matplotlib\u8fdb [&hellip;]","protected":false},"author":3,"featured_media":937724,"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\/937718"}],"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=937718"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/937718\/revisions"}],"predecessor-version":[{"id":937726,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/937718\/revisions\/937726"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/937724"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=937718"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=937718"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=937718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}