{"id":426290,"date":"2021-04-04T15:33:41","date_gmt":"2021-04-04T07:33:41","guid":{"rendered":"http:\/\/4563.org\/?p=426290"},"modified":"2021-04-04T15:33:41","modified_gmt":"2021-04-04T07:33:41","slug":"python-%e8%af%bb%e5%8f%96-excel-%e4%b8%ad%e7%9a%84%e5%b0%8f%e6%95%b0%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=426290","title":{"rendered":"Python \u8bfb\u53d6 excel \u4e2d\u7684\u5c0f\u6570\u95ee\u9898"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  Python \u8bfb\u53d6 excel \u4e2d\u7684\u5c0f\u6570\u95ee\u9898               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : oldbird <\/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<p>excel \u67d0\u5217\u90fd\u662f 4 \u4f4d\u5c0f\u6570\uff0c\u4f7f\u7528 xlrd \u8bfb\u53d6\uff0c\u6709\u7684\u8bfb\u53d6\u6b63\u5e38\uff08\u5373 python \u4e2d\u53d8\u91cf\u503c\u4e0e excel \u5355\u5143\u683c\u4e00\u81f4\uff09\uff0c\u6709\u7684\u5982 0.8345 \u8bfb\u51fa\u6765\u4e3a 0.83499999999\uff0c\u4f46 print \u4ecd\u7136\u662f 0.8345\uff0c\u4e0d\u77e5\u9053\u4e3a\u4ec0\u4e48\u4f1a\u8fd9\u6837\uff0c\u5373\u6253\u5370\u503c\u548c\u53d8\u91cf\u503c\u4e0d\u4e00\u81f4<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>5<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5722176\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : shuax <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             https:\/\/0.30000000000000004.com\/                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5722177\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : l4ever <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             type \u4e00\u4e0b\u770b\u770b\u7c7b\u578b\u662f\u4ec0\u4e48\u3002\u4f60\u5927\u6982\u5c31\u77e5\u9053\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5722178\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : crclz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             IEEE754                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5722179\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lahmsworld <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6d6e\u70b9\u6570\u4e0d\u7cbe\u51c6\u7684\u539f\u56e0                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5722180\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : krixaar <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e4b\u524d\u6709\u4e00\u6b21\u505a\u7a3d\u6838\u7684\u65f6\u5019\u9700\u8981 Excel \u4e00\u4e2a\u5355\u5143\u683c\u51cf\u76f8\u90bb\u7684\u4e09\u4e2a\u5355\u5143\u683c\u5224\u65ad\u662f\u4e0d\u662f 0\uff0c\u7136\u540e\u78b0\u5230\u4e86\u7c7b\u4f3c=0.48-0.26-0.22-0 \u8fd9\u6837\u7684\u60c5\u51b5\uff0c\u6700\u540e\u7684 if(\u5355\u5143\u683c=0)\u5c31\u5f88\u70b8\u88c2\uff0c\u7136\u540e\u4e56\u4e56\u7684\u540e\u9762\u5148\u4e09\u4e2a\u6c42\u548c\u518d\u51cf\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>Python \u8bfb\u53d6 excel \u4e2d&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\/426290"}],"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=426290"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/426290\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=426290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=426290"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=426290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}