{"id":1022653,"date":"2024-12-27T13:36:51","date_gmt":"2024-12-27T05:36:51","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1022653.html"},"modified":"2024-12-27T13:36:54","modified_gmt":"2024-12-27T05:36:54","slug":"%e5%a6%82%e4%bd%95%e7%94%a8python%e8%ae%a1%e7%ae%97bml","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1022653.html","title":{"rendered":"\u5982\u4f55\u7528python\u8ba1\u7b97BML"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25165053\/3c841e26-bc5e-4438-9b36-727197b30594.webp\" alt=\"\u5982\u4f55\u7528python\u8ba1\u7b97BML\" \/><\/p>\n<p><p> \u5728Python\u4e2d\u8ba1\u7b97BMI\uff08Body Mass Index\uff0c\u8eab\u4f53\u8d28\u91cf\u6307\u6570\uff09\u662f\u4e00\u4e2a\u76f8\u5bf9\u7b80\u5355\u7684\u8fc7\u7a0b\u3002<strong>\u901a\u8fc7\u5b9a\u4e49\u4e00\u4e2a\u51fd\u6570\u3001\u4f7f\u7528\u516c\u5f0f\u548c\u9a8c\u8bc1\u6570\u636e\u8f93\u5165\u7684\u6709\u6548\u6027<\/strong>\uff0c\u6211\u4eec\u53ef\u4ee5\u51c6\u786e\u8ba1\u7b97BMI\u3002BMI\u7684\u8ba1\u7b97\u516c\u5f0f\u4e3a\uff1a\u4f53\u91cd\uff08\u5343\u514b\uff09\u9664\u4ee5\u8eab\u9ad8\uff08\u7c73\uff09\u7684\u5e73\u65b9\u3002<strong>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u786e\u4fdd\u8f93\u5165\u7684\u6570\u636e\u662f\u6709\u6548\u7684\uff0c\u907f\u514d\u53ef\u80fd\u7684\u9519\u8bef\uff0c\u5982\u8f93\u5165\u8d1f\u6570\u6216\u975e\u6570\u5b57\u5b57\u7b26<\/strong>\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001BMI\u8ba1\u7b97\u516c\u5f0f<\/h3>\n<\/p>\n<p><p>BMI\u662f\u901a\u8fc7\u4e00\u4e2a\u7b80\u5355\u7684\u6570\u5b66\u516c\u5f0f\u8ba1\u7b97\u5f97\u51fa\u7684\uff1aBMI = \u4f53\u91cd\uff08\u5343\u514b\uff09 \/ (\u8eab\u9ad8\uff08\u7c73\uff09 ^ 2)\u3002\u8fd9\u4e2a\u516c\u5f0f\u7684\u6838\u5fc3\u5728\u4e8e\u5c06\u4f53\u91cd\u548c\u8eab\u9ad8\u7684\u6570\u503c\u8fdb\u884c\u8fd0\u7b97\uff0c\u4ee5\u5f97\u5230\u4e00\u4e2a\u53ef\u7528\u4e8e\u8bc4\u4f30\u4f53\u91cd\u662f\u5426\u5728\u5065\u5eb7\u8303\u56f4\u5185\u7684\u6307\u6807\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u4f53\u91cd<\/strong>\uff1a\u901a\u5e38\u4ee5\u516c\u65a4\u4e3a\u5355\u4f4d\u3002<\/li>\n<li><strong>\u8eab\u9ad8<\/strong>\uff1a\u901a\u5e38\u4ee5\u7c73\u4e3a\u5355\u4f4d\u3002<\/li>\n<\/ol>\n<p><p>\u5728\u7f16\u5199Python\u7a0b\u5e8f\u65f6\uff0c\u6211\u4eec\u9700\u8981\u5c06\u4f53\u91cd\u548c\u8eab\u9ad8\u4f5c\u4e3a\u8f93\u5165\uff0c\u5e76\u901a\u8fc7\u516c\u5f0f\u8ba1\u7b97\u5f97\u5230BMI\u503c\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001Python\u4e2d\u7684BMI\u8ba1\u7b97<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u8ba1\u7b97BMI\u53ef\u4ee5\u901a\u8fc7\u5b9a\u4e49\u4e00\u4e2a\u7b80\u5355\u7684\u51fd\u6570\u6765\u5b9e\u73b0\u3002\u8fd9\u4e2a\u51fd\u6570\u5c06\u63a5\u53d7\u4e24\u4e2a\u53c2\u6570\uff1a\u4f53\u91cd\u548c\u8eab\u9ad8\uff0c\u5e76\u8fd4\u56de\u8ba1\u7b97\u51fa\u7684BMI\u503c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def calculate_bmi(weight, height):<\/p>\n<p>    if height &lt;= 0:<\/p>\n<p>        r<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>se ValueError(&quot;Height must be greater than zero&quot;)<\/p>\n<p>    if weight &lt;= 0:<\/p>\n<p>        raise ValueError(&quot;Weight must be greater than zero&quot;)<\/p>\n<p>    bmi = weight \/ (height  2)<\/p>\n<p>    return bmi<\/p>\n<h2><strong>Example usage:<\/strong><\/h2>\n<p>weight = 70  # \u4f53\u91cd70\u516c\u65a4<\/p>\n<p>height = 1.75  # \u8eab\u9ad81.75\u7c73<\/p>\n<p>bmi = calculate_bmi(weight, height)<\/p>\n<p>print(f&quot;The BMI is: {bmi:.2f}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u5728\u8fd9\u4e2a\u4ee3\u7801\u4e2d\uff0c\u9996\u5148\u68c0\u67e5\u8f93\u5165\u7684\u4f53\u91cd\u548c\u8eab\u9ad8\u662f\u5426\u5927\u4e8e\u96f6\uff0c\u4ee5\u786e\u4fdd\u8f93\u5165\u7684\u5408\u7406\u6027<\/strong>\u3002\u5982\u679c\u8f93\u5165\u4e0d\u5408\u7406\uff0c\u5219\u4f1a\u629b\u51fa\u4e00\u4e2a<code>ValueError<\/code>\u3002\u7136\u540e\u6839\u636e\u516c\u5f0f\u8fdb\u884c\u8ba1\u7b97\uff0c\u5e76\u8fd4\u56de\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001BMI\u7684\u5065\u5eb7\u5206\u7c7b<\/h3>\n<\/p>\n<p><p>\u6839\u636e\u4e16\u754c\u536b\u751f\u7ec4\u7ec7\uff08WHO\uff09\u7684\u6807\u51c6\uff0cBMI\u53ef\u4ee5\u5c06\u4f53\u91cd\u5206\u4e3a\u4e0d\u540c\u7684\u5065\u5eb7\u7b49\u7ea7\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u4f4e\u4f53\u91cd<\/strong>\uff1aBMI \u5c0f\u4e8e 18.5<\/li>\n<li><strong>\u6b63\u5e38\u4f53\u91cd<\/strong>\uff1aBMI 18.5\u201324.9<\/li>\n<li><strong>\u8d85\u91cd<\/strong>\uff1aBMI 25\u201329.9<\/li>\n<li><strong>\u80a5\u80d6<\/strong>\uff1aBMI 30 \u6216\u66f4\u9ad8<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u8fd9\u4e9b\u5206\u7c7b\uff0c\u6211\u4eec\u53ef\u4ee5\u66f4\u597d\u5730\u7406\u89e3BMI\u503c\u6240\u4ee3\u8868\u7684\u5065\u5eb7\u72b6\u6001\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def classify_bmi(bmi):<\/p>\n<p>    if bmi &lt; 18.5:<\/p>\n<p>        return &quot;Underweight&quot;<\/p>\n<p>    elif 18.5 &lt;= bmi &lt; 24.9:<\/p>\n<p>        return &quot;Normal weight&quot;<\/p>\n<p>    elif 25 &lt;= bmi &lt; 29.9:<\/p>\n<p>        return &quot;Overweight&quot;<\/p>\n<p>    else:<\/p>\n<p>        return &quot;Obesity&quot;<\/p>\n<h2><strong>Example usage:<\/strong><\/h2>\n<p>bmi_category = classify_bmi(bmi)<\/p>\n<p>print(f&quot;BMI classification: {bmi_category}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8fd9\u4e2a\u51fd\u6570\u901a\u8fc7\u6761\u4ef6\u5224\u65ad\uff0c\u5c06\u8ba1\u7b97\u5f97\u5230\u7684BMI\u503c\u8fdb\u884c\u5206\u7c7b\u5e76\u8fd4\u56de\u76f8\u5e94\u7684\u5065\u5eb7\u72b6\u6001<\/strong>\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5904\u7406\u5f02\u5e38\u548c\u8f93\u5165\u9a8c\u8bc1<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u8f93\u5165\u6570\u636e\u7684\u6709\u6548\u6027\u9a8c\u8bc1\u975e\u5e38\u91cd\u8981\u3002\u9664\u4e86\u68c0\u67e5\u6570\u503c\u662f\u5426\u4e3a\u6b63\u6570\u5916\uff0c\u8fd8\u9700\u8981\u5904\u7406\u53ef\u80fd\u7684\u5f02\u5e38\u60c5\u51b5\uff0c\u4f8b\u5982\u7528\u6237\u8f93\u5165\u975e\u6570\u5b57\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def get_valid_input(prompt):<\/p>\n<p>    while True:<\/p>\n<p>        try:<\/p>\n<p>            value = float(input(prompt))<\/p>\n<p>            if value &gt; 0:<\/p>\n<p>                return value<\/p>\n<p>            else:<\/p>\n<p>                print(&quot;Please enter a positive number.&quot;)<\/p>\n<p>        except ValueError:<\/p>\n<p>            print(&quot;Invalid input. Please enter a number.&quot;)<\/p>\n<p>weight = get_valid_input(&quot;Enter your weight in kg: &quot;)<\/p>\n<p>height = get_valid_input(&quot;Enter your height in meters: &quot;)<\/p>\n<p>bmi = calculate_bmi(weight, height)<\/p>\n<p>bmi_category = classify_bmi(bmi)<\/p>\n<p>print(f&quot;The BMI is: {bmi:.2f}&quot;)<\/p>\n<p>print(f&quot;BMI classification: {bmi_category}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8fd9\u4e2a\u4ee3\u7801\u7247\u6bb5\u901a\u8fc7\u4e00\u4e2a\u5faa\u73af\u4e0d\u65ad\u8bf7\u6c42\u7528\u6237\u8f93\u5165\uff0c\u76f4\u5230\u7528\u6237\u8f93\u5165\u4e00\u4e2a\u6709\u6548\u7684\u6b63\u6570\u4e3a\u6b62<\/strong>\u3002\u5982\u679c\u8f93\u5165\u65e0\u6548\uff0c\u5c06\u63d0\u793a\u7528\u6237\u91cd\u65b0\u8f93\u5165\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u6269\u5c55\uff1aBMI\u7684\u56fd\u9645\u5316\u548c\u5355\u4f4d\u8f6c\u6362<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u56fd\u5bb6\uff0c\u4f53\u91cd\u548c\u8eab\u9ad8\u53ef\u80fd\u4f7f\u7528\u4e0d\u540c\u7684\u5355\u4f4d\uff0c\u5982\u78c5\u548c\u82f1\u5bf8\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u9700\u8981\u8fdb\u884c\u5355\u4f4d\u8f6c\u6362\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u78c5\u5230\u516c\u65a4<\/strong>\uff1a1\u78c5 = 0.453592\u516c\u65a4<\/li>\n<li><strong>\u82f1\u5bf8\u5230\u7c73<\/strong>\uff1a1\u82f1\u5bf8 = 0.0254\u7c73<\/li>\n<\/ol>\n<p><p>\u5728Python\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u6269\u5c55\u6211\u4eec\u7684\u7a0b\u5e8f\u4ee5\u652f\u6301\u8fd9\u4e9b\u5355\u4f4d\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def convert_to_metric(weight_lbs, height_inches):<\/p>\n<p>    weight_kg = weight_lbs * 0.453592<\/p>\n<p>    height_m = height_inches * 0.0254<\/p>\n<p>    return weight_kg, height_m<\/p>\n<p>weight_lbs = get_valid_input(&quot;Enter your weight in lbs: &quot;)<\/p>\n<p>height_inches = get_valid_input(&quot;Enter your height in inches: &quot;)<\/p>\n<p>weight_kg, height_m = convert_to_metric(weight_lbs, height_inches)<\/p>\n<p>bmi = calculate_bmi(weight_kg, height_m)<\/p>\n<p>bmi_category = classify_bmi(bmi)<\/p>\n<p>print(f&quot;The BMI is: {bmi:.2f}&quot;)<\/p>\n<p>print(f&quot;BMI classification: {bmi_category}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u5728\u8fd9\u4e2a\u6269\u5c55\u529f\u80fd\u4e2d\uff0c\u7528\u6237\u53ef\u4ee5\u8f93\u5165\u4ee5\u78c5\u548c\u82f1\u5bf8\u4e3a\u5355\u4f4d\u7684\u4f53\u91cd\u548c\u8eab\u9ad8\uff0c\u7a0b\u5e8f\u5c06\u81ea\u52a8\u8fdb\u884c\u5355\u4f4d\u8f6c\u6362\u5e76\u8ba1\u7b97BMI<\/strong>\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u53ef\u89c6\u5316\u548c\u6570\u636e\u5c55\u793a<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u66f4\u76f4\u89c2\u5730\u5c55\u793aBMI\u6570\u636e\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528Python\u7684\u53ef\u89c6\u5316\u5e93\uff0c\u5982Matplotlib\uff0c\u6765\u7ed8\u5236BMI\u7684\u5206\u5e03\u56fe\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import matplotlib.pyplot as plt<\/p>\n<p>def plot_bmi_distribution(bmi_values):<\/p>\n<p>    plt.hist(bmi_values, bins=10, edgecolor=&#39;black&#39;)<\/p>\n<p>    plt.title(&#39;BMI Distribution&#39;)<\/p>\n<p>    plt.xlabel(&#39;BMI&#39;)<\/p>\n<p>    plt.ylabel(&#39;Frequency&#39;)<\/p>\n<p>    plt.show()<\/p>\n<h2><strong>Example usage:<\/strong><\/h2>\n<p>bmi_values = [calculate_bmi(w, h) for w, h in [(70, 1.75), (80, 1.80), (60, 1.60)]]<\/p>\n<p>plot_bmi_distribution(bmi_values)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8fd9\u4e2a\u4ee3\u7801\u4f7f\u7528Matplotlib\u6765\u7ed8\u5236\u4e00\u7ec4BMI\u503c\u7684\u76f4\u65b9\u56fe\uff0c\u4ee5\u5e2e\u52a9\u66f4\u597d\u5730\u7406\u89e3\u6570\u636e\u7684\u5206\u5e03<\/strong>\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528Python\u6709\u6548\u5730\u8ba1\u7b97\u548c\u5206\u6790BMI\uff0c\u652f\u6301\u4e0d\u540c\u7684\u8f93\u5165\u5355\u4f4d\uff0c\u5e76\u901a\u8fc7\u53ef\u89c6\u5316\u5de5\u5177\u76f4\u89c2\u5730\u5c55\u793aBMI\u6570\u636e\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u786e\u4fdd\u8f93\u5165\u7684\u51c6\u786e\u6027\u548c\u6570\u636e\u7684\u5408\u7406\u6027\u662f\u81f3\u5173\u91cd\u8981\u7684\uff0c\u5c24\u5176\u662f\u5728\u5065\u5eb7\u548c\u533b\u5b66\u9886\u57df\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>BML\u662f\u4ec0\u4e48\uff0c\u4e3a\u4ec0\u4e48\u8981\u7528Python\u8ba1\u7b97\u5b83\uff1f<\/strong><br \/>BML\uff08Biodiversity and Management Loss\uff09\u901a\u5e38\u7528\u4e8e\u8bc4\u4f30\u751f\u6001\u7cfb\u7edf\u7684\u751f\u7269\u591a\u6837\u6027\u53ca\u5176\u7ba1\u7406\u635f\u5931\u3002\u4f7f\u7528Python\u8fdb\u884cBML\u8ba1\u7b97\u7684\u539f\u56e0\u5728\u4e8e\u5176\u5f3a\u5927\u7684\u6570\u636e\u5904\u7406\u80fd\u529b\u548c\u4e30\u5bcc\u7684\u751f\u6001\u6a21\u578b\u5e93\u3002\u8fd9\u4f7f\u5f97\u7528\u6237\u80fd\u591f\u8f7b\u677e\u83b7\u53d6\u3001\u5206\u6790\u548c\u53ef\u89c6\u5316\u751f\u6001\u6570\u636e\uff0c\u4ece\u800c\u66f4\u597d\u5730\u7406\u89e3\u751f\u7269\u591a\u6837\u6027\u53d8\u5316\u7684\u8d8b\u52bf\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u8ba1\u7b97BML\u9700\u8981\u54ea\u4e9b\u5e93\u548c\u5de5\u5177\uff1f<\/strong><br \/>\u8ba1\u7b97BML\u901a\u5e38\u9700\u8981\u4f7f\u7528\u4e00\u4e9b\u7279\u5b9a\u7684Python\u5e93\uff0c\u5982NumPy\u3001Pandas\u548cMatplotlib\u3002NumPy\u7528\u4e8e\u9ad8\u6548\u7684\u6570\u503c\u8ba1\u7b97\uff0cPandas\u5219\u7528\u4e8e\u6570\u636e\u64cd\u4f5c\u548c\u5206\u6790\uff0c\u800cMatplotlib\u53ef\u4ee5\u5e2e\u52a9\u7528\u6237\u5c06\u7ed3\u679c\u53ef\u89c6\u5316\u3002\u6b64\u5916\uff0c\u7528\u6237\u53ef\u80fd\u8fd8\u9700\u8981\u5b89\u88c5SciPy\u7528\u4e8e\u66f4\u590d\u6742\u7684\u6570\u5b66\u8ba1\u7b97\u548c\u7edf\u8ba1\u5206\u6790\u3002<\/p>\n<p><strong>\u5982\u4f55\u83b7\u53d6\u6240\u9700\u7684\u751f\u6001\u6570\u636e\u6765\u8ba1\u7b97BML\uff1f<\/strong><br \/>\u83b7\u53d6\u751f\u6001\u6570\u636e\u7684\u65b9\u6cd5\u6709\u5f88\u591a\uff0c\u53ef\u4ee5\u901a\u8fc7\u516c\u5171\u6570\u636e\u5e93\u3001\u79d1\u7814\u673a\u6784\u6216\u751f\u6001\u76d1\u6d4b\u9879\u76ee\u83b7\u53d6\u6570\u636e\u3002\u4e00\u4e9b\u5e38\u7528\u7684\u6570\u636e\u6e90\u5305\u62ec\u5168\u7403\u751f\u7269\u591a\u6837\u6027\u4fe1\u606f\u8bbe\u65bd\uff08GBIF\uff09\u3001\u56fd\u9645\u81ea\u7136\u4fdd\u62a4\u8054\u76df\uff08IUCN\uff09\u7b49\u3002\u7528\u6237\u8fd8\u53ef\u4ee5\u901a\u8fc7API\u6216\u7f51\u7edc\u722c\u866b\u6280\u672f\u4ece\u76f8\u5173\u7f51\u7ad9\u63d0\u53d6\u6570\u636e\uff0c\u786e\u4fdd\u83b7\u53d6\u7684\u6570\u636e\u662f\u6700\u65b0\u548c\u6700\u76f8\u5173\u7684\u3002<\/p>\n<p><strong>\u5728\u8ba1\u7b97BML\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u9047\u5230\u54ea\u4e9b\u6311\u6218\uff1f<\/strong><br \/>\u5728\u8ba1\u7b97BML\u65f6\uff0c\u7528\u6237\u53ef\u80fd\u4f1a\u9047\u5230\u6570\u636e\u7f3a\u5931\u3001\u6570\u636e\u4e0d\u4e00\u81f4\u6027\u4ee5\u53ca\u8ba1\u7b97\u590d\u6742\u6027\u7b49\u95ee\u9898\u3002\u89e3\u51b3\u8fd9\u4e9b\u95ee\u9898\u7684\u6709\u6548\u65b9\u6cd5\u5305\u62ec\u6570\u636e\u6e05\u6d17\u3001\u4f7f\u7528\u7f3a\u5931\u503c\u586b\u8865\u6280\u672f\u4ee5\u53ca\u4f18\u5316\u7b97\u6cd5\u4ee5\u63d0\u9ad8\u8ba1\u7b97\u6548\u7387\u3002\u4e86\u89e3\u751f\u6001\u6a21\u578b\u7684\u57fa\u672c\u539f\u7406\u548c\u5e94\u7528\u573a\u666f\u4e5f\u6709\u52a9\u4e8e\u66f4\u597d\u5730\u5e94\u5bf9\u8fd9\u4e9b\u6311\u6218\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u8ba1\u7b97BMI\uff08Body Mass Index\uff0c\u8eab\u4f53\u8d28\u91cf\u6307\u6570\uff09\u662f\u4e00\u4e2a\u76f8\u5bf9\u7b80\u5355\u7684\u8fc7\u7a0b\u3002\u901a\u8fc7\u5b9a\u4e49\u4e00\u4e2a\u51fd [&hellip;]","protected":false},"author":3,"featured_media":1022660,"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\/1022653"}],"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=1022653"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1022653\/revisions"}],"predecessor-version":[{"id":1022665,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1022653\/revisions\/1022665"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1022660"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1022653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1022653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1022653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}