{"id":193266,"date":"2020-11-16T00:39:49","date_gmt":"2020-11-15T16:39:49","guid":{"rendered":"http:\/\/4563.org\/?p=193266"},"modified":"2020-11-16T00:39:49","modified_gmt":"2020-11-15T16:39:49","slug":"%e6%b1%82%e6%95%99%e4%b8%80%e4%b8%aa-python-%e7%bb%9f%e8%ae%a1%e6%95%b0%e6%8d%ae%e7%9a%84%e6%96%b9%e6%b3%95%ef%bc%8c%e5%a4%9a%e5%a4%a9%e7%bb%9f%e8%ae%a1%e4%ba%ba%e6%95%b0%e6%9c%80%e5%a4%9a%e6%9c%80","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=193266","title":{"rendered":"\u6c42\u6559\u4e00\u4e2a Python \u7edf\u8ba1\u6570\u636e\u7684\u65b9\u6cd5\uff0c\u591a\u5929\u7edf\u8ba1\u4eba\u6570\u6700\u591a\u6700\u5c11\u65f6\u95f4\u6bb5"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u6c42\u6559\u4e00\u4e2a Python \u7edf\u8ba1\u6570\u636e\u7684\u65b9\u6cd5\uff0c\u591a\u5929\u7edf\u8ba1\u4eba\u6570\u6700\u591a\u6700\u5c11\u65f6\u95f4\u6bb5               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : daijinming <\/span>  <span><i><\/i> 2<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<pre><code>1 \u3001[7.0, 18.0, 30.0, 21.0, 7.0, 17.0, 36.0, 36.0, 30.0, 11.0] 2 \u3001[7.0, 26.0, 44.0, 32.0, 7.0, 30.0, 36.0, 20.0, 15.0, 8.0] 3 \u3001[9.0, 16.0, 33.0, 15.0, 7.0, 32.0, 27.0, 25.0, 10.0, 4.0] 4 \u3001[0.0, 30.0, 27.0, 17.0, 13.0, 13.0, 19.0, 12.0, 12.0, 5.0] 5 \u3001[10.0, 41.0, 39.0, 22.0, 6.0, 39.0, 29.0, 39.0, 20.0, 5.0] <\/code><\/pre>\n<p>\u4e0a\u9762\u662f\u4e94\u5929\uff0c\u6bcf\u5929 10 \u4e2a\u65f6\u95f4\u6bb5\u7684\u4eba\u6d41\u91cf\u6570\u636e\uff0c\u60f3\u627e\u51fa \u4eba\u6d41\u91cf\u6700\u5927\u7684\u65f6\u95f4\u6bb5\uff0c\u548c\u4eba\u6d41\u91cf\u6700\u5c11\u7684\u65f6\u95f4\u6bb5 \u9700\u8981\u91c7\u7528 python \u5b9e\u73b0\uff0c\u5bf9\u6570\u636e\u5206\u6790\u4e0d\u662f\u592a\u4e13\u4e1a\uff0c\u6240\u4ee5\u6c42\u6559\u4e0b<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>6<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4109248\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tikazyq <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             https:\/\/pandas.pydata.org\/                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109249\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : daijinming <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @tikazyq \u6700\u8fd1\u6211\u4e5f\u521d\u6b65\u63a5\u89e6\u4e86 pandas, \u91c7\u7528 pandas \u5bf9 \u4e8c\u7ef4\u6570\u636e\u8fdb\u884c\u67e5\u8be2\u3002\u4f46\u662f\u5bf9 pandas \u5904\u7406\u77e9\u9635\uff0c\u4ee5\u53ca\u5982\u4f55\u5c06\u4e0a\u9762\u591a\u4e2a\u6570\u7ec4\u6574\u7406\u6210\u77e9\u9635\u6ca1\u627e\u5230\u601d\u8def                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109250\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : qianc1990 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7528 argmax() \u62ff\u5230 index \u4e0b\u6807\u540e\uff0c\u5339\u914d\u51fa index \u5bf9\u5e94\u7684\u65f6\u95f4\u6bb5\u5c31\u53ef\u4ee5\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109251\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : BadAngel <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             excel \u5806\u53e0\u56fe\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109252\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : daijinming <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @qianc1990 \u611f\u8c22\uff0c\u6211\u5148\u4e86\u89e3\u4e0b\u8fd9\u4e2a\u65b9\u6cd5\u7684\u4f7f\u7528                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4109253\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lllllliu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             data = [<br \/> [7.0, 18.0, 30.0, 21.0, 7.0, 17.0, 36.0, 36.0, 30.0, 11.0],<br \/> [7.0, 26.0, 44.0, 32.0, 7.0, 30.0, 36.0, 20.0, 15.0, 8.0],<br \/> [9.0, 16.0, 33.0, 15.0, 7.0, 32.0, 27.0, 25.0, 10.0, 4.0],<br \/> [0.0, 30.0, 27.0, 17.0, 13.0, 13.0, 19.0, 12.0, 12.0, 5.0],<br \/> [10.0, 41.0, 39.0, 22.0, 6.0, 39.0, 29.0, 39.0, 20.0, 5.0]]<br \/> sum = np.sum(data, axis = 0)<br \/> print(sum)<br \/> #[ 33. 131. 173. 107. 40. 131. 147. 132. 87. 33.]                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u6c42\u6559\u4e00\u4e2a Python \u7edf\u8ba1\u6570\u636e\u7684&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\/193266"}],"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=193266"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/193266\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=193266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=193266"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=193266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}