{"id":1006130,"date":"2024-12-27T10:41:38","date_gmt":"2024-12-27T02:41:38","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1006130.html"},"modified":"2024-12-27T10:41:40","modified_gmt":"2024-12-27T02:41:40","slug":"%e5%8f%8d%e5%ba%8f%e6%95%b0python%e5%a6%82%e4%bd%95%e8%ae%a1%e7%ae%97","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1006130.html","title":{"rendered":"\u53cd\u5e8f\u6570python\u5982\u4f55\u8ba1\u7b97"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25082401\/49036550-9188-41c8-ae27-b9a2cc5f583c.webp\" alt=\"\u53cd\u5e8f\u6570python\u5982\u4f55\u8ba1\u7b97\" \/><\/p>\n<p><p> \u8ba1\u7b97\u53cd\u5e8f\u6570\uff08\u4e5f\u79f0\u4e3a\u56de\u6587\u6570\uff09\u7684\u95ee\u9898\u5728Python\u4e2d\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u89e3\u51b3\u3002<strong>\u5e38\u89c1\u7684\u65b9\u6cd5\u5305\u62ec\u5b57\u7b26\u4e32\u53cd\u8f6c\u3001\u6570\u5b66\u8fd0\u7b97\u3001\u9012\u5f52\u5b9e\u73b0\u7b49<\/strong>\u3002\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u5e76\u63d0\u4f9b\u5b8c\u6574\u7684\u4ee3\u7801\u793a\u4f8b\u548c\u89e3\u91ca\u3002\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u5730\u5728Python\u4e2d\u8ba1\u7b97\u53cd\u5e8f\u6570\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b57\u7b26\u4e32\u53cd\u8f6c\u6cd5<\/h3>\n<\/p>\n<p><p>\u5b57\u7b26\u4e32\u53cd\u8f6c\u6cd5\u662f\u8ba1\u7b97\u53cd\u5e8f\u6570\u7684\u6700\u7b80\u5355\u3001\u6700\u76f4\u89c2\u7684\u65b9\u6cd5\u4e4b\u4e00\u3002\u901a\u8fc7\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\uff0c\u7136\u540e\u53cd\u8f6c\u5b57\u7b26\u4e32\u5e76\u6bd4\u8f83\u53cd\u8f6c\u540e\u7684\u5b57\u7b26\u4e32\u548c\u539f\u5b57\u7b26\u4e32\u5373\u53ef\u5224\u65ad\u662f\u5426\u662f\u53cd\u5e8f\u6570\u3002<\/p>\n<\/p>\n<p><h4>1.1 \u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u3002Python\u63d0\u4f9b\u4e86\u7b80\u5355\u7684<code>str()<\/code>\u51fd\u6570\u53ef\u4ee5\u5b8c\u6210\u8fd9\u4e00\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def is_palindrome_str(num):<\/p>\n<p>    num_str = str(num)<\/p>\n<p>    return num_str == num_str[::-1]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>1.2 \u5b57\u7b26\u4e32\u53cd\u8f6c<\/h4>\n<\/p>\n<p><p>\u901a\u8fc7\u5207\u7247\u64cd\u4f5c<code>[::-1]<\/code>\u53cd\u8f6c\u5b57\u7b26\u4e32\uff0c\u5207\u7247\u662f\u4e00\u79cd\u9ad8\u6548\u7684\u5b57\u7b26\u4e32\u64cd\u4f5c\u65b9\u5f0f\u3002<\/p>\n<\/p>\n<p><h4>1.3 \u6bd4\u8f83\u539f\u5b57\u7b26\u4e32\u4e0e\u53cd\u8f6c\u5b57\u7b26\u4e32<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u53cd\u8f6c\u540e\u7684\u5b57\u7b26\u4e32\u4e0e\u539f\u5b57\u7b26\u4e32\u76f8\u540c\uff0c\u5219\u8be5\u6570\u5b57\u4e3a\u53cd\u5e8f\u6570\u3002<\/p>\n<\/p>\n<p><h4>\u4f18\u70b9\u4e0e\u7f3a\u70b9<\/h4>\n<\/p>\n<p><p><strong>\u4f18\u70b9<\/strong>\uff1a\u5b9e\u73b0\u7b80\u5355\uff0c\u4ee3\u7801\u53ef\u8bfb\u6027\u9ad8\u3002<\/p>\n<\/p>\n<p><p><strong>\u7f3a\u70b9<\/strong>\uff1a\u5bf9\u4e8e\u5927\u6570\uff0c\u5b57\u7b26\u4e32\u64cd\u4f5c\u53ef\u80fd\u4f1a\u8f83\u6162\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u6570\u5b66\u8fd0\u7b97\u6cd5<\/h3>\n<\/p>\n<p><p>\u6570\u5b66\u8fd0\u7b97\u6cd5\u901a\u8fc7\u6570\u5b57\u8fd0\u7b97\u800c\u4e0d\u662f\u5b57\u7b26\u4e32\u64cd\u4f5c\u6765\u5224\u65ad\u6570\u5b57\u662f\u5426\u4e3a\u53cd\u5e8f\u6570\u3002\u8fd9\u79cd\u65b9\u6cd5\u901a\u5e38\u66f4\u9ad8\u6548\uff0c\u7279\u522b\u662f\u5728\u5904\u7406\u5927\u578b\u6574\u6570\u65f6\u3002<\/p>\n<\/p>\n<p><h4>2.1 \u53cd\u8f6c\u6570\u5b57<\/h4>\n<\/p>\n<p><p>\u901a\u8fc7\u5faa\u73af\u63d0\u53d6\u6570\u5b57\u7684\u6bcf\u4e00\u4f4d\uff0c\u5e76\u6784\u5efa\u5176\u53cd\u5e8f\u6570\u5b57\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def is_palindrome_math(num):<\/p>\n<p>    if num &lt; 0:<\/p>\n<p>        return False<\/p>\n<p>    original_num = num<\/p>\n<p>    reversed_num = 0<\/p>\n<p>    while num &gt; 0:<\/p>\n<p>        reversed_num = reversed_num * 10 + num % 10<\/p>\n<p>        num \/\/= 10<\/p>\n<p>    return original_num == reversed_num<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2.2 \u9010\u4f4d\u63d0\u53d6<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528\u6a21\u8fd0\u7b97\uff08<code>%<\/code>\uff09\u63d0\u53d6\u6570\u5b57\u7684\u6700\u540e\u4e00\u4f4d\uff0c\u7136\u540e\u901a\u8fc7\u6574\u9664\u8fd0\u7b97\uff08<code>\/\/<\/code>\uff09\u53bb\u6389\u6700\u540e\u4e00\u4f4d\u3002<\/p>\n<\/p>\n<p><h4>2.3 \u6784\u5efa\u53cd\u5e8f\u6570\u5b57<\/h4>\n<\/p>\n<p><p>\u5728\u6bcf\u6b21\u63d0\u53d6\u6570\u5b57\u7684\u8fc7\u7a0b\u4e2d\uff0c\u9010\u6b65\u6784\u5efa\u53cd\u5e8f\u6570\u5b57\u3002<\/p>\n<\/p>\n<p><h4>\u4f18\u70b9\u4e0e\u7f3a\u70b9<\/h4>\n<\/p>\n<p><p><strong>\u4f18\u70b9<\/strong>\uff1a\u9ad8\u6548\uff0c\u9002\u5408\u5927\u6570\u3002<\/p>\n<\/p>\n<p><p><strong>\u7f3a\u70b9<\/strong>\uff1a\u5b9e\u73b0\u7a0d\u5fae\u590d\u6742\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u9012\u5f52\u5b9e\u73b0\u6cd5<\/h3>\n<\/p>\n<p><p>\u9012\u5f52\u662f\u53e6\u4e00\u79cd\u5b9e\u73b0\u53cd\u5e8f\u6570\u5224\u65ad\u7684\u65b9\u6cd5\uff0c\u901a\u8fc7\u9012\u5f52\u51fd\u6570\u4e0d\u65ad\u5730\u7f29\u5c0f\u95ee\u9898\u89c4\u6a21\u3002<\/p>\n<\/p>\n<p><h4>3.1 \u9012\u5f52\u51fd\u6570\u8bbe\u8ba1<\/h4>\n<\/p>\n<p><p>\u5b9a\u4e49\u4e00\u4e2a\u9012\u5f52\u51fd\u6570\uff0c\u5206\u522b\u6bd4\u8f83\u6570\u5b57\u7684\u6700\u9ad8\u4f4d\u548c\u6700\u4f4e\u4f4d\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def is_palindrome_recursive(num):<\/p>\n<p>    def helper(n, rev):<\/p>\n<p>        if n == 0:<\/p>\n<p>            return rev<\/p>\n<p>        else:<\/p>\n<p>            return helper(n \/\/ 10, rev * 10 + n % 10)<\/p>\n<p>    if num &lt; 0:<\/p>\n<p>        return False<\/p>\n<p>    return num == helper(num, 0)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>3.2 \u9012\u5f52\u7ec8\u6b62\u6761\u4ef6<\/h4>\n<\/p>\n<p><p>\u5f53\u6570\u5b57\u7f29\u5c0f\u52300\u65f6\uff0c\u7ec8\u6b62\u9012\u5f52\u3002<\/p>\n<\/p>\n<p><h4>3.3 \u6bd4\u8f83\u539f\u6570\u5b57\u4e0e\u53cd\u5e8f\u6570\u5b57<\/h4>\n<\/p>\n<p><p>\u9012\u5f52\u7ed3\u675f\u540e\uff0c\u6bd4\u8f83\u539f\u6570\u5b57\u4e0e\u53cd\u5e8f\u6570\u5b57\u3002<\/p>\n<\/p>\n<p><h4>\u4f18\u70b9\u4e0e\u7f3a\u70b9<\/h4>\n<\/p>\n<p><p><strong>\u4f18\u70b9<\/strong>\uff1a\u9012\u5f52\u5b9e\u73b0\u5177\u6709\u4e00\u5b9a\u7684\u7f16\u7a0b\u7f8e\u611f\u3002<\/p>\n<\/p>\n<p><p><strong>\u7f3a\u70b9<\/strong>\uff1a\u53ef\u80fd\u5bfc\u81f4\u6808\u6ea2\u51fa\uff0c\u4e0d\u9002\u5408\u975e\u5e38\u5927\u7684\u6570\u5b57\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u4f7f\u7528Python\u5185\u7f6e\u5e93<\/h3>\n<\/p>\n<p><p>Python\u5185\u7f6e\u5e93\u63d0\u4f9b\u4e86\u4e00\u4e9b\u4fbf\u6377\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u7528\u6765\u7b80\u5316\u53cd\u5e8f\u6570\u5224\u65ad\u7684\u5b9e\u73b0\u3002<\/p>\n<\/p>\n<p><h4>4.1 \u4f7f\u7528<code>functools.lru_cache<\/code><\/h4>\n<\/p>\n<p><p><code>functools.lru_cache<\/code>\u53ef\u4ee5\u7528\u4e8e\u4f18\u5316\u9012\u5f52\u5b9e\u73b0\uff0c\u51cf\u5c11\u91cd\u590d\u8ba1\u7b97\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from functools import lru_cache<\/p>\n<p>@lru_cache(None)<\/p>\n<p>def is_palindrome_cached(num):<\/p>\n<p>    return str(num) == str(num)[::-1]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>4.2 \u4f18\u5316\u9012\u5f52\u6027\u80fd<\/h4>\n<\/p>\n<p><p>\u901a\u8fc7\u7f13\u5b58\u673a\u5236\uff0c\u907f\u514d\u91cd\u590d\u8ba1\u7b97\uff0c\u63d0\u9ad8\u6548\u7387\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u6027\u80fd\u6bd4\u8f83\u4e0e\u5e94\u7528\u573a\u666f<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u9009\u62e9\u4f55\u79cd\u65b9\u6cd5\u53d6\u51b3\u4e8e\u5177\u4f53\u9700\u6c42\u548c\u5e94\u7528\u573a\u666f\u3002<\/p>\n<\/p>\n<p><h4>5.1 \u6027\u80fd\u6bd4\u8f83<\/h4>\n<\/p>\n<ul>\n<li><strong>\u5b57\u7b26\u4e32\u53cd\u8f6c\u6cd5<\/strong>\uff1a\u7b80\u5355\uff0c\u9002\u5408\u5c0f\u89c4\u6a21\u5e94\u7528\u3002<\/li>\n<li><strong>\u6570\u5b66\u8fd0\u7b97\u6cd5<\/strong>\uff1a\u9ad8\u6548\uff0c\u9002\u5408\u5927\u89c4\u6a21\u8ba1\u7b97\u3002<\/li>\n<li><strong>\u9012\u5f52\u5b9e\u73b0\u6cd5<\/strong>\uff1a\u9002\u5408\u7814\u7a76\u6027\u6216\u6559\u80b2\u6027\u5e94\u7528\u3002<\/li>\n<li><strong>\u5185\u7f6e\u5e93\u4f18\u5316<\/strong>\uff1a\u9002\u5408\u9700\u8981\u9ad8\u6027\u80fd\u7684\u573a\u5408\u3002<\/li>\n<\/ul>\n<p><h4>5.2 \u5e94\u7528\u573a\u666f<\/h4>\n<\/p>\n<p><p>\u53cd\u5e8f\u6570\u5224\u65ad\u5728\u5f88\u591a\u573a\u666f\u4e0b\u90fd\u6709\u5e94\u7528\uff0c\u5982\u6570\u636e\u9a8c\u8bc1\u3001\u7b97\u6cd5\u7ade\u8d5b\u3001\u5bc6\u7801\u5b66\u7b49\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u603b\u7ed3\u4e0e\u5efa\u8bae<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\u8ba1\u7b97\u53cd\u5e8f\u6570\u6709\u591a\u79cd\u65b9\u6cd5\u53ef\u4f9b\u9009\u62e9\u3002<strong>\u5b57\u7b26\u4e32\u53cd\u8f6c\u6cd5\u7b80\u5355\u76f4\u89c2\uff0c\u9002\u5408\u521d\u5b66\u8005\uff1b\u6570\u5b66\u8fd0\u7b97\u6cd5\u9ad8\u6548\u53ef\u9760\uff0c\u9002\u5408\u5904\u7406\u5927\u6570\u636e\uff1b\u9012\u5f52\u5b9e\u73b0\u6cd5\u5219\u9002\u5408\u5b66\u672f\u7814\u7a76\u6216\u6559\u80b2<\/strong>\u3002\u6839\u636e\u5177\u4f53\u9700\u6c42\u548c\u5e94\u7528\u573a\u666f\uff0c\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53ef\u4ee5\u63d0\u9ad8\u7a0b\u5e8f\u7684\u6548\u7387\u548c\u53ef\u8bfb\u6027\u3002\u65e0\u8bba\u9009\u62e9\u54ea\u79cd\u65b9\u6cd5\uff0c\u7406\u89e3\u5176\u539f\u7406\u548c\u9002\u7528\u573a\u5408\u90fd\u662f\u81f3\u5173\u91cd\u8981\u7684\u3002\u901a\u8fc7\u672c\u6587\u7684\u4ecb\u7ecd\uff0c\u5e0c\u671b\u60a8\u5bf9Python\u4e2d\u8ba1\u7b97\u53cd\u5e8f\u6570\u7684\u65b9\u6cd5\u6709\u4e86\u66f4\u6df1\u5165\u7684\u7406\u89e3\uff0c\u5e76\u80fd\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\u7075\u6d3b\u8fd0\u7528\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u8ba1\u7b97\u53cd\u5e8f\u6570\uff1f<\/strong><br \/>\u53cd\u5e8f\u6570\u662f\u6307\u5728\u4e00\u4e2a\u6392\u5217\u4e2d\uff0c\u524d\u9762\u7684\u6570\u5b57\u5927\u4e8e\u540e\u9762\u7684\u6570\u5b57\u7684\u5bf9\u6570\u3002\u8981\u8ba1\u7b97\u53cd\u5e8f\u6570\uff0c\u53ef\u4ee5\u901a\u8fc7\u4e24\u5c42\u5faa\u73af\u904d\u5386\u5217\u8868\u4e2d\u7684\u6bcf\u5bf9\u6570\u5b57\uff0c\u6bd4\u8f83\u5b83\u4eec\u7684\u5927\u5c0f\u5173\u7cfb\u3002Python\u4e2d\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u6216\u6570\u7ec4\u6765\u5b58\u50a8\u8fd9\u4e9b\u6570\u5b57\uff0c\u5e76\u901a\u8fc7\u7b80\u5355\u7684\u6761\u4ef6\u5224\u65ad\u6765\u7edf\u8ba1\u53cd\u5e8f\u6570\u3002\u4e5f\u53ef\u4ee5\u4f7f\u7528\u66f4\u9ad8\u6548\u7684\u7b97\u6cd5\uff0c\u6bd4\u5982\u5f52\u5e76\u6392\u5e8f\u4e2d\u7684\u53cd\u5e8f\u6570\u8ba1\u6570\u65b9\u6cd5\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u8ba1\u7b97\u53cd\u5e8f\u6570\u7684\u5e38\u7528\u65b9\u6cd5\u6709\u54ea\u4e9b\uff1f<\/strong><br \/>\u5e38\u7528\u7684\u65b9\u6cd5\u5305\u62ec\u66b4\u529b\u6cd5\u548c\u5f52\u5e76\u6392\u5e8f\u6cd5\u3002\u66b4\u529b\u6cd5\u7684\u65f6\u95f4\u590d\u6742\u5ea6\u4e3aO(n^2)\uff0c\u9002\u5408\u4e8e\u5c0f\u89c4\u6a21\u6570\u636e\u3002\u800c\u5f52\u5e76\u6392\u5e8f\u6cd5\u5229\u7528\u5206\u6cbb\u7b56\u7565\uff0c\u65f6\u95f4\u590d\u6742\u5ea6\u4e3aO(n log n)\uff0c\u9002\u5408\u4e8e\u5927\u89c4\u6a21\u6570\u636e\u3002\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u53ef\u4ee5\u63d0\u9ad8\u8ba1\u7b97\u6548\u7387\uff0c\u5177\u4f53\u53ef\u4ee5\u6839\u636e\u6570\u636e\u89c4\u6a21\u548c\u6027\u80fd\u9700\u6c42\u6765\u9009\u62e9\u3002<\/p>\n<p><strong>\u662f\u5426\u6709Python\u5e93\u53ef\u4ee5\u7b80\u5316\u53cd\u5e8f\u6570\u7684\u8ba1\u7b97\uff1f<\/strong><br \/>\u867d\u7136Python\u6807\u51c6\u5e93\u4e2d\u6ca1\u6709\u4e13\u95e8\u9488\u5bf9\u53cd\u5e8f\u6570\u7684\u8ba1\u7b97\u5de5\u5177\uff0c\u4f46\u53ef\u4ee5\u4f7f\u7528NumPy\u548cPandas\u5e93\u6765\u5904\u7406\u6570\u636e\uff0c\u7b80\u5316\u6570\u636e\u64cd\u4f5c\u548c\u8ba1\u7b97\u8fc7\u7a0b\u3002\u901a\u8fc7\u8fd9\u4e9b\u5e93\uff0c\u53ef\u4ee5\u66f4\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u7ec4\u548c\u6570\u636e\u6846\u7684\u64cd\u4f5c\uff0c\u7ed3\u5408\u81ea\u5b9a\u4e49\u51fd\u6570\u5feb\u901f\u8ba1\u7b97\u53cd\u5e8f\u6570\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8ba1\u7b97\u53cd\u5e8f\u6570\uff08\u4e5f\u79f0\u4e3a\u56de\u6587\u6570\uff09\u7684\u95ee\u9898\u5728Python\u4e2d\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u89e3\u51b3\u3002\u5e38\u89c1\u7684\u65b9\u6cd5\u5305\u62ec\u5b57\u7b26\u4e32\u53cd\u8f6c\u3001\u6570\u5b66\u8fd0\u7b97\u3001\u9012\u5f52 [&hellip;]","protected":false},"author":3,"featured_media":1006136,"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\/1006130"}],"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=1006130"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1006130\/revisions"}],"predecessor-version":[{"id":1006137,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1006130\/revisions\/1006137"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1006136"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1006130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1006130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1006130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}