{"id":2284,"date":"2023-08-24T00:20:10","date_gmt":"2023-08-23T16:20:10","guid":{"rendered":"http:\/\/viplao.com\/?p=2284"},"modified":"2024-10-27T22:35:18","modified_gmt":"2024-10-27T14:35:18","slug":"python-%e6%97%a5%e5%b8%b8%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90-%e6%95%b0%e6%8d%ae%e6%b8%85%e6%b4%97%e5%ae%9e%e6%88%98%e4%bd%bf%e7%94%a8pandas%e6%b8%85%e6%b4%97%e4%ba%9a%e9%a9%ac","status":"publish","type":"post","link":"http:\/\/viplao.com\/index.php\/2023\/08\/24\/python-%e6%97%a5%e5%b8%b8%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90-%e6%95%b0%e6%8d%ae%e6%b8%85%e6%b4%97%e5%ae%9e%e6%88%98%e4%bd%bf%e7%94%a8pandas%e6%b8%85%e6%b4%97%e4%ba%9a%e9%a9%ac\/","title":{"rendered":"\u6570\u5b57\u5316\u8fd0\u8425\u57fa\u7840\u6280\u80fd \u2013\u00a0 \u6570\u636e\u6e05\u6d17\u5b9e\u6218:\u4f7f\u7528pandas\u6e05\u6d17\u4e9a\u9a6c\u900a\u7535\u5546\u9500\u552e\u6570\u636e"},"content":{"rendered":"\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_71 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">\u6587\u7ae0\u76ee\u5f55<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"http:\/\/viplao.com\/index.php\/2023\/08\/24\/python-%e6%97%a5%e5%b8%b8%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90-%e6%95%b0%e6%8d%ae%e6%b8%85%e6%b4%97%e5%ae%9e%e6%88%98%e4%bd%bf%e7%94%a8pandas%e6%b8%85%e6%b4%97%e4%ba%9a%e9%a9%ac\/#%E6%95%B0%E6%8D%AE%E5%87%86%E5%A4%87\" title=\"\u6570\u636e\u51c6\u5907\">\u6570\u636e\u51c6\u5907<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"http:\/\/viplao.com\/index.php\/2023\/08\/24\/python-%e6%97%a5%e5%b8%b8%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90-%e6%95%b0%e6%8d%ae%e6%b8%85%e6%b4%97%e5%ae%9e%e6%88%98%e4%bd%bf%e7%94%a8pandas%e6%b8%85%e6%b4%97%e4%ba%9a%e9%a9%ac\/#%E6%95%B0%E6%8D%AE%E8%A7%A3%E9%87%8A\" title=\"\u6570\u636e\u89e3\u91ca\">\u6570\u636e\u89e3\u91ca<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"http:\/\/viplao.com\/index.php\/2023\/08\/24\/python-%e6%97%a5%e5%b8%b8%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90-%e6%95%b0%e6%8d%ae%e6%b8%85%e6%b4%97%e5%ae%9e%e6%88%98%e4%bd%bf%e7%94%a8pandas%e6%b8%85%e6%b4%97%e4%ba%9a%e9%a9%ac\/#%E6%B8%85%E6%B4%97%E8%BF%87%E7%A8%8B\" title=\"\u6e05\u6d17\u8fc7\u7a0b\">\u6e05\u6d17\u8fc7\u7a0b<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"http:\/\/viplao.com\/index.php\/2023\/08\/24\/python-%e6%97%a5%e5%b8%b8%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90-%e6%95%b0%e6%8d%ae%e6%b8%85%e6%b4%97%e5%ae%9e%e6%88%98%e4%bd%bf%e7%94%a8pandas%e6%b8%85%e6%b4%97%e4%ba%9a%e9%a9%ac\/#1%E5%B0%86_Excel_%E8%BD%AC%E5%8C%96%E6%88%90_Pkl_%E6%A0%BC%E5%BC%8F%E6%96%87%E4%BB%B6\" title=\"1.\u5c06 Excel \u8f6c\u5316\u6210 Pkl \u683c\u5f0f\u6587\u4ef6\">1.\u5c06 Excel \u8f6c\u5316\u6210 Pkl \u683c\u5f0f\u6587\u4ef6<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"http:\/\/viplao.com\/index.php\/2023\/08\/24\/python-%e6%97%a5%e5%b8%b8%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90-%e6%95%b0%e6%8d%ae%e6%b8%85%e6%b4%97%e5%ae%9e%e6%88%98%e4%bd%bf%e7%94%a8pandas%e6%b8%85%e6%b4%97%e4%ba%9a%e9%a9%ac\/#2%E4%BA%86%E8%A7%A3%E6%95%B0%E6%8D%AE%E6%A6%82%E5%86%B5\" title=\"2.\u4e86\u89e3\u6570\u636e\u6982\u51b5\">2.\u4e86\u89e3\u6570\u636e\u6982\u51b5<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"http:\/\/viplao.com\/index.php\/2023\/08\/24\/python-%e6%97%a5%e5%b8%b8%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90-%e6%95%b0%e6%8d%ae%e6%b8%85%e6%b4%97%e5%ae%9e%e6%88%98%e4%bd%bf%e7%94%a8pandas%e6%b8%85%e6%b4%97%e4%ba%9a%e9%a9%ac\/#3%E6%95%B0%E6%8D%AE%E6%B8%85%E6%B4%97%E7%9A%84_3_%E4%B8%AA%E5%87%86%E5%88%99\" title=\"3.\u6570\u636e\u6e05\u6d17\u7684 3 \u4e2a\u51c6\u5219\">3.\u6570\u636e\u6e05\u6d17\u7684 3 \u4e2a\u51c6\u5219<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"http:\/\/viplao.com\/index.php\/2023\/08\/24\/python-%e6%97%a5%e5%b8%b8%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90-%e6%95%b0%e6%8d%ae%e6%b8%85%e6%b4%97%e5%ae%9e%e6%88%98%e4%bd%bf%e7%94%a8pandas%e6%b8%85%e6%b4%97%e4%ba%9a%e9%a9%ac\/#4%E5%88%A0%E9%99%A4%E7%A9%BA%E5%80%BC%E8%AE%B0%E5%BD%95\" title=\"4.\u5220\u9664\u7a7a\u503c\u8bb0\u5f55\">4.\u5220\u9664\u7a7a\u503c\u8bb0\u5f55<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"http:\/\/viplao.com\/index.php\/2023\/08\/24\/python-%e6%97%a5%e5%b8%b8%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90-%e6%95%b0%e6%8d%ae%e6%b8%85%e6%b4%97%e5%ae%9e%e6%88%98%e4%bd%bf%e7%94%a8pandas%e6%b8%85%e6%b4%97%e4%ba%9a%e9%a9%ac\/#5%E5%88%A0%E9%99%A4%E8%B4%9F%E5%80%BC%E8%AE%B0%E5%BD%95\" title=\"5.\u5220\u9664\u8d1f\u503c\u8bb0\u5f55\">5.\u5220\u9664\u8d1f\u503c\u8bb0\u5f55<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"http:\/\/viplao.com\/index.php\/2023\/08\/24\/python-%e6%97%a5%e5%b8%b8%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90-%e6%95%b0%e6%8d%ae%e6%b8%85%e6%b4%97%e5%ae%9e%e6%88%98%e4%bd%bf%e7%94%a8pandas%e6%b8%85%e6%b4%97%e4%ba%9a%e9%a9%ac\/#6%E4%BF%9D%E5%AD%98%E6%95%B0%E6%8D%AE\" title=\"6.\u4fdd\u5b58\u6570\u636e\">6.\u4fdd\u5b58\u6570\u636e<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"http:\/\/viplao.com\/index.php\/2023\/08\/24\/python-%e6%97%a5%e5%b8%b8%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90-%e6%95%b0%e6%8d%ae%e6%b8%85%e6%b4%97%e5%ae%9e%e6%88%98%e4%bd%bf%e7%94%a8pandas%e6%b8%85%e6%b4%97%e4%ba%9a%e9%a9%ac\/#7%E4%BB%A3%E7%A0%81%E4%B8%8B%E8%BD%BD\" title=\"7.\u4ee3\u7801\u4e0b\u8f7d\">7.\u4ee3\u7801\u4e0b\u8f7d<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"http:\/\/viplao.com\/index.php\/2023\/08\/24\/python-%e6%97%a5%e5%b8%b8%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90-%e6%95%b0%e6%8d%ae%e6%b8%85%e6%b4%97%e5%ae%9e%e6%88%98%e4%bd%bf%e7%94%a8pandas%e6%b8%85%e6%b4%97%e4%ba%9a%e9%a9%ac\/#%E6%80%BB%E7%BB%93\" title=\"\u603b\u7ed3\">\u603b\u7ed3<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"http:\/\/viplao.com\/index.php\/2023\/08\/24\/python-%e6%97%a5%e5%b8%b8%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90-%e6%95%b0%e6%8d%ae%e6%b8%85%e6%b4%97%e5%ae%9e%e6%88%98%e4%bd%bf%e7%94%a8pandas%e6%b8%85%e6%b4%97%e4%ba%9a%e9%a9%ac\/#%E7%BD%91%E7%AB%99%E6%8E%A8%E8%8D%90\" title=\"\u7f51\u7ad9\u63a8\u8350\">\u7f51\u7ad9\u63a8\u8350<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"http:\/\/viplao.com\/index.php\/2023\/08\/24\/python-%e6%97%a5%e5%b8%b8%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90-%e6%95%b0%e6%8d%ae%e6%b8%85%e6%b4%97%e5%ae%9e%e6%88%98%e4%bd%bf%e7%94%a8pandas%e6%b8%85%e6%b4%97%e4%ba%9a%e9%a9%ac\/#%E6%95%B0%E6%8D%AE%E6%BA%90%E8%8E%B7%E5%8F%96\" title=\"\u6570\u636e\u6e90\u83b7\u53d6\">\u6570\u636e\u6e90\u83b7\u53d6<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"http:\/\/viplao.com\/index.php\/2023\/08\/24\/python-%e6%97%a5%e5%b8%b8%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90-%e6%95%b0%e6%8d%ae%e6%b8%85%e6%b4%97%e5%ae%9e%e6%88%98%e4%bd%bf%e7%94%a8pandas%e6%b8%85%e6%b4%97%e4%ba%9a%e9%a9%ac\/#%E5%AD%A6%E4%B9%A0%E7%BD%91%E7%AB%99\" title=\"\u5b66\u4e60\u7f51\u7ad9\">\u5b66\u4e60\u7f51\u7ad9<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%95%B0%E6%8D%AE%E5%87%86%E5%A4%87\"><\/span><strong>\u6570\u636e\u51c6\u5907<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u6e05\u6d17\u7684\u662f\u4e00\u4efd\u4e9a\u9a6c\u900a\u9ed1\u8272\u661f\u671f\u4e94\u7535\u5546\u8282\u7684\u9500\u552e\u6570\u636e\uff0c\u6570\u636e\u4fdd\u5b58\u5728 Excel \u6587\u4ef6\u4e2d<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%95%B0%E6%8D%AE%E8%A7%A3%E9%87%8A\"><\/span><strong>\u6570\u636e\u89e3\u91ca<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u5148\u6765\u770b\u4e00\u4e0b\u8868\u91cc\u9762\u7684\u524d 10 \u884c\u6570\u636e\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/pic4.zhimg.com\/80\/v2-35b0a99e8f450bd1c3cb29785e0bf3b3_720w.webp\" alt=\"\"\/><figcaption class=\"wp-element-caption\">\u6570\u636e\u793a\u4f8b<\/figcaption><\/figure>\n\n\n\n<p>\u4ee5\u4e0b\u662f\u6bcf\u4e2a\u6570\u636e\u5217\u7684\u542b\u4e49\u4ee5\u53ca\u6570\u636e\u8303\u56f4\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/pic1.zhimg.com\/80\/v2-5554b8abc1d14b0e0ab6841f6992ec9c_720w.webp\" alt=\"\"\/><\/figure>\n\n\n\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u6765\u8be6\u7ec6\u770b\u4e00\u770b\u6570\u636e\u6e05\u6d17\u7684\u8fc7\u7a0b\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%B8%85%E6%B4%97%E8%BF%87%E7%A8%8B\"><\/span><strong>\u6e05\u6d17\u8fc7\u7a0b<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1%E5%B0%86_Excel_%E8%BD%AC%E5%8C%96%E6%88%90_Pkl_%E6%A0%BC%E5%BC%8F%E6%96%87%E4%BB%B6\"><\/span><strong>1.\u5c06 Excel \u8f6c\u5316\u6210 Pkl \u683c\u5f0f\u6587\u4ef6<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u6e05\u6d17\u7684\u7b2c\u4e00\u6b65\u662f\u8981\u5c06 Excel \u8868\u683c\u4e2d\u7684\u6570\u636e\u52a0\u8f7d\u5230 Pandas \u4e2d\uff0c\u7531\u4e8e\u8fd9\u4efd\u6570\u636e\u8f83\u5927\uff0c\u52a0\u8f7d\u7684\u901f\u5ea6\u975e\u5e38\u7f13\u6162\uff0c\u4e8e\u662f\u6c34\u54e5\u9488\u5bf9\u8fd9\u4e2a\u95ee\u9898\u505a\u4e86\u4e0b\u4f18\u5316\uff0c\u5927\u5bb6\u53ef\u4ee5\u770b\u8fd9\u7bc7\u6587\u7ae0\uff1a<\/p>\n\n\n\n<p><a target=\"_blank\" href=\"https:\/\/zhuanlan.zhihu.com\/p\/557809019\" rel=\"noreferrer noopener\">RecordLiu\uff1apandas\u52a0\u8f7d\u5927Excel\u6587\u4ef6\u7f13\u6162\u95ee\u9898\u4f18\u53162 \u8d5e\u540c \u00b7 4 \u8bc4\u8bba\u6587\u7ae0<\/a><\/p>\n\n\n\n<p>\u4e3b\u8981\u7684\u4f18\u5316\u601d\u8def\u5c31\u662f\u628a Excel \u6587\u4ef6\u8f6c\u5316\u6210 Pkl \u6587\u4ef6\u4fdd\u5b58\uff0c\u7136\u540e\u518d\u8bfb\u53d6\uff0c\u8fd9\u6837\u80fd\u4f7f Pandas \u8bfb\u53d6\u5927\u6587\u4ef6\u7684\u901f\u5ea6\u53d8\u5f97\u7279\u522b\u5feb\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2%E4%BA%86%E8%A7%A3%E6%95%B0%E6%8D%AE%E6%A6%82%E5%86%B5\"><\/span><strong>2.\u4e86\u89e3\u6570\u636e\u6982\u51b5<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p><strong>\u5728\u6e05\u6d17\u6570\u636e\u524d\uff0c\u6211\u4eec\u9700\u8981\u4e86\u89e3\u6570\u636e\u7684\u6574\u4f53\u6982\u51b5\uff0c\u6bd4\u5982\u6570\u636e\u7684\u603b\u6570\u662f\u591a\u5c11\u3001\u6709\u591a\u5c11\u7f3a\u5931\u503c\u3001\u6709\u591a\u5c11\u91cd\u590d\u503c\u3001\u6709\u6ca1\u6709\u5f02\u5e38\u503c\u3001\u5217\u503c\u7684\u4e00\u4e2a\u5206\u5e03\u60c5\u51b5\u7b49\uff0c\u6211\u4eec\u5c06\u8fd9\u4e00\u6b65\u79f0\u4e3a\u300c\u63a2\u7d22\u6027\u6570\u636e\u5206\u6790\u300d (EDA)\u3002<\/strong><\/p>\n\n\n\n<p>\u8fd9\u4e00\u6b65\u6c34\u54e5\u9009\u7528\u7684\u662f pandas_profiling \u8fd9\u4e2a\u6a21\u5757\uff0c\u5b83\u5f88\u5408\u9002\u4f5c\u4e3a EDA \u7684\u5de5\u5177\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\">\n<p>\u63d0\u793a\uff1a\u6c34\u54e5\u5efa\u8bae\u5927\u5bb6\u4f7f\u7528 anaconda \u6765\u5b89\u88c5 pandas_profiling \u6a21\u5757\uff0c\u5982\u679c\u4f7f\u7528<code>pip install<\/code>\u7684\u65b9\u5f0f\uff0c\u5f88\u53ef\u80fd\u4f1a\u78b0\u5230\u4e00\u4e9b\u6bd4\u8f83\u96be\u89e3\u51b3\u7684\u73af\u5883\u4f9d\u8d56\u95ee\u9898\u3002\u5927\u5bb6\u5b89\u88c5\u5b8c anaconda \u540e\uff0c\u5728\u7ec8\u7aef\u6267\u884c<code>conda install pandas-profiling<\/code>\u5373\u53ef\u5b89\u88c5\u8be5\u6a21\u5757\u3002<\/p>\n<\/blockquote>\n\n\n\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u4f7f\u7528 pandas_profiling \u6765\u7b80\u5355\u751f\u6210\u4e00\u4e2a\u6570\u636e\u5206\u6790\u62a5\u544a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/usr\/bin\/env python3\n# -*- coding: utf-8 -*-\nimport pandas as pd\nimport pandas_profiling\n\ndata = pd.read_pickle('.\/\u9ed1\u8272\u661f\u671f\u4e94\u6570\u636e.pkl')\npfr = pandas_profiling.ProfileReport(data)\npfr.to_file(\".\/\u9ed1\u8272\u661f\u671f\u4e94\u6570\u636e\u6982\u89c8.html\")\n<\/code><\/pre>\n\n\n\n<p><strong>\u89e3\u91ca\u4e0b\u4e0a\u9762\u4ee3\u7801\u542b\u4e49:<\/strong><\/p>\n\n\n\n<p>\u524d\u4e24\u884c\u7684\u6ce8\u91ca\uff0c\u7b2c\u4e00\u884c\u8868\u793a\u544a\u8bc9\u7f16\u8bd1\u5668\u662f Python3 \u7684\u8fd0\u884c\u73af\u5883\uff0c\u7b2c\u4e8c\u884c\u8868\u793a\u6587\u4ef6\u7f16\u7801\u7c7b\u578b\u4e3a utf-8\u3002<\/p>\n\n\n\n<p>\u63a5\u7740\uff0c\u6211\u4eec\u9700\u8981\u5728\u6587\u4ef6\u7684\u5f00\u5934\u5f15\u5165 pandas \u548c pandas_profiling \u6a21\u5757\u3002 \u7136\u540e\u901a\u8fc7 pandas \u7684 read_pickle \u65b9\u6cd5\u628a\u6570\u636e\u6e90\u8bfb\u5230 data \u4e2d\u4fdd\u5b58\uff0c\u518d\u8c03\u7528 pandas_profiling \u6a21\u5757\u7684 ProfileReport \u65b9\u6cd5\u5c06 data \u4f20\u8fc7\u53bb\u751f\u6210\u4e00\u4efd\u6570\u636e\u5206\u6790\u62a5\u544a\u3002<\/p>\n\n\n\n<p>\u6700\u540e\u8c03\u7528 pandas_profiling \u6a21\u5757\u7684 to_file \u65b9\u6cd5\u5c06\u62a5\u544a\u4fdd\u5b58\u5230 html \u6587\u4ef6\u4e2d\uff0c\u8fd9\u6837\u6211\u4eec\u5c31\u53ef\u4ee5\u5728\u6d4f\u89c8\u5668\u8bbf\u95ee\u5230\u8fd9\u4efd\u62a5\u544a\u4e86\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\">\n<p>\u63d0\u793a\uff1a\u5927\u5bb6\u53ef\u4ee5\u628a ProfileReport \u65b9\u6cd5\u7406\u89e3\u6210\u4e00\u4e2a&nbsp;<strong>\u300c\u9ed1\u76d2\u5b50\u300d<\/strong>\u3002\u6211\u4eec\u4e0d\u7528\u5173\u6ce8\u8fd9\u4e2a\u9ed1\u76d2\u5b50\u5177\u4f53\u662f\u600e\u4e48\u5b9e\u73b0\u7684\uff0c\u4f46\u5b83\u6709\u4e00\u4e2a&nbsp;<strong>\u300c\u9b54\u6cd5\u300d<\/strong>\uff0c\u5c31\u662f&nbsp;<strong>\u300c\u5582\u7ed9\u5b83<\/strong>\u300d\u6211\u4eec\u60f3\u8981\u5206\u6790\u7684\u6570\u636e\uff0c\u5c31\u4f1a\u7ed9\u6211\u4eec\u751f\u6210\u4e00\u4efd\u7b80\u6613\u7684\u6570\u636e\u5206\u6790\u62a5\u544a\u3002<\/p>\n<\/blockquote>\n\n\n\n<p><strong>\u6211\u4eec\u6765\u770b\u770b\u6700\u7ec8\u751f\u6210\u7684\u62a5\u544a\u6548\u679c\uff1a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/pic4.zhimg.com\/80\/v2-3c2e6c969c5082a197e4afad62266623_720w.webp\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3%E6%95%B0%E6%8D%AE%E6%B8%85%E6%B4%97%E7%9A%84_3_%E4%B8%AA%E5%87%86%E5%88%99\"><\/span><strong>3.\u6570\u636e\u6e05\u6d17\u7684 3 \u4e2a\u51c6\u5219<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u6c34\u54e5\u7ed9\u5927\u5bb6\u603b\u7ed3\u4e86\u6570\u636e\u6e05\u6d17\u7684 3 \u4e2a\u51c6\u5219\uff0c\u5206\u522b\u662f\u884c\u51c6\u5219\u3001\u5217\u51c6\u5219\u3001\u4ee5\u53ca\u91cd\u590d\u8bb0\u5f55\u7684\u68c0\u67e5\uff1a<\/p>\n\n\n\n<p><a target=\"_blank\" href=\"https:\/\/zhuanlan.zhihu.com\/p\/554923548\" rel=\"noreferrer noopener\">RecordLiu\uff1a\u6570\u636e\u6e05\u6d17\u90fd\u6709\u54ea\u4e9b\u51c6\u5219\uff1f0 \u8d5e\u540c \u00b7 0 \u8bc4\u8bba\u6587\u7ae0<\/a><\/p>\n\n\n\n<p><strong>\u6240\u4ee5\u5bf9\u4e8e\u8fd9\u4efd\u4e9a\u9a6c\u900a\u9500\u552e\u6570\u636e\u7684\u6e05\u6d17\uff0c\u6211\u4eec\u9700\u8981\u91cd\u70b9\u5173\u6ce8\u662f\uff0c\u884c\u8bb0\u5f55\u7684\u7f3a\u5931\u60c5\u51b5\u3001\u6bcf\u4e2a\u5217\u503c\u7684\u5408\u6cd5\u6027\u68c0\u67e5\u4ee5\u53ca\u91cd\u590d\u8bb0\u5f55\u3002<\/strong><\/p>\n\n\n\n<p>\u7ed3\u5408 pandas_profiling \u751f\u6210\u7684\u62a5\u544a\u6211\u4eec\u53ef\u4ee5\u68c0\u67e5\u51fa\uff1a<\/p>\n\n\n\n<ul>\n<li>Product_ID \u5217\u5177\u6709\u4e00\u4e2a\u7a7a\u503c\uff0c\u6211\u4eec\u9700\u8981\u5220\u9664<\/li>\n\n\n\n<li>Purchase \u5217\u6570\u636e\u8303\u56f4\u5fc5\u987b\u4e3a\u6b63\u6574\u6570\uff0c\u4ece\u5217\u503c\u5206\u5e03\u60c5\u51b5\u770b\u51fa\uff0c\u6700\u5c0f\u503c\u6709 -999\uff0c\u4e3a\u4e0d\u5408\u6cd5\u7684\u503c\uff0c\u6709\u8d1f\u6570\u7684\u8bb0\u5f55\u6211\u4eec\u9700\u8981\u505a\u5220\u9664<\/li>\n\n\n\n<li>\u6570\u636e\u6ca1\u6709\u91cd\u590d\u8bb0\u5f55\uff0c\u56e0\u6b64\u4e0d\u9700\u8981\u505a\u4efb\u4f55\u5904\u7406<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"4%E5%88%A0%E9%99%A4%E7%A9%BA%E5%80%BC%E8%AE%B0%E5%BD%95\"><\/span><strong>4.\u5220\u9664\u7a7a\u503c\u8bb0\u5f55<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u6211\u4eec\u5c06\u4f7f\u7528 DataFrame \u7684 dropna \u51fd\u6570\u6765\u5220\u9664 Product_ID \u4e3a\u7a7a\u503c\u7684\u884c\uff0c\u4ee3\u7801\u5982\u4e0b:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/usr\/bin\/env python3\n# -*- coding: utf-8 -*-\nimport pandas as pd\nfrom pandas import Series,DataFrame\n#\u8bfb\u53d6\u6570\u636e\ndf = DataFrame(pd.read_pickle('.\/\u9ed1\u8272\u661f\u671f\u4e94\u6570\u636e.pkl'))\n#\u5220\u9664 Product_ID \u4e3a\u7a7a\u503c\u7684\u6570\ndf.dropna(axis=0,how='any', inplace=True)\n<\/code><\/pre>\n\n\n\n<p>\u6c34\u54e5\u7ed9\u5927\u5bb6\u8bf4\u660e\u4e0b dropna \u51fd\u6570\u7684\u7528\u6cd5:<\/p>\n\n\n\n<ul>\n<li>axis: \u8bbe\u7f6e\u4e3a<code>axis=0<\/code>\u65f6\uff0c\u8868\u793a\u9022\u7a7a\u503c\u5220\u9664\u6574\u884c,\u8bbe\u7f6e\u4e3a<code>axis=1<\/code>&nbsp;\u65f6\uff0c\u8868\u793a\u9022\u7a7a\u503c\u5220\u9664\u6574\u5217<\/li>\n\n\n\n<li>how: \u8bbe\u7f6e\u6210<code>how=any<\/code>\u65f6\uff0c\u8868\u793a\u4e00\u884c\u6216\u8005\u4e00\u5217\uff0c\u6709\u4e00\u4e2a\u7a7a\u503c\u5c31\u5220\u9664\u6574\u884c\u6216\u8005\u6574\u5217\uff0c\u8bbe\u7f6e\u6210<code>how=all<\/code>\u65f6\uff0c\u8868\u793a\u9700\u8981\u5168\u90e8\u503c\u4e3a\u7a7a\u503c\u65f6\u624d\u5220\u9664\u6574\u884c\u6216\u8005\u6574\u5217<\/li>\n\n\n\n<li>inplace: \u8bbe\u7f6e\u6210&nbsp;<code>True<\/code>&nbsp;\u65f6\uff0c\u4fee\u6539\u624d\u80fd\u751f\u6548\uff0c\u6e90\u6570\u636e\u7684\u7a7a\u503c\u624d\u80fd\u5220\u9664<\/li>\n<\/ul>\n\n\n\n<p>\u6211\u4eec\u60f3\u8981\u5728 Product_ID \u5217\u4e3a\u7a7a\u503c\u65f6\uff0c\u5220\u9664\u6389\u6574\u884c\u8bb0\u5f55\uff0c\u6240\u4ee5 axis \u9700\u8981\u8bbe\u7f6e\u6210 0\uff0chow \u9700\u8981\u8bbe\u7f6e\u6210 any\uff0c\u5e76\u4e14\u9700\u8981\u8ba9\u4fee\u6539\u751f\u6548,inpalce \u9700\u8981\u8bbe\u7f6e\u6210 True\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"5%E5%88%A0%E9%99%A4%E8%B4%9F%E5%80%BC%E8%AE%B0%E5%BD%95\"><\/span><strong>5.\u5220\u9664\u8d1f\u503c\u8bb0\u5f55<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u6211\u4eec\u4f7f\u7528 DataFrame \u7684 drop \u51fd\u6570\u6765\u5220\u9664 Purchase \u5217\u4e3a\u8d1f\u6570\u7684\u8bb0\u5f55\uff0c\u4ee3\u7801\u5982\u4e0b:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u5220\u9664 Purchase \u4e3a\u8d1f\u6570\u7684\u8bb0\u5f55\nfor x in df.index:\n    if df.loc&#91;x, \"Purchase\"] &lt; 0:\n        df.drop(x, inplace = True)\n<\/code><\/pre>\n\n\n\n<p>\u4e0a\u9762\u4ee3\u7801\u5b9e\u73b0\u7684\u529f\u80fd\u4e3a\uff0c\u4f7f\u7528<code>for in<\/code>\u8bed\u53e5\u6765\u904d\u5386\u6bcf\u4e00\u884c\u6570\u636e\uff0c\u518d\u5224\u65ad\u6bcf\u884c\u7684<code>Purchase<\/code>\u5217\u7684\u503c,\u5982\u679c\u503c\u5c0f\u4e8e 0\uff0c\u5219\u628a\u8be5\u884c\u8fdb\u884c\u5220\u9664\u3002\u5176\u4e2d&nbsp;<code>loc<\/code>\u8868\u793a\u5750\u6807\uff0c\u662f\u7528\u6765\u5b9a\u4f4d\u67d0\u4e00\u4e2a\u5355\u5143\u683c\u503c\u7684\uff0c<code>df.loc[x,y]<\/code>&nbsp;\u8868\u793a\u7684\u662f\u7b2c x \u884c\u7b2c y \u5217\u5355\u5143\u683c\u7684\u503c\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"6%E4%BF%9D%E5%AD%98%E6%95%B0%E6%8D%AE\"><\/span><strong>6.\u4fdd\u5b58\u6570\u636e<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u6700\u540e\uff0c\u6211\u4eec\u5c06\u6e05\u6d17\u540e\u7684\u6570\u636e\u4fdd\u5b58\u81f3 Excel \u8868\u683c\u4e2d\uff0c\u4ee3\u7801\u5982\u4e0b:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>df.to_excel('.\/\u6e05\u6d17\u5b8c\u6210\u6570\u636e.xlsx',index = False)\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"7%E4%BB%A3%E7%A0%81%E4%B8%8B%E8%BD%BD\"><\/span><strong>7.\u4ee3\u7801\u4e0b\u8f7d<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>\u672c\u6587\u4e2d\u7684\u4ee3\u7801\u793a\u4f8b\u6c34\u54e5\u90fd\u4e0a\u4f20\u5230\u4e86 Github \u4e0a\uff0c\u9700\u8981\u7684\u670b\u53cb\u53ef\u4ee5\u81ea\u884c\u4e0b\u8f7d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/pic1.zhimg.com\/80\/v2-416d88a80e4708e29dd9b6a751819ae8_720w.webp\" alt=\"\"\/><\/figure>\n\n\n\n<p>github\u5730\u5740\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\">\n<p><a href=\"https:\/\/github.com\/RecordLiu\/BlackFriday\">https:\/\/github.com\/RecordLiu\/BlackFriday<\/a><\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%80%BB%E7%BB%93\"><\/span><strong>\u603b\u7ed3<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u5728\u6570\u636e\u6e05\u6d17\u524d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e9b EDA \u5de5\u5177\u8fdb\u884c\u300c<strong>\u63a2\u7d22\u6027\u6570\u636e\u5206\u6790<\/strong>\u300d\uff0c\u672c\u6587\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u7684\u662f pandas_profiling \u8fd9\u4e2a\u7b2c\u4e09\u65b9\u6a21\u5757\u3002\u901a\u8fc7 EDA \u5de5\u5177\uff0c\u6211\u4eec\u53ef\u4ee5\u6e05\u695a\u5730\u77e5\u9053\u6570\u636e\u7684\u6574\u4f53\u6982\u51b5\uff0c\u6709\u591a\u5c11\u7f3a\u5931\u503c\u3001\u6570\u636e\u7684\u91cd\u590d\u60c5\u51b5\u4ee5\u53ca\u5217\u503c\u7684\u5206\u5e03\u3001\u5f02\u5e38\u60c5\u51b5\u7b49\uff0c\u76f8\u5f53\u4e8e\u7ed9\u6211\u4eec\u63d0\u4f9b\u4e00\u4e2a\u300c<strong>\u5168\u5c40\u7684\u6570\u636e\u89c6\u89d2<\/strong>\u300d\uff0c\u8fd9\u6837\u6211\u4eec\u5c31\u53ef\u4ee5\u6709\u9488\u5bf9\u6027\u5730\u7528 Pandas \u6765\u505a\u6570\u636e\u6e05\u6d17\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E7%BD%91%E7%AB%99%E6%8E%A8%E8%8D%90\"><\/span><strong>\u7f51\u7ad9\u63a8\u8350<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%95%B0%E6%8D%AE%E6%BA%90%E8%8E%B7%E5%8F%96\"><\/span><strong>\u6570\u636e\u6e90\u83b7\u53d6<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u8f6c\u884c\u6570\u636e\u5206\u6790\u5e08\uff0c\u6ca1\u6709\u76f8\u5173\u5de5\u4f5c\u7ecf\u9a8c\u600e\u4e48\u529e?\u65b9\u6cd5\u662f\u53ef\u4ee5\u7528\u505a\u8fc7\u7684\u6570\u636e\u5206\u6790\u9879\u76ee\u6765\u5f25\u8865\u3002<\/p>\n\n\n\n<p>\u5f53\u6211\u4eec\u7528\u4e00\u4e9b\u5546\u4e1a\u6570\u636e\u6e90\u6765\u505a\u5206\u6790\u65f6\uff0c\u5c31\u80fd\u6bd4\u8f83\u8d34\u5408\u5b9e\u9645\u7684\u5de5\u4f5c\u573a\u666f\uff0c\u5728\u6b64\u57fa\u7840\u4e0a\u505a\u51fa\u5206\u6790\u9879\u76ee\uff0c\u662f\u6709\u542b\u91d1\u91cf\u7684\uff0c\u9762\u8bd5\u5b98\u4e5f\u4f1a\u6bd4\u8f83\u770b\u91cd\u3002<\/p>\n\n\n\n<p>\u5bf9\u4e8e\u6570\u636e\u6e90\u7684\u83b7\u53d6\uff0c\u4e00\u79cd\u65b9\u5f0f\u662f\u53ef\u4ee5\u901a\u8fc7\u722c\u866b\u83b7\u53d6\uff0c\u6bd4\u5982\u7528\u7b2c\u4e09\u65b9\u5de5\u5177\u6216\u8005\u7528 Python \u91c7\u96c6\uff0c\u90a3\u9664\u4e86\u722c\u866b\u5916\uff0c\u6709\u6ca1\u6709\u4e00\u4e9b\u514d\u8d39\u7684\u6570\u636e\u6e90\u83b7\u53d6\u5462?<\/p>\n\n\n\n<p>\u6c34\u54e5\u8fd9\u91cc\u7ed9\u5927\u5bb6\u63a8\u8350\u4e09\u4e2a\u7f51\u7ad9\uff0c\u5206\u522b\u662f\uff1a\u548c\u9cb8\u793e\u533a\u3001\u963f\u91cc\u4e91\u5929\u6c60\u3001kaggle\u3002<\/p>\n\n\n\n<p>\u8fd9\u4e9b\u7f51\u7ad9\u4e0d\u4ec5\u80fd\u83b7\u53d6\u5230\u5546\u4e1a\u7684\u6570\u636e\u6e90\uff0c\u8fd8\u80fd\u770b\u5230\u522b\u4eba\u7684\u5206\u6790\u9879\u76ee\uff0c\u4e5f\u53ef\u4ee5\u5728\u4e0a\u9762\u505a\u7ec3\u4e60\u3001\u6253\u6bd4\u8d5b\uff0c\u8fd8\u6709\u5404\u79cd\u5b98\u65b9\u63a8\u8350\u7684\u6d3b\u52a8\uff0c\u4e5f\u80fd\u548c\u5176\u4ed6\u6570\u636e\u5206\u6790\u8005\u8fdb\u884c\u4ea4\u6d41\uff0c\u529f\u80fd\u975e\u5e38\u4e30\u5bcc\u3002<\/p>\n\n\n\n<p>\u7f51\u7ad9\u76f4\u8fbe\uff1a<\/p>\n\n\n\n<ul>\n<li>\u548c\u9cb8\u793e\u533a\uff1a<a href=\"https:\/\/link.zhihu.com\/?target=https%3A\/\/www.heywhale.com\/home\/dataset\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.heywhale.com\/home\/dataset<\/a><\/li>\n\n\n\n<li>\u963f\u91cc\u4e91\u5929\u6c60\uff1a<a href=\"https:\/\/link.zhihu.com\/?target=https%3A\/\/tianchi.aliyun.com\/dataset\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/tianchi.aliyun.com\/dataset<\/a><\/li>\n\n\n\n<li>kaggle\uff1a<a href=\"https:\/\/link.zhihu.com\/?target=https%3A\/\/www.kaggle.com\/datasets\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.kaggle.com\/datasets<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E5%AD%A6%E4%B9%A0%E7%BD%91%E7%AB%99\"><\/span><strong>\u5b66\u4e60\u7f51\u7ad9<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Python \u548c SQL \u7684\u5b66\u4e60\u6c34\u54e5\u63a8\u8350\u83dc\u9e1f\u6559\u7a0b\u7f51\u7ad9\u63a8\u51fa\u7684\u8bfe\u7a0b\u3002\u83dc\u9e1f\u6559\u7a0b\u63a8\u51fa\u7684\u8bfe\u7a0b\u4e00\u76f4\u662f\u6c34\u54e5\u5b66\u4e60\u7f16\u7a0b\u8bed\u8a00\u65f6\u7684\u9996\u9009\uff0c\u5185\u5bb9\u4e0d\u4ec5\u57fa\u7840\u5168\u9762\uff0c\u800c\u4e14\u4f8b\u5b50\u4e30\u5bcc\uff0c\u5f88\u5177\u5907\u5b9e\u64cd\u6027\uff0c\u53ef\u4ee5\u5f53\u4f5c\u624b\u518c\u6765\u4f7f\u7528\u3002<\/p>\n\n\n\n<ul>\n<li>SQL \u6559\u7a0b\uff1a<a href=\"https:\/\/link.zhihu.com\/?target=https%3A\/\/www.runoob.com\/sql\/sql-tutorial.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.runoob.com\/sql\/sql-tutorial.html<\/a><\/li>\n\n\n\n<li>Python3 \u6559\u7a0b\uff1a<a href=\"https:\/\/link.zhihu.com\/?target=https%3A\/\/www.runoob.com\/python3\/python3-tutorial.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.runoob.com\/python3\/python3-tutorial.html<\/a><\/li>\n\n\n\n<li>Numpy \u6559\u7a0b\uff1a<a href=\"https:\/\/link.zhihu.com\/?target=https%3A\/\/www.runoob.com\/numpy\/numpy-tutorial.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.runoob.com\/numpy\/numpy-tutorial.html<\/a><\/li>\n\n\n\n<li>Pandas \u6559\u7a0b\uff1a<a href=\"https:\/\/link.zhihu.com\/?target=https%3A\/\/www.runoob.com\/pandas\/pandas-tutorial.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.runoob.com\/pandas\/pandas-tutorial.html<\/a><\/li>\n\n\n\n<li>Matplotlib \u6559\u7a0b\uff1a<a href=\"https:\/\/link.zhihu.com\/?target=https%3A\/\/www.runoob.com\/matplotlib\/matplotlib-tutorial.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.runoob.com\/matplotlib\/matplotlib-tutorial.html<\/a><\/li>\n\n\n\n<li>SciPy \u6559\u7a0b\uff1a<a href=\"https:\/\/link.zhihu.com\/?target=https%3A\/\/www.runoob.com\/scipy\/scipy-tutorial.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.runoob.com\/scipy\/scipy-<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6570\u636e\u51c6\u5907 \u6e05\u6d17\u7684\u662f\u4e00\u4efd\u4e9a\u9a6c\u900a\u9ed1\u8272\u661f\u671f\u4e94\u7535\u5546\u8282\u7684\u9500\u552e\u6570\u636e\uff0c\u6570\u636e\u4fdd\u5b58\u5728 Excel \u6587\u4ef6\u4e2d \u6570\u636e\u89e3\u91ca \u5148&hellip; <a href=\"http:\/\/viplao.com\/index.php\/2023\/08\/24\/python-%e6%97%a5%e5%b8%b8%e6%95%b0%e6%8d%ae%e5%88%86%e6%9e%90-%e6%95%b0%e6%8d%ae%e6%b8%85%e6%b4%97%e5%ae%9e%e6%88%98%e4%bd%bf%e7%94%a8pandas%e6%b8%85%e6%b4%97%e4%ba%9a%e9%a9%ac\/\" class=\"more-link read-more\" rel=\"bookmark\">\u7ee7\u7eed\u9605\u8bfb <span class=\"screen-reader-text\">\u6570\u5b57\u5316\u8fd0\u8425\u57fa\u7840\u6280\u80fd \u2013\u00a0 \u6570\u636e\u6e05\u6d17\u5b9e\u6218:\u4f7f\u7528pandas\u6e05\u6d17\u4e9a\u9a6c\u900a\u7535\u5546\u9500\u552e\u6570\u636e<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[28],"views":1805,"_links":{"self":[{"href":"http:\/\/viplao.com\/index.php\/wp-json\/wp\/v2\/posts\/2284"}],"collection":[{"href":"http:\/\/viplao.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/viplao.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/viplao.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/viplao.com\/index.php\/wp-json\/wp\/v2\/comments?post=2284"}],"version-history":[{"count":3,"href":"http:\/\/viplao.com\/index.php\/wp-json\/wp\/v2\/posts\/2284\/revisions"}],"predecessor-version":[{"id":2807,"href":"http:\/\/viplao.com\/index.php\/wp-json\/wp\/v2\/posts\/2284\/revisions\/2807"}],"wp:attachment":[{"href":"http:\/\/viplao.com\/index.php\/wp-json\/wp\/v2\/media?parent=2284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/viplao.com\/index.php\/wp-json\/wp\/v2\/categories?post=2284"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/viplao.com\/index.php\/wp-json\/wp\/v2\/tags?post=2284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}