{"id":225046,"date":"2020-11-26T06:13:30","date_gmt":"2020-11-25T22:13:30","guid":{"rendered":"http:\/\/4563.org\/?p=225046"},"modified":"2020-11-26T06:13:30","modified_gmt":"2020-11-25T22:13:30","slug":"%e5%81%9a%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90%e7%9a%84%e6%97%b6%e5%80%99%e4%bd%a0%e7%94%a8%e7%9a%84%e6%98%af-python-%ef%bc%9f%e8%bf%98%e6%98%af-pandas-%e5%92%8c-numpy-%e4%bb%a5%e5%8f%8a%e5%85%b6","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=225046","title":{"rendered":"\u505a\u6570\u636e\u5206\u6790\u7684\u65f6\u5019\u4f60\u7528\u7684\u662f Python \uff1f\u8fd8\u662f pandas \u548c numpy \u4ee5\u53ca\u5176\u4ed6\u4e09\u65b9\u5e93\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u505a\u6570\u636e\u5206\u6790\u7684\u65f6\u5019\u4f60\u7528\u7684\u662f Python \uff1f\u8fd8\u662f pandas \u548c numpy \u4ee5\u53ca\u5176\u4ed6\u4e09\u65b9\u5e93\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : huzhikuizainali <\/span>  <span><i><\/i> 5<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        \u58f0\u660e\u4e00\u4e0b\uff0c\u6211\u77e5\u9053 pandas \u548c numpy \u662f\u5728 python \u4e2d\u4f7f\u7528\u7684\u3002<\/p>\n<p>\u6700\u8fd1\u6982\u89c8\u4e86\u4e00\u4e9b python \u6709\u5173\u7684\u4e66\u7c4d\u548c\u89c6\u9891\u3002\u5bf9\u4e8e\u6570\u636e\u5206\u6790\u548c\u6570\u636e\u6316\u6398\u4eba\u5458\u6765\u8bf4\uff0c\u611f\u89c9\u66f4\u591a\u7684\u65f6\u5019\u662f\u5728\u4f7f\u7528 pandas \u548c numpy \u8fd9\u4e9b\u4e09\u65b9\u5305\u3002\u800c python \u66f4\u591a\u7684\u65f6\u5019\u50cf\u4e2a\u64cd\u4f5c\u7cfb\u7edf\u3002\u800c pandas \u548c numpy \u66f4\u50cf\u662f\u8dd1\u5728\u8fd9\u4e2a\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u7684\u5e94\u7528\u3002\u5c31\u597d\u6bd4\u4f60\u8981\u5bf9\u5341\u7ec4\u6570\u636e\u6279\u91cf\u6c42\u548c\uff0c\u4f60\u5f53\u7136\u53ef\u4ee5\u7528 windows \u7684\u8ba1\u7b97\u5668\u53bb\u4e00\u4e2a\u4e00\u4e2a\u8ba1\u7b97\u6c42\u548c\u3002\u4f46\u662f\u7528 excel \u663e\u7136\u66f4\u5feb\u3002\u867d\u7136 excel \u4e5f\u662f\u900f\u8fc7 windows \u53bb\u8c03\u7528 cpu \u7684\u8fd0\u7b97\u80fd\u529b\u3002\u4f46\u662f\u5bf9\u7528\u6237\u6765\u8bf4 excel \u663e\u7136\u6bd4\u7528 windows \u8ba1\u7b97\u5668\u66f4\u9ad8\u6548\uff0c\u66f4\u53cb\u597d\u3002<\/p>\n<p>\u5982\u679c\u4ee5\u4e0a\u8ba4\u8bc6\u6ca1\u6709\u5927\u7684\u504f\u5dee\u3002\u5bf9\u4e8e\u60f3\u4ee5 python \u4e3a\u5de5\u5177\uff08\u610f\u601d\u662f\u4e0d\u7528 R \u3001matlab \u3001spass\uff0csas \uff09\u7684\u6570\u636e\u4ece\u4e1a\u4eba\u5458\uff0c\u5982\u679c\u6709\u4e00\u5b9a\u7684\u7f16\u7a0b\u57fa\u7840\uff08\u4f8b\u5982\u5b66\u8fc7 c \u8bed\u8a00\uff09\u662f\u5426\u53ea\u9700\u7b80\u5355\u7684\u5b66\u4e00\u4e0b python \u57fa\u7840\u77e5\u8bc6\uff08\u5927\u6982\u77e5\u9053\u524d\u5305\u540e\u4e0d\u5305\uff0c\u5faa\u73af\u63a7\u5236\u8bed\u53e5\u548c c \u8bed\u8a00\u4e0d\u540c\uff09\u3002\u800c\u5c06\u66f4\u591a\u7684\u65f6\u95f4\u7528\u5728 pandas \u3001numpy \u3001\u4ee5\u53ca\u5176\u4ed6\u7528\u5f97\u7740\u7684\u4e09\u65b9\u5e93\u7684\u5b66\u4e60\u4e0a\uff01\u8fd9\u6837\u662f\u4e0d\u662f\u66f4\u9ad8\u6548\uff1f\u7c7b\u4f3c\u4e8e\u300a\u6d41\u7545\u7684 python \u300b\u8fd9\u6837\u7684\u4e66\uff0c\u4e00\u65f6\u534a\u4f1a\u7528\u4e0d\u4e0a\u5427\uff1f<\/p>\n<p>\u4ee5 python \u4e3a\u5de5\u5177\u7684\u6570\u636e\u5927\u795e\uff0c\u8bf7\u591a\u591a\u5206\u4eab\uff0c\u591a\u591a\u6307\u6559\u3002      <\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>9<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4547499\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : linoder <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5bf9\u4e8e\u6570\u636e\u5206\u6790\u5e08\u6216\u8005 BI \u56e2\u961f\u6765\u8bb2 \u2026\u2026 \u8bed\u8a00\u771f\u7684\u662f\u5de5\u5177 \u6838\u5fc3\u662f \u6570\u636e\u5efa\u6a21 \u6570\u636e\u5efa\u6a21 \u6570\u636e\u5efa\u6a21 \u2026\u2026<\/p>\n<p>\u504f\u5411\u8fd0\u8425\u5206\u6790\u5f97\u57fa\u672c Excel \u8db3\u591f,\u6700\u591a\u5b66\u5b66 SQL \u81ea\u5df1\u5bfc\u6570\u636e<\/p>\n<p>\u5b9e\u5728\u662f\u60f3\u81ea\u5df1\u7f16\u7a0b\u7528<\/p>\n<p> pandas \u3001numpy \u8db3\u591f\u5e94\u4ed8\u4e00\u822c\u5de5\u4f5c\u4e86                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4547500\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wakakaaaabbbb <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0a\u8bf4\u5f97\u5bf9\uff0c\u7ed9\u6211\u70b9\u4e2a\u8d5e\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4547501\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nthhdy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u89c9\u5f97\u53ef\u4ee5\u3002\u505a\u597d\u9047\u5230\u95ee\u9898 hack \u5b83\u7684\u51c6\u5907\u5c31\u884c\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4547502\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : huzhikuizainali <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @linoder \u8c22\u8c22\u56de\u590d\u3002\u5982\u679c\u662f\u6570\u636e\u6316\u6398\u5462\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4547503\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : huzhikuizainali <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @nthhdy \u8c22\u8c22\u56de\u590d\u3002\u8bf7\u95ee\u4f60\u65e5\u5e38\u4e3b\u8981\u505a\u4ec0\u4e48\u5de5\u4f5c\u3002\u4ec0\u4e48\u5de5\u5177\u7528\u7684\u6700\u591a\u3002\u53ef\u5426\u5206\u4eab\u4e00\u4e0b\u4f53\u9a8c\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4547504\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jones2000 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             1. \u4e86\u89e3\u7b97\u6cd5, <br \/>2. \u77e5\u9053\u4ec0\u4e48\u6570\u636e\u7528\u4ec0\u4e48\u7b97\u6cd5\u6765\u5206\u6790,\u5efa\u6a21.<br \/>3. \u6839\u636e\u9700\u8981\u7684\u7b97\u6cd5\u627e\u5230\u5bf9\u5e94\u7684\u7b2c 3 \u65b9\u5e93,\u8ba1\u7b97\u7ed3\u679c.<\/p>\n<p>1,2 \u662f\u6838\u5fc3\u6570\u636e\u5206\u6790\u4eba\u5458<br \/>3 \u5de5\u5177\u4eba.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4547505\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : huzhikuizainali <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @jones2000 \u8c22\u8c22\u89e3\u7b54\uff01<br \/> \u521a\u624d\u5728\u5176\u4ed6\u5730\u65b9\u4e5f\u6709\u8001\u5e08\u5411\u6211\u5f3a\u8c03\u6570\u636e\u7ed3\u6784\u548c\u7b97\u6cd5\u3002\u8bf7\u95ee\u8fd9\u91cc\u7684\u7b97\u6cd5\u662f\u6307 K \u4e34\u8fd1\uff0c\u795e\u7ecf\u7f51\u7edc \u8fd9\u4e9b\u201c\u8303\u5f0f\u201d\u7684\u7b97\u6cd5\uff1f\u8fd8\u662f\u9488\u5bf9\u4e00\u4e2a\u4e00\u4e2a\u5177\u4f53\u9700\u8981\u89e3\u51b3\u7684\u95ee\u9898\u7684\u9488\u5bf9\u6027\u7b97\u6cd5\uff1f<br \/> pandas\uff0cnumpy \u8fd9\u4e9b\u5e93\u7684\u6784\u5efa\u672c\u8eab\u4e5f\u5305\u542b\u4e86\u5f88\u591a\u7b97\u6cd5\uff0c\u4f8b\u5982 pandas \u53ef\u4ee5\u201c\u6eda\u52a8\u201d\u6c42\u5e73\u5747\u503c\uff08\u4f8b\u5982\u8ba1\u7b97\u4ef7\u683c\u7684 5 \u65e5\u5e73\u5747\u503c\uff09\u3002\u8fd9\u5c31\u6bd4\u81ea\u5df1\u7528\u5faa\u73af\u8bed\u53e5\u53bb\u6c42\u6570\u636e\u7684\u6eda\u52a8\u5e73\u5747\u503c\u8fd0\u884c\u6548\u7387\u8981\u9ad8\u7684\u591a\u3002\u8fd9\u5f53\u7136\u5e94\u8be5\u662f\u5e93\u91cc\u9762\u7684\u7b97\u6cd5\u4f18\u4e8e\u4e00\u822c\u7684\u5faa\u73af\u7b97\u6cd5\u3002<br \/> \u6211\u731c\uff0c\u65e5\u5e38\u5de5\u4f5c\u4e2d\u201c\u6838\u5fc3\u6570\u636e\u5206\u6790\u4eba\u5458\u201d\u7684\u7b97\u6cd5\u5e94\u8be5\u6539\u4e0d\u9700\u8981\u518d\u4e3a\u90a3\u4e9b\u201c\u8303\u5f0f\u201d\u8bbe\u8ba1\u7b97\u6cd5\u4e86\uff0c\u9876\u591a\u6539\u6539\u53c2\u6570\uff1f\u4e5f\u4e0d\u9700\u8981\u518d\u53bb\u4e3a\u7c7b\u4f3c\u201c\u6eda\u52a8\u201d\u5e73\u5747\u503c\u6d89\u53ca\u7b97\u6cd5\uff0c\u56e0\u4e3a\u8fd9\u76f8\u5f53\u4e8e\u91cd\u65b0\u9020\u8f6e\u5b50\u3002<br \/> \u90a3\u4e48\u201c\u6838\u5fc3\u6570\u636e\u5206\u6790\u4eba\u5458\u201d\u9700\u8981\u5728\u9762\u5bf9\u4ec0\u4e48\u95ee\u9898\u65f6\u81ea\u5df1\u8bbe\u8ba1\u7b97\u6cd5\u5462\uff1f\u8bbe\u8ba1\u7b97\u6cd5\u7684\u9996\u8981\u76ee\u7684\u662f\u4ec0\u4e48\u5462\uff1f\u63d0\u9ad8\u7a0b\u5e8f\u8fd0\u884c\u6548\u7387\uff1f<br \/> \u4e0d\u77e5\u9053\u662f\u5426\u6709\u9002\u5408\u6570\u636e\u5206\u6790\u4eba\u5458\u9605\u8bfb\u7684\u7b97\u6cd5\u76f8\u5173\u6570\u636e\u63a8\u8350\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4547506\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : huzhikuizainali <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @jones2000 \u4e0d\u77e5\u9053\u662f\u5426\u6709\u9002\u5408\u6570\u636e\u5206\u6790\u4eba\u5458\u9605\u8bfb\u7684\u7b97\u6cd5\u76f8\u5173\u4e66\u7c4d\u63a8\u8350\u3002&#8212;&#8212;&#8212;&#8212;-\u4e0d\u597d\u610f\u601d\uff0c\u6700\u540e\u4e00\u53e5\u6253\u9519\u5b57\u4e86\u3002\u7279\u6b64\u7ea0\u6b63                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4547507\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jones2000 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6838\u5fc3\u6570\u636e\u5206\u6790\u4eba\u5458\uff0c\u53ef\u4ee5\u4e0d\u662f\u7f16\u7a0b\u4eba\u5458, \u53ef\u4ee5\u4e0d\u61c2\u7f16\u7a0b,\u4e00\u822c\u90fd\u662f\u6570\u5b66\u7cfb\u7684, \u719f\u6089\u5404\u4e2a\u7b97\u6cd5\u539f\u7406, \u6bd4\u5982\u6700\u57fa\u7840\u7684\u5085\u91cc\u53f6\u53d8\u6362\uff0c\u53ef\u4ee5\u7528\u5728\u4ec0\u4e48\u573a\u666f\u4e0b\uff0c \u5728\u7279\u5b9a\u573a\u666f\u4e0b\u901a\u8fc7\u53e0\u52a0\u5176\u4ed6\u7684\u7b97\u6cd5\uff0c \u6765\u8fbe\u5230\u9884\u6d4b\u6570\u636e\u7684\u51c6\u786e\u6027\u3002\u51fa\u4e00\u4e2a\u6570\u636e\u5efa\u6a21\u3002<br \/>\u81f3\u4e8e\u5982\u4f55\u63d0\u4ea4\u8ba1\u7b97\u8f93\u51fa\uff0c \u662f\u5355\u7ebf\u7a0b\u7b97\uff0c\u8fd8\u662f\u5206\u5e03\u5f0f\u8ba1\u7b97\u90a3\u662f\u5f00\u53d1\u4eba\u5458\u7684\u4e8b\u3002<\/p>\n<p>\u4e00\u822c\u8981\u5206\u6790\u6216\u6d4b\u9884\u6570\u636e\uff0c\u5148\u53bb\u5927\u5b66\u627e\u6570\u5b66 \/\u7269\u7406\u7b49\u57fa\u7840\u5b66\u79d1\u7684\u8001\u5e08\u6216\u535a\u58eb\u751f\uff0c \u8ba9\u4ed6\u4eec\u7ed9\u4e00\u4e2a\u521d\u6b65\u7684\u6570\u636e\u5efa\u6a21\uff0c \u7136\u540e\u6839\u636e\u4ed6\u4eec\u7684\u5efa\u6a21\u7531\u7a0b\u5e8f\u5458\u5f00\u53d1\u7cfb\u7edf\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u505a\u6570\u636e\u5206\u6790\u7684\u65f6\u5019\u4f60\u7528\u7684\u662f Pyth&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/225046"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=225046"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/225046\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=225046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=225046"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=225046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}