{"id":833,"date":"2023-07-28T14:48:22","date_gmt":"2023-07-28T14:48:22","guid":{"rendered":"https:\/\/statorials.org\/cn\/%e4%ba%8c%e9%a1%b9%e5%bc%8f%e5%88%86%e5%b8%83-python\/"},"modified":"2023-07-28T14:48:22","modified_gmt":"2023-07-28T14:48:22","slug":"%e4%ba%8c%e9%a1%b9%e5%bc%8f%e5%88%86%e5%b8%83-python","status":"publish","type":"post","link":"https:\/\/statorials.org\/cn\/%e4%ba%8c%e9%a1%b9%e5%bc%8f%e5%88%86%e5%b8%83-python\/","title":{"rendered":"\u5982\u4f55\u5728 python \u4e2d\u4f7f\u7528\u4e8c\u9879\u5f0f\u5206\u5e03"},"content":{"rendered":"<p><\/p>\n<hr>\n<p><span style=\"color: #000000;\"><a href=\"https:\/\/statorials.org\/cn\/\u4e8c\u9879\u5206\u5e03-1\/\" target=\"_blank\" rel=\"noopener\">\u4e8c\u9879\u5f0f\u5206\u5e03<\/a>\u662f\u7edf\u8ba1\u5b66\u4e2d\u6700\u5e38\u7528\u7684\u5206\u5e03\u4e4b\u4e00\u3002\u5b83\u63cf\u8ff0\u4e86\u5728<em>n<\/em>\u6b21\u4e8c\u9879\u5f0f\u5b9e\u9a8c\u4e2d\u83b7\u5f97<em>k\u6b21<\/em>\u6210\u529f\u7684\u6982\u7387\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\">\u5982\u679c<a href=\"https:\/\/statorials.org\/cn\/\u968f\u673a\u53d8\u91cf-1\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"random variable (opens in a new tab)\">\u968f\u673a\u53d8\u91cf<\/a><em>X<\/em>\u670d\u4ece\u4e8c\u9879\u5f0f\u5206\u5e03\uff0c\u5219<em>X<\/em> = <em>k<\/em>\u6210\u529f\u7684\u6982\u7387\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u516c\u5f0f\u6c42\u51fa\uff1a<\/span><\/p>\n<p> <span style=\"color: #000000;\"><strong>P(X=k) = <sub>n<\/sub> C <sub>k<\/sub> * p <sup>k<\/sup> * (1-p) <sup>nk<\/sup><\/strong><\/span><\/p>\n<p><span style=\"color: #000000;\">\u91d1\u5b50\uff1a<\/span><\/p>\n<ul>\n<li> <span style=\"color: #000000;\"><strong>n\uff1a<\/strong>\u8bd5\u9a8c\u6b21\u6570<\/span><\/li>\n<li><span style=\"color: #000000;\"><strong>k\uff1a<\/strong>\u6210\u529f\u6b21\u6570<\/span><\/li>\n<li><span style=\"color: #000000;\"><strong>p\uff1a<\/strong>\u7ed9\u5b9a\u8bd5\u9a8c\u7684\u6210\u529f\u6982\u7387<\/span><\/li>\n<li><span style=\"color: #000000;\"><strong><sub>n<\/sub> C <sub>k<\/sub> \uff1a<\/strong>\u5728<em>n<\/em>\u6b21\u8bd5\u9a8c\u4e2d\u83b7\u5f97<em>k\u6b21<\/em>\u6210\u529f\u7684\u65b9\u6cd5\u6570<\/span><\/li>\n<\/ul>\n<p><span style=\"color: #000000;\">\u672c\u6559\u7a0b\u4ecb\u7ecd\u5982\u4f55\u5728 Python \u4e2d\u4f7f\u7528\u4e8c\u9879\u5f0f\u5206\u5e03\u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u5982\u4f55\u751f\u6210\u4e8c\u9879\u5f0f\u5206\u5e03<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u60a8\u53ef\u4ee5\u4f7f\u7528 numpy \u5e93\u7684<a href=\"https:\/\/numpy.org\/doc\/stable\/reference\/random\/generated\/numpy.random.binomial.html\" target=\"_blank\" rel=\"noopener\">random.binomial<\/a>\u51fd\u6570\u751f\u6210\u9075\u5faa\u4e8c\u9879\u5206\u5e03\u7684\u503c\u6570\u7ec4\uff1a<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\">from<\/span> numpy <span style=\"color: #107d3f;\">import<\/span> random\n\n<span style=\"color: #008080;\">#generate an array of 10 values that follows a binomial distribution<\/span>\nrandom.binomial(n=10, p=.25, size=10)\n\narray([5, 2, 1, 3, 3, 3, 2, 2, 1, 4])\n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u7ed3\u679c\u8868\u4e2d\u7684\u6bcf\u4e2a\u6570\u5b57\u4ee3\u8868<strong>10 \u6b21<\/strong>\u8bd5\u9a8c\u8fc7\u7a0b\u4e2d\u9047\u5230\u7684\u201c\u6210\u529f\u201d\u6b21\u6570\uff0c\u5176\u4e2d\u7ed9\u5b9a\u8bd5\u9a8c\u7684\u6210\u529f\u6982\u7387\u4e3a<strong>0.25<\/strong> \u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u5982\u4f55\u4f7f\u7528\u4e8c\u9879\u5206\u5e03\u8ba1\u7b97\u6982\u7387<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u60a8\u8fd8\u53ef\u4ee5\u4f7f\u7528 scipy \u5e93\u7684<a href=\"https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.binom.html\" target=\"_blank\" rel=\"noopener\">binom \u51fd\u6570<\/a>\u56de\u7b54\u6709\u5173\u4e8c\u9879\u5f0f\u6982\u7387\u7684\u95ee\u9898\u3002<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>\u95ee\u9898 1\uff1a<\/strong>\u5185\u68ee\u7684\u7f5a\u7403\u547d\u4e2d\u7387\u4e3a 60%\u3002\u5982\u679c\u4ed6\u7f5a\u7403 12 \u6b21\uff0c\u4ed6\u7f5a\u4e2d 10 \u6b21\u7684\u6982\u7387\u662f\u591a\u5c11\uff1f<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\">from<\/span> scipy.stats <span style=\"color: #107d3f;\">import<\/span> binom\n\n<span style=\"color: #008080;\">#calculate binomial probability<\/span>\nbinom.pmf(k= <span style=\"color: #107d3f;\">10<\/span> , n= <span style=\"color: #107d3f;\">12<\/span> , p= <span style=\"color: #107d3f;\">0.6<\/span> )\n\n0.0639\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">Nathan \u6070\u597d\u7f5a\u7403 10 \u6b21\u7684\u6982\u7387\u662f<strong>0.0639<\/strong> \u3002<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>\u95ee\u9898 2\uff1a<\/strong> Marty \u629b\u4e00\u679a\u5747\u5300\u7684\u786c\u5e01 5 \u6b21\u3002\u786c\u5e01\u6b63\u9762\u671d\u4e0a\u4e24\u6b21\u6216\u66f4\u5c11\u7684\u6982\u7387\u662f\u591a\u5c11\uff1f<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\">from<\/span> scipy.stats <span style=\"color: #107d3f;\">import<\/span> binom\n\n<span style=\"color: #008080;\">#calculate binomial probability<\/span>\nbinom.cdf(k= <span style=\"color: #107d3f;\">2<\/span> , n= <span style=\"color: #107d3f;\">5<\/span> , p= <span style=\"color: #107d3f;\">0.5<\/span> )\n\n0.5\n<\/strong><\/pre>\n<p><span style=\"color: #000000;\">\u786c\u5e01\u6b63\u9762\u671d\u4e0a 2 \u6b21\u6216\u66f4\u5c11\u7684\u6982\u7387\u4e3a<strong>0.5<\/strong> \u3002<\/span><\/p>\n<p><span style=\"color: #000000;\"><strong>\u95ee\u9898 3\uff1a<\/strong>\u6211\u4eec\u77e5\u9053 70% \u7684\u4eba\u652f\u6301\u67d0\u9879\u6cd5\u5f8b\u3002\u5982\u679c\u968f\u673a\u9009\u62e9 10 \u4e2a\u4eba\uff0c\u5176\u4e2d 4 \u5230 6 \u4eba\u652f\u6301\u8be5\u6cd5\u5f8b\u7684\u6982\u7387\u662f\u591a\u5c11\uff1f<\/span><\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\">from<\/span> scipy.stats <span style=\"color: #107d3f;\">import<\/span> binom\n\n<span style=\"color: #008080;\">#calculate binomial probability<\/span>\nbinom.cdf(k= <span style=\"color: #107d3f;\">6<\/span> , n= <span style=\"color: #107d3f;\">10<\/span> , p= <span style=\"color: #107d3f;\">0.7<\/span> ) - binom.cdf(k= <span style=\"color: #107d3f;\">3<\/span> , n= <span style=\"color: #107d3f;\">10<\/span> , p= <span style=\"color: #107d3f;\">0.7<\/span> )\n\n0.3398\n<\/strong><\/pre>\n<p> <span style=\"color: #000000;\">4 \u5230 6 \u540d\u968f\u673a\u9009\u62e9\u7684\u4e2a\u4eba\u652f\u6301\u8be5\u6cd5\u5f8b\u7684\u6982\u7387\u4e3a<strong>0.3398<\/strong> \u3002<\/span><\/p>\n<h3><span style=\"color: #000000;\"><strong>\u5982\u4f55\u53ef\u89c6\u5316\u4e8c\u9879\u5f0f\u5206\u5e03<\/strong><\/span><\/h3>\n<p><span style=\"color: #000000;\">\u60a8\u53ef\u4ee5\u4f7f\u7528<strong>seaborn<\/strong>\u548c<strong>matplotlib<\/strong>\u5e93\u5728 Python \u4e2d\u53ef\u89c6\u5316\u4e8c\u9879\u5f0f\u5206\u5e03\uff1a<\/span> <\/p>\n<pre style=\"background-color: #ececec; font-size: 15px;\"> <strong><span style=\"color: #107d3f;\">from<\/span> numpy <span style=\"color: #107d3f;\">import<\/span> random\n<span style=\"color: #107d3f;\">import<\/span> matplotlib.pyplot <span style=\"color: #107d3f;\">as<\/span> plt\n<span style=\"color: #107d3f;\">import<\/span> seaborn <span style=\"color: #107d3f;\">as<\/span> sns\n\nx = random.binomial(n= <span style=\"color: #107d3f;\">10<\/span> , p= <span style=\"color: #107d3f;\">0.5<\/span> , size= <span style=\"color: #107d3f;\">1000<\/span> )\n\nsns.distplot(x, hist= <span style=\"color: #107d3f;\">True<\/span> , kde= <span style=\"color: #107d3f;\">False<\/span> )\n\nplt.show()\n<\/strong><\/pre>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-9215 \" src=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/binomepython1.png\" alt=\"Python \u4e2d\u7684\u4e8c\u9879\u5f0f\u5206\u5e03\u56fe\" width=\"396\" height=\"262\" srcset=\"\" sizes=\"auto, \"><\/p>\n<p><span style=\"color: #000000;\">\u8336<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e8c\u9879\u5f0f\u5206\u5e03\u662f\u7edf\u8ba1\u5b66\u4e2d\u6700\u5e38\u7528\u7684\u5206\u5e03\u4e4b\u4e00\u3002\u5b83\u63cf\u8ff0\u4e86\u5728n\u6b21\u4e8c\u9879\u5f0f\u5b9e\u9a8c\u4e2d\u83b7\u5f97k\u6b21\u6210\u529f\u7684\u6982\u7387\u3002 \u5982\u679c\u968f\u673a\u53d8\u91cfX\u670d\u4ece\u4e8c\u9879\u5f0f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-833","post","type-post","status-publish","format-standard","hentry","category-11"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u4f55\u5728 Python \u4e2d\u4f7f\u7528\u4e8c\u9879\u5f0f\u5206\u5e03 - Statorials<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u5982\u4f55\u5728 Python \u4e2d\u4f7f\u7528\u4e8c\u9879\u5f0f\u5206\u5e03\u7684\u7b80\u5355\u8bf4\u660e\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/statorials.org\/cn\/\u4e8c\u9879\u5f0f\u5206\u5e03-python\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u5728 Python \u4e2d\u4f7f\u7528\u4e8c\u9879\u5f0f\u5206\u5e03 - Statorials\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u5982\u4f55\u5728 Python \u4e2d\u4f7f\u7528\u4e8c\u9879\u5f0f\u5206\u5e03\u7684\u7b80\u5355\u8bf4\u660e\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/statorials.org\/cn\/\u4e8c\u9879\u5f0f\u5206\u5e03-python\/\" \/>\n<meta property=\"og:site_name\" content=\"Statorials\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-28T14:48:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/binomepython1.png\" \/>\n<meta name=\"author\" content=\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/statorials.org\/cn\/%e4%ba%8c%e9%a1%b9%e5%bc%8f%e5%88%86%e5%b8%83-python\/\",\"url\":\"https:\/\/statorials.org\/cn\/%e4%ba%8c%e9%a1%b9%e5%bc%8f%e5%88%86%e5%b8%83-python\/\",\"name\":\"\u5982\u4f55\u5728 Python \u4e2d\u4f7f\u7528\u4e8c\u9879\u5f0f\u5206\u5e03 - Statorials\",\"isPartOf\":{\"@id\":\"https:\/\/statorials.org\/cn\/#website\"},\"datePublished\":\"2023-07-28T14:48:22+00:00\",\"dateModified\":\"2023-07-28T14:48:22+00:00\",\"author\":{\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\"},\"description\":\"\u5173\u4e8e\u5982\u4f55\u5728 Python \u4e2d\u4f7f\u7528\u4e8c\u9879\u5f0f\u5206\u5e03\u7684\u7b80\u5355\u8bf4\u660e\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/statorials.org\/cn\/%e4%ba%8c%e9%a1%b9%e5%bc%8f%e5%88%86%e5%b8%83-python\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/statorials.org\/cn\/%e4%ba%8c%e9%a1%b9%e5%bc%8f%e5%88%86%e5%b8%83-python\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/statorials.org\/cn\/%e4%ba%8c%e9%a1%b9%e5%bc%8f%e5%88%86%e5%b8%83-python\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u5bb6\",\"item\":\"https:\/\/statorials.org\/cn\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u5728 python \u4e2d\u4f7f\u7528\u4e8c\u9879\u5f0f\u5206\u5e03\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/statorials.org\/cn\/#website\",\"url\":\"https:\/\/statorials.org\/cn\/\",\"name\":\"Statorials\",\"description\":\"\u60a8\u7684\u7edf\u8ba1\u7d20\u517b\u6307\u5357\uff01\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/statorials.org\/cn\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261\",\"name\":\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/statorials.org\/cn\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"contentUrl\":\"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg\",\"caption\":\"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a\"},\"description\":\"\u5927\u5bb6\u597d\uff0c\u6211\u662f\u672c\u6770\u660e\uff0c\u4e00\u4f4d\u9000\u4f11\u7684\u7edf\u8ba1\u5b66\u6559\u6388\uff0c\u540e\u6765\u6210\u4e3a Statorials \u7684\u70ed\u5fc3\u6559\u5e08\u3002 \u51ed\u501f\u5728\u7edf\u8ba1\u9886\u57df\u7684\u4e30\u5bcc\u7ecf\u9a8c\u548c\u4e13\u4e1a\u77e5\u8bc6\uff0c\u6211\u6e34\u671b\u5206\u4eab\u6211\u7684\u77e5\u8bc6\uff0c\u901a\u8fc7 Statorials \u589e\u5f3a\u5b66\u751f\u7684\u80fd\u529b\u3002\u4e86\u89e3\u66f4\u591a\",\"sameAs\":[\"https:\/\/statorials.org\/cn\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u5982\u4f55\u5728 Python \u4e2d\u4f7f\u7528\u4e8c\u9879\u5f0f\u5206\u5e03 - Statorials","description":"\u5173\u4e8e\u5982\u4f55\u5728 Python \u4e2d\u4f7f\u7528\u4e8c\u9879\u5f0f\u5206\u5e03\u7684\u7b80\u5355\u8bf4\u660e\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/statorials.org\/cn\/\u4e8c\u9879\u5f0f\u5206\u5e03-python\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u5728 Python \u4e2d\u4f7f\u7528\u4e8c\u9879\u5f0f\u5206\u5e03 - Statorials","og_description":"\u5173\u4e8e\u5982\u4f55\u5728 Python \u4e2d\u4f7f\u7528\u4e8c\u9879\u5f0f\u5206\u5e03\u7684\u7b80\u5355\u8bf4\u660e\u3002","og_url":"https:\/\/statorials.org\/cn\/\u4e8c\u9879\u5f0f\u5206\u5e03-python\/","og_site_name":"Statorials","article_published_time":"2023-07-28T14:48:22+00:00","og_image":[{"url":"https:\/\/statorials.org\/wp-content\/uploads\/2023\/08\/binomepython1.png"}],"author":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/statorials.org\/cn\/%e4%ba%8c%e9%a1%b9%e5%bc%8f%e5%88%86%e5%b8%83-python\/","url":"https:\/\/statorials.org\/cn\/%e4%ba%8c%e9%a1%b9%e5%bc%8f%e5%88%86%e5%b8%83-python\/","name":"\u5982\u4f55\u5728 Python \u4e2d\u4f7f\u7528\u4e8c\u9879\u5f0f\u5206\u5e03 - Statorials","isPartOf":{"@id":"https:\/\/statorials.org\/cn\/#website"},"datePublished":"2023-07-28T14:48:22+00:00","dateModified":"2023-07-28T14:48:22+00:00","author":{"@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261"},"description":"\u5173\u4e8e\u5982\u4f55\u5728 Python \u4e2d\u4f7f\u7528\u4e8c\u9879\u5f0f\u5206\u5e03\u7684\u7b80\u5355\u8bf4\u660e\u3002","breadcrumb":{"@id":"https:\/\/statorials.org\/cn\/%e4%ba%8c%e9%a1%b9%e5%bc%8f%e5%88%86%e5%b8%83-python\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/statorials.org\/cn\/%e4%ba%8c%e9%a1%b9%e5%bc%8f%e5%88%86%e5%b8%83-python\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/statorials.org\/cn\/%e4%ba%8c%e9%a1%b9%e5%bc%8f%e5%88%86%e5%b8%83-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u5bb6","item":"https:\/\/statorials.org\/cn\/"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u5728 python \u4e2d\u4f7f\u7528\u4e8c\u9879\u5f0f\u5206\u5e03"}]},{"@type":"WebSite","@id":"https:\/\/statorials.org\/cn\/#website","url":"https:\/\/statorials.org\/cn\/","name":"Statorials","description":"\u60a8\u7684\u7edf\u8ba1\u7d20\u517b\u6307\u5357\uff01","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/statorials.org\/cn\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/124e4e5b7c9f8dc0f1f95cc8c1db3261","name":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/statorials.org\/cn\/#\/schema\/person\/image\/","url":"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","contentUrl":"https:\/\/statorials.org\/cn\/wp-content\/uploads\/2023\/10\/Dr.-Benjamin-Anderson-96x96.jpg","caption":"\u672c\u6770\u660e\u00b7\u5b89\u5fb7\u68ee\u535a"},"description":"\u5927\u5bb6\u597d\uff0c\u6211\u662f\u672c\u6770\u660e\uff0c\u4e00\u4f4d\u9000\u4f11\u7684\u7edf\u8ba1\u5b66\u6559\u6388\uff0c\u540e\u6765\u6210\u4e3a Statorials \u7684\u70ed\u5fc3\u6559\u5e08\u3002 \u51ed\u501f\u5728\u7edf\u8ba1\u9886\u57df\u7684\u4e30\u5bcc\u7ecf\u9a8c\u548c\u4e13\u4e1a\u77e5\u8bc6\uff0c\u6211\u6e34\u671b\u5206\u4eab\u6211\u7684\u77e5\u8bc6\uff0c\u901a\u8fc7 Statorials \u589e\u5f3a\u5b66\u751f\u7684\u80fd\u529b\u3002\u4e86\u89e3\u66f4\u591a","sameAs":["https:\/\/statorials.org\/cn"]}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"_links":{"self":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/833","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/comments?post=833"}],"version-history":[{"count":0,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/posts\/833\/revisions"}],"wp:attachment":[{"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/media?parent=833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/categories?post=833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/statorials.org\/cn\/wp-json\/wp\/v2\/tags?post=833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}