{"id":1131927,"date":"2025-01-08T20:52:42","date_gmt":"2025-01-08T12:52:42","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1131927.html"},"modified":"2025-01-08T20:52:45","modified_gmt":"2025-01-08T12:52:45","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e6%8a%8a%e5%88%97%e8%a1%a8%e4%b8%ad%e7%9a%84%e6%95%b0%e5%8a%a0%e8%b5%b7%e6%9d%a5","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1131927.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u628a\u5217\u8868\u4e2d\u7684\u6570\u52a0\u8d77\u6765"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25101552\/f848a439-7bba-4ffe-bfd8-56d4cd4c1b7e.webp\" alt=\"python\u4e2d\u5982\u4f55\u628a\u5217\u8868\u4e2d\u7684\u6570\u52a0\u8d77\u6765\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u5c06\u5217\u8868\u4e2d\u7684\u6570\u52a0\u8d77\u6765\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5176\u4e2d\u5e38\u7528\u7684\u5305\u62ec\u4f7f\u7528\u5185\u7f6e\u51fd\u6570 <code>sum()<\/code>\u3001\u4f7f\u7528\u5faa\u73af\u904d\u5386\u5217\u8868\u3001\u6216\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u3002<\/strong>\u5176\u4e2d\uff0c\u4f7f\u7528\u5185\u7f6e\u51fd\u6570 <code>sum()<\/code> \u662f\u6700\u7b80\u4fbf\u548c\u9ad8\u6548\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u4e0d\u4ec5\u7b80\u6d01\uff0c\u800c\u4e14\u5728\u5904\u7406\u5927\u6570\u636e\u96c6\u65f6\u6027\u80fd\u8f83\u597d\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u63a2\u8ba8\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u5e76\u8ba8\u8bba\u5b83\u4eec\u7684\u4f18\u7f3a\u70b9\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528\u5185\u7f6e\u51fd\u6570 <code>sum()<\/code><\/p>\n<\/p>\n<p><p>Python \u63d0\u4f9b\u4e86\u4e00\u4e2a\u975e\u5e38\u65b9\u4fbf\u7684\u5185\u7f6e\u51fd\u6570 <code>sum()<\/code>\uff0c\u53ef\u4ee5\u76f4\u63a5\u5c06\u5217\u8868\u4e2d\u7684\u6240\u6709\u5143\u7d20\u76f8\u52a0\u3002\u8fd9\u79cd\u65b9\u6cd5\u4e0d\u4ec5\u7b80\u6d01\u6613\u61c2\uff0c\u800c\u4e14\u6027\u80fd\u4f18\u8d8a\uff0c\u975e\u5e38\u9002\u5408\u5904\u7406\u5927\u578b\u6570\u636e\u96c6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = [1, 2, 3, 4, 5]<\/p>\n<p>total = sum(numbers)<\/p>\n<p>print(total)  # \u8f93\u51fa 15<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u70b9\u5728\u4e8e<strong>\u7b80\u6d01\u3001\u9ad8\u6548\u3001\u6613\u8bfb<\/strong>\uff0c\u7279\u522b\u9002\u5408\u5904\u7406\u5927\u578b\u6570\u636e\u96c6\u3002<code>sum()<\/code> \u51fd\u6570\u662f\u7528 C \u8bed\u8a00\u5b9e\u73b0\u7684\uff0c\u5728\u6027\u80fd\u4e0a\u6709\u4e00\u5b9a\u7684\u4f18\u52bf\u3002\u5177\u4f53\u6765\u8bf4\uff0c<code>sum()<\/code> \u51fd\u6570\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u4e3a O(n)\uff0c\u5176\u4e2d n \u662f\u5217\u8868\u7684\u957f\u5ea6\u3002\u8fd9\u610f\u5473\u7740\u5373\u4f7f\u5217\u8868\u975e\u5e38\u5927\uff0c<code>sum()<\/code> \u4e5f\u80fd\u5728\u5408\u7406\u7684\u65f6\u95f4\u5185\u5b8c\u6210\u8fd0\u7b97\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528\u5faa\u73af\u904d\u5386\u5217\u8868<\/p>\n<\/p>\n<p><p>\u5c3d\u7ba1 <code>sum()<\/code> \u51fd\u6570\u975e\u5e38\u65b9\u4fbf\uff0c\u6709\u65f6\u6211\u4eec\u53ef\u80fd\u9700\u8981\u66f4\u7075\u6d3b\u7684\u65b9\u5f0f\u6765\u5904\u7406\u5217\u8868\u4e2d\u7684\u5143\u7d20\uff0c\u6bd4\u5982\u5728\u8ba1\u7b97\u603b\u548c\u7684\u540c\u65f6\u8fdb\u884c\u5176\u4ed6\u64cd\u4f5c\u3002\u8fd9\u65f6\uff0c\u4f7f\u7528\u5faa\u73af\u904d\u5386\u5217\u8868\u662f\u4e00\u79cd\u4e0d\u9519\u7684\u9009\u62e9\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = [1, 2, 3, 4, 5]<\/p>\n<p>total = 0<\/p>\n<p>for number in numbers:<\/p>\n<p>    total += number<\/p>\n<p>print(total)  # \u8f93\u51fa 15<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u70b9\u5728\u4e8e<strong>\u7075\u6d3b\u6027\u9ad8<\/strong>\uff0c\u53ef\u4ee5\u5728\u904d\u5386\u5217\u8868\u7684\u540c\u65f6\u6267\u884c\u5176\u4ed6\u64cd\u4f5c\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u4ee5\u5728\u8ba1\u7b97\u603b\u548c\u7684\u540c\u65f6\uff0c\u7b5b\u9009\u51fa\u67d0\u4e9b\u7279\u5b9a\u7684\u5143\u7d20\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = [1, 2, 3, 4, 5]<\/p>\n<p>total = 0<\/p>\n<p>for number in numbers:<\/p>\n<p>    if number % 2 == 0:<\/p>\n<p>        total += number<\/p>\n<p>print(total)  # \u8f93\u51fa 6\uff0c\u56e0\u4e3a\u53ea\u6709 2 \u548c 4 \u6ee1\u8db3\u6761\u4ef6<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f<\/p>\n<\/p>\n<p><p>\u5217\u8868\u63a8\u5bfc\u5f0f\u662f\u4e00\u79cd\u975e\u5e38\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u5728\u4e00\u884c\u4ee3\u7801\u4e2d\u5b8c\u6210\u590d\u6742\u7684\u64cd\u4f5c\u3002\u867d\u7136\u5217\u8868\u63a8\u5bfc\u5f0f\u5e76\u4e0d\u662f\u4e13\u95e8\u7528\u6765\u6c42\u548c\u7684\uff0c\u4f46\u5b83\u53ef\u4ee5\u4e0e <code>sum()<\/code> \u51fd\u6570\u7ed3\u5408\u4f7f\u7528\uff0c\u4f7f\u4ee3\u7801\u66f4\u52a0\u7b80\u6d01\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = [1, 2, 3, 4, 5]<\/p>\n<p>total = sum([number for number in numbers])<\/p>\n<p>print(total)  # \u8f93\u51fa 15<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u70b9\u5728\u4e8e<strong>\u4ee3\u7801\u7b80\u6d01<\/strong>\uff0c\u5e76\u4e14\u53ef\u4ee5\u5728\u5217\u8868\u63a8\u5bfc\u5f0f\u4e2d\u52a0\u5165\u6761\u4ef6\u5224\u65ad\uff0c\u4f7f\u5f97\u4ee3\u7801\u66f4\u52a0\u7075\u6d3b\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">numbers = [1, 2, 3, 4, 5]<\/p>\n<p>total = sum([number for number in numbers if number % 2 == 0])<\/p>\n<p>print(total)  # \u8f93\u51fa 6<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u56db\u3001\u4f7f\u7528 <code>reduce()<\/code> \u51fd\u6570<\/p>\n<\/p>\n<p><p><code>reduce()<\/code> \u51fd\u6570\u662f Python \u5185\u7f6e\u51fd\u6570\uff0c\u53ef\u4ee5\u4ece <code>functools<\/code> \u6a21\u5757\u4e2d\u5bfc\u5165\u3002\u5b83\u901a\u8fc7\u5c06\u4e00\u4e2a\u4e8c\u5143\u51fd\u6570\u53cd\u590d\u5e94\u7528\u4e8e\u5e8f\u5217\u7684\u5143\u7d20\uff0c\u4ece\u800c\u5c06\u5e8f\u5217\u7b80\u5316\u4e3a\u5355\u4e2a\u503c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from functools import reduce<\/p>\n<p>numbers = [1, 2, 3, 4, 5]<\/p>\n<p>total = reduce(lambda x, y: x + y, numbers)<\/p>\n<p>print(total)  # \u8f93\u51fa 15<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u70b9\u5728\u4e8e<strong>\u7075\u6d3b\u6027\u548c\u529f\u80fd\u5f3a\u5927<\/strong>\uff0c<code>reduce()<\/code> \u51fd\u6570\u53ef\u4ee5\u5e94\u7528\u4e8e\u5404\u79cd\u590d\u6742\u7684\u64cd\u4f5c\uff0c\u4f46\u7f3a\u70b9\u662f\u4ee3\u7801\u53ef\u8bfb\u6027\u8f83\u4f4e\uff0c\u4e0d\u63a8\u8350\u521d\u5b66\u8005\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u4f7f\u7528 NumPy \u5e93<\/p>\n<\/p>\n<p><p>\u5bf9\u4e8e\u9700\u8981\u5904\u7406\u5927\u91cf\u6570\u636e\u7684\u60c5\u51b5\uff0c\u4f7f\u7528 NumPy \u5e93\u662f\u4e00\u4e2a\u975e\u5e38\u597d\u7684\u9009\u62e9\u3002NumPy \u662f\u4e00\u4e2a\u7528\u4e8e\u79d1\u5b66\u8ba1\u7b97\u7684\u5e93\uff0c\u63d0\u4f9b\u4e86\u8bb8\u591a\u5f3a\u5927\u7684\u6570\u7ec4\u64cd\u4f5c\u51fd\u6570\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<p>numbers = np.array([1, 2, 3, 4, 5])<\/p>\n<p>total = np.sum(numbers)<\/p>\n<p>print(total)  # \u8f93\u51fa 15<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>NumPy \u7684\u4f18\u70b9\u5728\u4e8e<strong>\u6027\u80fd\u4f18\u8d8a<\/strong>\uff0c\u7279\u522b\u9002\u5408\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u3002\u5b83\u7684\u5e95\u5c42\u5b9e\u73b0\u4f7f\u7528\u4e86 C \u548c Fortran\uff0c\u56e0\u6b64\u5728\u5904\u7406\u5927\u578b\u6570\u7ec4\u65f6\u6027\u80fd\u975e\u5e38\u9ad8\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u4f7f\u7528 Pandas \u5e93<\/p>\n<\/p>\n<p><p>Pandas \u662f\u53e6\u4e00\u4e2a\u7528\u4e8e\u6570\u636e\u5206\u6790\u7684\u5f3a\u5927\u5e93\u3002\u867d\u7136\u5b83\u4e3b\u8981\u7528\u4e8e\u5904\u7406\u6570\u636e\u6846\uff0c\u4f46\u4e5f\u53ef\u4ee5\u7528\u4e8e\u7b80\u5355\u7684\u5217\u8868\u6c42\u548c\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<p>numbers = pd.Series([1, 2, 3, 4, 5])<\/p>\n<p>total = numbers.sum()<\/p>\n<p>print(total)  # \u8f93\u51fa 15<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>Pandas \u7684\u4f18\u70b9\u5728\u4e8e<strong>\u529f\u80fd\u5168\u9762<\/strong>\uff0c\u7279\u522b\u9002\u5408\u9700\u8981\u8fdb\u884c\u590d\u6742\u6570\u636e\u5206\u6790\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<p><p>\u4e03\u3001\u6027\u80fd\u6bd4\u8f83<\/p>\n<\/p>\n<p><p>\u5728\u9009\u62e9\u65b9\u6cd5\u65f6\uff0c\u6027\u80fd\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u8003\u91cf\u56e0\u7d20\u3002\u4ee5\u4e0b\u662f\u51e0\u79cd\u65b9\u6cd5\u7684\u6027\u80fd\u6bd4\u8f83\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong><code>sum()<\/code> \u51fd\u6570<\/strong>\uff1a\u6027\u80fd\u4f18\u8d8a\uff0c\u9002\u5408\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u3002<\/li>\n<li><strong>\u5faa\u73af\u904d\u5386<\/strong>\uff1a\u6027\u80fd\u4e00\u822c\uff0c\u4f46\u7075\u6d3b\u6027\u9ad8\u3002<\/li>\n<li><strong>\u5217\u8868\u63a8\u5bfc\u5f0f<\/strong>\uff1a\u4e0e <code>sum()<\/code> \u7ed3\u5408\u4f7f\u7528\u65f6\u6027\u80fd\u4e0d\u9519\uff0c\u9002\u5408\u4ee3\u7801\u7b80\u6d01\u6027\u8981\u6c42\u9ad8\u7684\u573a\u666f\u3002<\/li>\n<li><strong><code>reduce()<\/code> \u51fd\u6570<\/strong>\uff1a\u529f\u80fd\u5f3a\u5927\u4f46\u53ef\u8bfb\u6027\u8f83\u5dee\uff0c\u6027\u80fd\u4e00\u822c\u3002<\/li>\n<li><strong>NumPy<\/strong>\uff1a\u6027\u80fd\u4f18\u8d8a\uff0c\u9002\u5408\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u3002<\/li>\n<li><strong>Pandas<\/strong>\uff1a\u529f\u80fd\u5168\u9762\uff0c\u4f46\u5728\u7b80\u5355\u6c42\u548c\u64cd\u4f5c\u4e2d\u6027\u80fd\u4e0d\u5982 NumPy\u3002<\/li>\n<\/ol>\n<p><p>\u516b\u3001\u603b\u7ed3<\/p>\n<\/p>\n<p><p>\u5728 Python \u4e2d\uff0c\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4ee5\u5c06\u5217\u8868\u4e2d\u7684\u6570\u52a0\u8d77\u6765\u3002<strong>\u6700\u63a8\u8350\u7684\u65b9\u6cd5\u662f\u4f7f\u7528 <code>sum()<\/code> \u51fd\u6570<\/strong>\uff0c\u56e0\u4e3a\u5b83\u7b80\u6d01\u3001\u9ad8\u6548\uff0c\u5e76\u4e14\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u90fd\u80fd\u6ee1\u8db3\u9700\u6c42\u3002\u5982\u679c\u9700\u8981\u66f4\u9ad8\u7684\u7075\u6d3b\u6027\uff0c\u53ef\u4ee5\u4f7f\u7528\u5faa\u73af\u904d\u5386\u6216\u5217\u8868\u63a8\u5bfc\u5f0f\u3002\u5728\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u65f6\uff0cNumPy \u662f\u4e00\u4e2a\u975e\u5e38\u597d\u7684\u9009\u62e9\uff0c\u800c Pandas \u5219\u9002\u5408\u9700\u8981\u8fdb\u884c\u590d\u6742\u6570\u636e\u5206\u6790\u7684\u573a\u666f\u3002<\/p>\n<\/p>\n<p><p>\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u90fd\u5e94\u6839\u636e\u5177\u4f53\u9700\u6c42\u548c\u6570\u636e\u89c4\u6a21\u8fdb\u884c\u6743\u8861\uff0c\u4ee5\u9009\u62e9\u6700\u5408\u9002\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5feb\u901f\u8ba1\u7b97\u5217\u8868\u5143\u7d20\u7684\u603b\u548c\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u7684<code>sum()<\/code>\u51fd\u6570\u6765\u5feb\u901f\u8ba1\u7b97\u5217\u8868\u4e2d\u6240\u6709\u6570\u7684\u603b\u548c\u3002\u53ea\u9700\u5c06\u5217\u8868\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\u7ed9<code>sum()<\/code>\u51fd\u6570\uff0c\u4f8b\u5982\uff1a<code>total = sum(my_list)<\/code>\uff0c\u5176\u4e2d<code>my_list<\/code>\u662f\u4f60\u7684\u6570\u5b57\u5217\u8868\u3002<\/p>\n<p><strong>\u5982\u679c\u6211\u7684\u5217\u8868\u4e2d\u6709\u975e\u6570\u5b57\u5143\u7d20\uff0c\u5982\u4f55\u5904\u7406\uff1f<\/strong><br \/>\u5728\u8ba1\u7b97\u5217\u8868\u603b\u548c\u4e4b\u524d\uff0c\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u6765\u8fc7\u6ee4\u975e\u6570\u5b57\u5143\u7d20\u3002\u53ef\u4ee5\u901a\u8fc7<code>[x for x in my_list if isinstance(x, (int, float))]<\/code>\u6765\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u53ea\u5305\u542b\u6570\u5b57\u7684\u5217\u8868\uff0c\u7136\u540e\u518d\u4f7f\u7528<code>sum()<\/code>\u51fd\u6570\u8ba1\u7b97\u603b\u548c\u3002<\/p>\n<p><strong>\u662f\u5426\u53ef\u4ee5\u4f7f\u7528\u5faa\u73af\u6765\u624b\u52a8\u8ba1\u7b97\u5217\u8868\u7684\u603b\u548c\uff1f<\/strong><br \/>\u5f53\u7136\u53ef\u4ee5\u3002\u4f7f\u7528\u5faa\u73af\u904d\u5386\u5217\u8868\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\uff0c\u5e76\u5c06\u5b83\u4eec\u76f8\u52a0\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a  <\/p>\n<pre><code class=\"language-python\">total = 0\nfor number in my_list:\n    total += number\n<\/code><\/pre>\n<p>\u8fd9\u79cd\u65b9\u6cd5\u5728\u7406\u89e3\u57fa\u672c\u903b\u8f91\u548c\u5b9e\u73b0\u8fc7\u7a0b\u4e2d\u662f\u5f88\u6709\u5e2e\u52a9\u7684\uff0c\u5c24\u5176\u9002\u5408\u521d\u5b66\u8005\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u5c06\u5217\u8868\u4e2d\u7684\u6570\u52a0\u8d77\u6765\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5176\u4e2d\u5e38\u7528\u7684\u5305\u62ec\u4f7f\u7528\u5185\u7f6e\u51fd\u6570 sum()\u3001\u4f7f\u7528\u5faa\u73af\u904d\u5386 [&hellip;]","protected":false},"author":3,"featured_media":1131938,"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\/1131927"}],"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=1131927"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1131927\/revisions"}],"predecessor-version":[{"id":1131939,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1131927\/revisions\/1131939"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1131938"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1131927"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1131927"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1131927"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}