{"id":5907,"date":"2020-07-15T22:27:47","date_gmt":"2020-07-15T14:27:47","guid":{"rendered":"https:\/\/vip.fxxkpython.com\/?p=5907"},"modified":"2020-07-15T22:28:09","modified_gmt":"2020-07-15T14:28:09","slug":"python-%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84%e5%92%8c%e7%ae%97%e6%b3%95-04-%e5%a6%82%e4%bd%95%e7%90%86%e8%a7%a3%e5%9f%ba%e7%a1%80%e7%9a%84%e6%95%b0%e6%8d%ae%e7%bb%93%e6%9e%84","status":"publish","type":"post","link":"https:\/\/vip.fxxkpython.com\/?p=5907","title":{"rendered":"Python \u6570\u636e\u7ed3\u6784\u548c\u7b97\u6cd5 04| \u5982\u4f55\u7406\u89e3\u57fa\u7840\u7684\u6570\u636e\u7ed3\u6784\u2014\u2014\u6570\u7ec4"},"content":{"rendered":"\n<p>\u6211\u4eec\u4e4b\u524d\u6709\u73a9\u8fc7 Numpy\uff0c \u53ef\u4ee5\u521b\u5efa\u6570\u7ec4\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"814\" height=\"512\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Screenshot-from-2020-07-15-21-01-58.png\" alt=\"\" class=\"wp-image-5908\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Screenshot-from-2020-07-15-21-01-58.png 814w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Screenshot-from-2020-07-15-21-01-58-300x189.png 300w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Screenshot-from-2020-07-15-21-01-58-768x483.png 768w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Screenshot-from-2020-07-15-21-01-58-769x484.png 769w\" sizes=\"(max-width: 814px) 100vw, 814px\" \/><\/figure><\/div>\n\n\n\n<p>\u53ef\u4ee5\u770b\u5230\uff0c\u6570\u7ec4\u662f\u7528\u6765\u5b58\u50a8\u6570\u636e\u7684\uff0c\u90a3\u5b83\u662f\u5982\u4f55\u5b58\u50a8\u6570\u636e\u7684\u5462\uff1f\u4ec0\u4e48\u60c5\u51b5\u4e0b\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u6570\u7ec4\u8fd9\u79cd\u6570\u636e\u7ed3\u6784\u6765\u5b58\u50a8\u6570\u636e\uff1f\u4ec0\u4e48\u65f6\u5019\u4f7f\u7528\u5b83\u6548\u7387\u6bd4\u8f83\u9ad8\u5462\uff1f<\/p>\n\n\n\n<h2>\u4ec0\u4e48\u662f\u6570\u7ec4\uff1f<\/h2>\n\n\n\n<p>\u6839\u636e\u521a\u521a\u8fd9\u4e2a arr \u6765\u753b\u4e2a\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"71\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Untitled-Diagram-1-1024x71.png\" alt=\"\" class=\"wp-image-5909\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Untitled-Diagram-1-1024x71.png 1024w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Untitled-Diagram-1-300x21.png 300w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Untitled-Diagram-1-768x53.png 768w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Untitled-Diagram-1-769x53.png 769w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Untitled-Diagram-1.png 1173w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u5f53\u6211\u4eec\u521b\u5efa\u8fd9\u4e2a\u6570\u7ec4\u7684\u65f6\u5019\uff0c\u5b9e\u9645\u4e0a\u662f\u8ba1\u7b97\u673a\u7ed9\u5b83\u5206\u914d\u4e86\u8fd9\u4e48\u4e00\u5757\u7a7a\u95f4\uff0c\u5176\u4e2d\u6bcf\u4e00\u5757 \u201c\u5c0f\u7a7a\u95f4\u201d \u53ef\u4ee5\u5b58\u653e\u5177\u4f53\u7684\u6570\u636e\uff0c\u201c\u5c0f\u7a7a\u95f4\u201d\u4e4b\u95f4\u662f\u8fde\u7eed\u7684\uff0c\u800c\u4e14\uff0c\u6bcf\u4e2a \u201c\u5c0f\u7a7a\u95f4\u201d\u90fd\u6709\u5bf9\u5e94\u7684\u5730\u5740\u503c\uff0c\u6bd4\u5982\u8fd9\u6837\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"205\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Untitled-Diagram-1-1-1024x205.png\" alt=\"\" class=\"wp-image-5910\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Untitled-Diagram-1-1-1024x205.png 1024w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Untitled-Diagram-1-1-300x60.png 300w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Untitled-Diagram-1-1-768x154.png 768w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Untitled-Diagram-1-1-769x154.png 769w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Untitled-Diagram-1-1.png 1201w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"407\" height=\"196\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Screenshot-from-2020-07-15-21-22-02.png\" alt=\"\" class=\"wp-image-5911\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Screenshot-from-2020-07-15-21-22-02.png 407w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Screenshot-from-2020-07-15-21-22-02-300x144.png 300w\" sizes=\"(max-width: 407px) 100vw, 407px\" \/><\/figure><\/div>\n\n\n\n<p>\u8fd9\u6837\uff0c\u4f60\u7684\u8ba1\u7b97\u673a\u5c31\u53ef\u4ee5\u901a\u8fc7\u8fd9\u4e9b\u5730\u5740\u503c\u6765\u8bbf\u95ee\u76f8\u5e94\u7684\u6570\u636e\u3002<\/p>\n\n\n\n<p>\u4ece\u800c\u53ef\u4ee5\u901a\u8fc7\u7d22\u5f15\u6765\u5f97\u5230\u76f8\u5e94\u7684\u6570\u636e\uff08\u4e0b\u6807\u4ece 0 \u5f00\u59cb\uff09\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"233\" height=\"224\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Screenshot-from-2020-07-15-21-38-36.png\" alt=\"\" class=\"wp-image-5916\"\/><\/figure><\/div>\n\n\n\n<p>\u5728\u6570\u7ec4\u4e2d\uff0c\u5206\u914d\u5230\u7684\u5185\u5b58\u662f\u8fde\u7eed\u7684\uff0c\u4e5f\u5c31\u662f\u8bf4\uff0c\u6bcf\u4e2a\u5c0f\u7a7a\u95f4\u662f\u8fde\u5728\u4e00\u8d77\u7684\uff0c\u6bd4\u5982\u4ee5\u4e0b\u8fd9\u5757\u9ec4\u8272\u533a\u57df\u4ee3\u8868\u5185\u5b58\uff0c\u5f53\u6211\u4eec\u521b\u5efa\u4e00\u4e2a\u521a\u521a\u7684\u6570\u7ec4\u65f6\uff0c\u5728\u8fd9\u91cc\u9762\u4f1a\u627e\u5230\u4e00\u6574\u5757\u8fde\u7eed\u7684\u5185\u5b58\uff0c\u5206\u914d\u7ed9\u5b83\u4f7f\u7528\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" width=\"1024\" height=\"349\" src=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Untitled-Diagram-2-1024x349.png\" alt=\"\" class=\"wp-image-5912\" srcset=\"https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Untitled-Diagram-2-1024x349.png 1024w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Untitled-Diagram-2-300x102.png 300w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Untitled-Diagram-2-768x262.png 768w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Untitled-Diagram-2-769x262.png 769w, https:\/\/vip.fxxkpython.com\/wp-content\/uploads\/2020\/07\/Untitled-Diagram-2.png 1410w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p>\u800c\u4e0d\u53ef\u4ee5\u662f\u8fd9\u6837\u7684\uff1a<div style=\"text-align:center;border:1px dashed #FF9A9A;padding:8px;margin:10px auto;color:#FF6666;\">\u672c\u6587\u9690\u85cf\u5185\u5bb9 <a href=\"https:\/\/vip.fxxkpython.com\/wp-login.php?redirect_to=https%3A%2F%2Fvip.fxxkpython.com%2F%3Fp%3D5907\">\u767b\u9646<\/a> \u540e\u624d\u53ef\u4ee5\u6d4f\u89c8<\/div>\u4ece\u4e0a\u9762\u4f60\u5e94\u8be5\u53ef\u4ee5\u770b\u51fa\u6765\uff0c\u6570\u7ec4\u8fd9\u79cd\u6570\u636e\u7ed3\u6784\u5728\u8bbf\u95ee\u6570\u636e\u7684\u65f6\u5019\uff0c\u6548\u7387\u662f\u5f88\u9ad8\u7684\uff0c\u800c\u6d89\u53ca\u5230\u5bf9\u6570\u7ec4\u91cc\u9762\u7684\u6570\u636e\u8fdb\u884c\u589e\u5220\u64cd\u4f5c\uff0c\u6548\u7387\u5c31\u4e0d\u662f\u5f88\u9ad8\u4e86\u3002\u6709\u4e00\u4e2a\u4e0e\u4e4b\u5bf9\u5e94\u7684\u5c31\u662f\u94fe\u8868\u4e86\uff0c\u5982\u4f55\u7406\u89e3\u5462\uff1f\u4e0b\u7bc7\u544a\u8bc9\u4f60\uff01<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u4eec\u4e4b\u524d\u6709\u73a9\u8fc7 Numpy\uff0c \u53ef\u4ee5\u521b\u5efa\u6570\u7ec4\uff1a \u53ef\u4ee5\u770b\u5230\uff0c\u6570\u7ec4\u662f\u7528\u6765\u5b58\u50a8\u6570\u636e\u7684\uff0c\u90a3\u5b83\u662f\u5982\u4f55\u5b58\u50a8\u6570\u636e\u7684\u5462\uff1f\u4ec0\u4e48\u60c5\u51b5\u4e0b\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u6570\u7ec4\u8fd9\u79cd\u6570\u636e\u7ed3\u6784\u6765\u5b58\u50a8\u6570\u636e\uff1f\u4ec0\u4e48\u65f6\u5019\u4f7f\u7528\u5b83\u6548\u7387\u6bd4\u8f83\u9ad8\u5462\uff1f \u4ec0\u4e48\u662f\u6570\u7ec4\uff1f \u6839\u636e\u521a\u521a\u8fd9\u4e2a arr \u6765\u753b\u4e2a\u56fe\uff1a \u5f53\u6211\u4eec\u521b\u5efa\u8fd9\u4e2a\u6570\u7ec4\u7684&hellip;<\/p>\n","protected":false},"author":1,"featured_media":5919,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[475],"tags":[19,427,51,404,488],"_links":{"self":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/5907"}],"collection":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5907"}],"version-history":[{"count":1,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/5907\/revisions"}],"predecessor-version":[{"id":5920,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/5907\/revisions\/5920"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/media\/5919"}],"wp:attachment":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}