{"id":1050148,"date":"2024-12-31T14:05:24","date_gmt":"2024-12-31T06:05:24","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1050148.html"},"modified":"2024-12-31T14:05:27","modified_gmt":"2024-12-31T06:05:27","slug":"python%e5%a6%82%e4%bd%95%e8%af%bb%e5%8f%96%e7%9f%a9%e9%98%b5%e4%b8%ad%e6%9f%90%e4%b8%aa%e6%95%b0%e6%8d%ae","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1050148.html","title":{"rendered":"python\u5982\u4f55\u8bfb\u53d6\u77e9\u9635\u4e2d\u67d0\u4e2a\u6570\u636e"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/13d1f4d6-ecde-4f3f-8216-5b46f1caee8d.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"python\u5982\u4f55\u8bfb\u53d6\u77e9\u9635\u4e2d\u67d0\u4e2a\u6570\u636e\" \/><\/p>\n<p><p> <strong>Python\u8bfb\u53d6\u77e9\u9635\u4e2d\u67d0\u4e2a\u6570\u636e\uff0c\u53ef\u4ee5\u901a\u8fc7\u5217\u8868\u7d22\u5f15\u3001Numpy\u5e93\u3001Pandas\u5e93\u7b49\u65b9\u5f0f\u8fdb\u884c\u3002<\/strong>\u5176\u4e2d\uff0c\u5e38\u7528\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u5d4c\u5957\u5217\u8868\u3001\u4f7f\u7528Numpy\u5e93\u7684\u6570\u7ec4\u5bf9\u8c61\u3001\u4f7f\u7528Pandas\u5e93\u7684DataFrame\u5bf9\u8c61\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u51e0\u79cd\u65b9\u6cd5\uff0c\u5e76\u5bf9\u5176\u4e2d\u4e00\u79cd\u65b9\u6cd5\u8fdb\u884c\u8be6\u7ec6\u63cf\u8ff0\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u5d4c\u5957\u5217\u8868\u8bfb\u53d6<\/p>\n<p>\u5d4c\u5957\u5217\u8868\u662fPython\u4e2d\u6700\u57fa\u672c\u7684\u4e8c\u7ef4\u6570\u7ec4\u8868\u793a\u65b9\u5f0f\u3002\u53ef\u4ee5\u901a\u8fc7\u5d4c\u5957\u5217\u8868\u7684\u7d22\u5f15\u6765\u8bfb\u53d6\u77e9\u9635\u4e2d\u7684\u6570\u636e\u3002\u4f8b\u5982\uff1amatrix[i][j]\u53ef\u4ee5\u8bfb\u53d6\u77e9\u9635matrix\u4e2d\u7b2ci\u884c\u7b2cj\u5217\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001Numpy\u5e93\u8bfb\u53d6<\/p>\n<p>Numpy\u662fPython\u4e2d\u7528\u4e8e\u79d1\u5b66\u8ba1\u7b97\u7684\u57fa\u7840\u5e93\uff0c\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u591a\u7ef4\u6570\u7ec4\u5bf9\u8c61\u548c\u5de5\u5177\u3002\u53ef\u4ee5\u4f7f\u7528Numpy\u6570\u7ec4\u5bf9\u8c61\u6765\u8bfb\u53d6\u77e9\u9635\u4e2d\u7684\u6570\u636e\u3002\u4f8b\u5982\uff1amatrix[i, j]\u53ef\u4ee5\u8bfb\u53d6Numpy\u6570\u7ec4matrix\u4e2d\u7b2ci\u884c\u7b2cj\u5217\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001Pandas\u5e93\u8bfb\u53d6<\/p>\n<p>Pandas\u662fPython\u4e2d\u7528\u4e8e\u6570\u636e\u5206\u6790\u7684\u5e93\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u7ed3\u6784\u548c\u6570\u636e\u5206\u6790\u5de5\u5177\u3002\u53ef\u4ee5\u4f7f\u7528Pandas\u7684DataFrame\u5bf9\u8c61\u6765\u8bfb\u53d6\u77e9\u9635\u4e2d\u7684\u6570\u636e\u3002\u4f8b\u5982\uff1amatrix.iloc[i, j]\u53ef\u4ee5\u8bfb\u53d6DataFrame\u5bf9\u8c61matrix\u4e2d\u7b2ci\u884c\u7b2cj\u5217\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5d4c\u5957\u5217\u8868\u8bfb\u53d6<\/h3>\n<\/p>\n<p><p>\u5d4c\u5957\u5217\u8868\u662f\u6700\u57fa\u672c\u7684\u4e8c\u7ef4\u6570\u7ec4\u8868\u793a\u65b9\u5f0f\uff0c\u9002\u5408\u4e8e\u7b80\u5355\u7684\u77e9\u9635\u64cd\u4f5c\u3002\u5047\u8bbe\u6709\u4e00\u4e2a3&#215;3\u7684\u77e9\u9635\uff0c\u53ef\u4ee5\u7528\u5d4c\u5957\u5217\u8868\u6765\u8868\u793a\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">matrix = [<\/p>\n<p>    [1, 2, 3],<\/p>\n<p>    [4, 5, 6],<\/p>\n<p>    [7, 8, 9]<\/p>\n<p>]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8981\u8bfb\u53d6\u77e9\u9635\u4e2d\u7b2c2\u884c\u7b2c3\u5217\u7684\u6570\u636e\uff0c\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u7d22\u5f15\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">value = matrix[1][2]<\/p>\n<p>print(value)  # \u8f93\u51fa 6<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>matrix[1][2]<\/code>\u8868\u793a\u8bfb\u53d6matrix\u4e2d\u7b2c1\u884c\uff08\u7d22\u5f15\u4ece0\u5f00\u59cb\uff09\u7b2c2\u5217\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001Numpy\u5e93\u8bfb\u53d6<\/h3>\n<\/p>\n<p><p>Numpy\u662f\u4e00\u4e2a\u7528\u4e8e\u79d1\u5b66\u8ba1\u7b97\u7684\u57fa\u7840\u5e93\uff0c\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u591a\u7ef4\u6570\u7ec4\u5bf9\u8c61\u548c\u5de5\u5177\u3002Numpy\u6570\u7ec4\u5bf9\u8c61\u6bd4\u5d4c\u5957\u5217\u8868\u66f4\u9ad8\u6548\uff0c\u9002\u5408\u4e8e\u5927\u89c4\u6a21\u7684\u77e9\u9635\u64cd\u4f5c\u3002\u9996\u5148\uff0c\u9700\u8981\u5b89\u88c5Numpy\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install numpy<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528Numpy\u6570\u7ec4\u5bf9\u8c61\u6765\u8868\u793a\u548c\u8bfb\u53d6\u77e9\u9635\u4e2d\u7684\u6570\u636e\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import numpy as np<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a3x3\u7684Numpy\u6570\u7ec4<\/strong><\/h2>\n<p>matrix = np.array([<\/p>\n<p>    [1, 2, 3],<\/p>\n<p>    [4, 5, 6],<\/p>\n<p>    [7, 8, 9]<\/p>\n<p>])<\/p>\n<h2><strong>\u8bfb\u53d6\u7b2c2\u884c\u7b2c3\u5217\u7684\u6570\u636e<\/strong><\/h2>\n<p>value = matrix[1, 2]<\/p>\n<p>print(value)  # \u8f93\u51fa 6<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>matrix[1, 2]<\/code>\u8868\u793a\u8bfb\u53d6Numpy\u6570\u7ec4matrix\u4e2d\u7b2c1\u884c\uff08\u7d22\u5f15\u4ece0\u5f00\u59cb\uff09\u7b2c2\u5217\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<p><p>Numpy\u5e93\u8fd8\u63d0\u4f9b\u4e86\u8bb8\u591a\u5f3a\u5927\u7684\u6570\u7ec4\u64cd\u4f5c\u51fd\u6570\uff0c\u4f8b\u5982\u77e9\u9635\u8f6c\u7f6e\u3001\u77e9\u9635\u4e58\u6cd5\u3001\u77e9\u9635\u6c42\u9006\u7b49\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u590d\u6742\u7684\u77e9\u9635\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001Pandas\u5e93\u8bfb\u53d6<\/h3>\n<\/p>\n<p><p>Pandas\u662f\u4e00\u4e2a\u7528\u4e8e\u6570\u636e\u5206\u6790\u7684\u5e93\uff0c\u63d0\u4f9b\u4e86\u6570\u636e\u7ed3\u6784\u548c\u6570\u636e\u5206\u6790\u5de5\u5177\u3002Pandas\u7684DataFrame\u5bf9\u8c61\u662f\u4e00\u4e2a\u4e8c\u7ef4\u7684\u8868\u683c\u6570\u636e\u7ed3\u6784\uff0c\u7c7b\u4f3c\u4e8e\u7535\u5b50\u8868\u683c\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u6570\u636e\u7684\u8bfb\u53d6\u548c\u64cd\u4f5c\u3002\u9996\u5148\uff0c\u9700\u8981\u5b89\u88c5Pandas\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install pandas<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528Pandas\u7684DataFrame\u5bf9\u8c61\u6765\u8868\u793a\u548c\u8bfb\u53d6\u77e9\u9635\u4e2d\u7684\u6570\u636e\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a3x3\u7684DataFrame\u5bf9\u8c61<\/strong><\/h2>\n<p>matrix = pd.DataFrame([<\/p>\n<p>    [1, 2, 3],<\/p>\n<p>    [4, 5, 6],<\/p>\n<p>    [7, 8, 9]<\/p>\n<p>])<\/p>\n<h2><strong>\u8bfb\u53d6\u7b2c2\u884c\u7b2c3\u5217\u7684\u6570\u636e<\/strong><\/h2>\n<p>value = matrix.iloc[1, 2]<\/p>\n<p>print(value)  # \u8f93\u51fa 6<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>matrix.iloc[1, 2]<\/code>\u8868\u793a\u8bfb\u53d6DataFrame\u5bf9\u8c61matrix\u4e2d\u7b2c1\u884c\uff08\u7d22\u5f15\u4ece0\u5f00\u59cb\uff09\u7b2c2\u5217\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<p><p>Pandas\u5e93\u8fd8\u63d0\u4f9b\u4e86\u8bb8\u591a\u5f3a\u5927\u7684\u6570\u636e\u64cd\u4f5c\u51fd\u6570\uff0c\u4f8b\u5982\u6570\u636e\u7b5b\u9009\u3001\u6570\u636e\u805a\u5408\u3001\u6570\u636e\u900f\u89c6\u8868\u7b49\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u8fdb\u884c\u590d\u6742\u7684\u6570\u636e\u5206\u6790\u548c\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u5176\u4ed6\u5e93\u8bfb\u53d6<\/h3>\n<\/p>\n<p><p>\u9664\u4e86\u4e0a\u8ff0\u4e09\u79cd\u5e38\u7528\u7684\u65b9\u6cd5\u5916\uff0c\u8fd8\u6709\u4e00\u4e9b\u5176\u4ed6\u7684\u5e93\u53ef\u4ee5\u7528\u4e8e\u8bfb\u53d6\u77e9\u9635\u4e2d\u7684\u6570\u636e\uff0c\u4f8b\u5982SciPy\u3001TensorFlow\u7b49\u3002SciPy\u662f\u4e00\u4e2a\u7528\u4e8e\u79d1\u5b66\u8ba1\u7b97\u7684\u5e93\uff0c\u63d0\u4f9b\u4e86\u8bb8\u591a\u9ad8\u7ea7\u7684\u6570\u5b66\u51fd\u6570\u548c\u5de5\u5177\u3002TensorFlow\u662f\u4e00\u4e2a\u7528\u4e8e<a href=\"https:\/\/docs.pingcode.com\/ask\/59192.html\" target=\"_blank\">\u673a\u5668\u5b66\u4e60<\/a>\u7684\u5e93\uff0c\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u591a\u7ef4\u6570\u7ec4\u5bf9\u8c61\u548c\u5de5\u5177\u3002\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u7684\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5e93\u6765\u8fdb\u884c\u77e9\u9635\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h3>\u5d4c\u5957\u5217\u8868\u8bfb\u53d6\u8be6\u7ec6\u63cf\u8ff0<\/h3>\n<\/p>\n<p><p>\u5d4c\u5957\u5217\u8868\u662fPython\u4e2d\u6700\u57fa\u672c\u7684\u4e8c\u7ef4\u6570\u7ec4\u8868\u793a\u65b9\u5f0f\uff0c\u901a\u8fc7\u5d4c\u5957\u5217\u8868\u7684\u7d22\u5f15\u53ef\u4ee5\u65b9\u4fbf\u5730\u8bfb\u53d6\u548c\u4fee\u6539\u77e9\u9635\u4e2d\u7684\u6570\u636e\u3002\u5047\u8bbe\u6709\u4e00\u4e2a3&#215;3\u7684\u77e9\u9635\uff0c\u53ef\u4ee5\u7528\u5d4c\u5957\u5217\u8868\u6765\u8868\u793a\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">matrix = [<\/p>\n<p>    [1, 2, 3],<\/p>\n<p>    [4, 5, 6],<\/p>\n<p>    [7, 8, 9]<\/p>\n<p>]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8981\u8bfb\u53d6\u77e9\u9635\u4e2d\u7b2c2\u884c\u7b2c3\u5217\u7684\u6570\u636e\uff0c\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u7d22\u5f15\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">value = matrix[1][2]<\/p>\n<p>print(value)  # \u8f93\u51fa 6<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>matrix[1][2]<\/code>\u8868\u793a\u8bfb\u53d6matrix\u4e2d\u7b2c1\u884c\uff08\u7d22\u5f15\u4ece0\u5f00\u59cb\uff09\u7b2c2\u5217\u7684\u6570\u636e\u3002<\/p>\n<\/p>\n<p><p>\u5d4c\u5957\u5217\u8868\u7684\u4f18\u70b9\u662f\u7b80\u5355\u76f4\u89c2\uff0c\u9002\u5408\u4e8e\u5c0f\u89c4\u6a21\u7684\u77e9\u9635\u64cd\u4f5c\u3002\u7f3a\u70b9\u662f\u5bf9\u4e8e\u5927\u89c4\u6a21\u7684\u77e9\u9635\u64cd\u4f5c\uff0c\u5d4c\u5957\u5217\u8868\u7684\u6548\u7387\u8f83\u4f4e\uff0c\u4e0d\u9002\u5408\u8fdb\u884c\u590d\u6742\u7684\u77e9\u9635\u8fd0\u7b97\u3002<\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u63d0\u9ad8\u6548\u7387\uff0c\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u6765\u521b\u5efa\u548c\u64cd\u4f5c\u5d4c\u5957\u5217\u8868\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u6765\u521b\u5efa\u4e00\u4e2a3&#215;3\u7684\u77e9\u9635\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">matrix = [[i * 3 + j + 1 for j in range(3)] for i in range(3)]<\/p>\n<p>print(matrix)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8f93\u51fa\u7ed3\u679c\u4e3a\uff1a<\/p>\n<\/p>\n<p><pre><code>[[1, 2, 3],<\/p>\n<p> [4, 5, 6],<\/p>\n<p> [7, 8, 9]]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd8\u53ef\u4ee5\u4f7f\u7528\u5217\u8868\u63a8\u5bfc\u5f0f\u6765\u4fee\u6539\u77e9\u9635\u4e2d\u7684\u6570\u636e\u3002\u4f8b\u5982\uff0c\u8981\u5c06\u77e9\u9635\u4e2d\u7684\u6bcf\u4e2a\u5143\u7d20\u52a01\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">matrix = [[element + 1 for element in row] for row in matrix]<\/p>\n<p>print(matrix)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8f93\u51fa\u7ed3\u679c\u4e3a\uff1a<\/p>\n<\/p>\n<p><pre><code>[[2, 3, 4],<\/p>\n<p> [5, 6, 7],<\/p>\n<p> [8, 9, 10]]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5d4c\u5957\u5217\u8868\u867d\u7136\u7b80\u5355\u76f4\u89c2\uff0c\u4f46\u5bf9\u4e8e\u5927\u89c4\u6a21\u7684\u77e9\u9635\u64cd\u4f5c\uff0c\u5efa\u8bae\u4f7f\u7528Numpy\u5e93\u6216Pandas\u5e93\u6765\u63d0\u9ad8\u6548\u7387\u548c\u65b9\u4fbf\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u8bfb\u53d6\u7279\u5b9a\u4f4d\u7f6e\u7684\u77e9\u9635\u5143\u7d20\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u5f0f\u8bfb\u53d6\u77e9\u9635\u4e2d\u7684\u7279\u5b9a\u5143\u7d20\u3002\u5982\u679c\u4f60\u4f7f\u7528NumPy\u5e93\uff0c\u53ef\u4ee5\u901a\u8fc7\u7d22\u5f15\u8bbf\u95ee\uff0c\u4f8b\u5982<code>matrix[row_index, column_index]<\/code>\u6765\u83b7\u53d6\u4f4d\u4e8e\u6307\u5b9a\u884c\u548c\u5217\u7684\u5143\u7d20\u3002\u786e\u4fdd\u7d22\u5f15\u4ece0\u5f00\u59cb\u8ba1\u6570\u3002<\/p>\n<p><strong>\u5982\u4f55\u4f7f\u7528Pandas\u8bfb\u53d6\u77e9\u9635\u4e2d\u7684\u6570\u636e\uff1f<\/strong><br \/>\u5982\u679c\u4f60\u7684\u77e9\u9635\u662f\u4ee5DataFrame\u7684\u5f62\u5f0f\u5b58\u50a8\u5728Pandas\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7<code>.iloc<\/code>\u6216<code>.loc<\/code>\u65b9\u6cd5\u6765\u8bfb\u53d6\u7279\u5b9a\u6570\u636e\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>df.iloc[row_index, column_index]<\/code>\u6765\u83b7\u53d6\u7279\u5b9a\u4f4d\u7f6e\u7684\u5143\u7d20\uff0c\u6216\u8005\u4f7f\u7528<code>df.loc[row_label, column_label]<\/code>\u6765\u6839\u636e\u6807\u7b7e\u83b7\u53d6\u6570\u636e\u3002<\/p>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u5904\u7406\u77e9\u9635\u8d8a\u754c\u7684\u95ee\u9898\uff1f<\/strong><br \/>\u5728\u8bfb\u53d6\u77e9\u9635\u5143\u7d20\u65f6\uff0c\u786e\u4fdd\u7d22\u5f15\u4e0d\u8d85\u51fa\u77e9\u9635\u7684\u8fb9\u754c\u3002\u53ef\u4ee5\u901a\u8fc7\u68c0\u67e5\u77e9\u9635\u7684\u5f62\u72b6\uff0c\u786e\u4fdd\u884c\u548c\u5217\u7d22\u5f15\u5747\u5728\u6709\u6548\u8303\u56f4\u5185\u3002\u4f8b\u5982\uff0c\u4f7f\u7528<code>matrix.shape<\/code>\u53ef\u4ee5\u83b7\u53d6\u77e9\u9635\u7684\u884c\u6570\u548c\u5217\u6570\uff0c\u4ece\u800c\u907f\u514d\u8d8a\u754c\u9519\u8bef\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u8bfb\u53d6\u77e9\u9635\u4e2d\u67d0\u4e2a\u6570\u636e\uff0c\u53ef\u4ee5\u901a\u8fc7\u5217\u8868\u7d22\u5f15\u3001Numpy\u5e93\u3001Pandas\u5e93\u7b49\u65b9\u5f0f\u8fdb\u884c\u3002\u5176\u4e2d\uff0c\u5e38\u7528\u7684\u65b9\u6cd5\u5305\u62ec [&hellip;]","protected":false},"author":3,"featured_media":1050169,"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\/1050148"}],"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=1050148"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1050148\/revisions"}],"predecessor-version":[{"id":1050174,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1050148\/revisions\/1050174"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1050169"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1050148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1050148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1050148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}