{"id":37607,"date":"2025-04-22T14:16:18","date_gmt":"2025-04-22T06:16:18","guid":{"rendered":"https:\/\/www.yunshan.net\/blog\/?p=37607"},"modified":"2025-04-22T14:16:18","modified_gmt":"2025-04-22T06:16:18","slug":"%e9%80%9a%e8%bf%87%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96%e5%b7%a5%e5%85%b7%e5%92%8c%e6%8a%80%e6%9c%af%e6%9d%a5%e5%ae%9e%e7%8e%b0%e6%95%b0%e6%8d%ae%e5%8f%af%e8%a7%86%e5%8c%96","status":"publish","type":"post","link":"https:\/\/www.yunshan.net\/blog\/archives\/37607.html","title":{"rendered":"-\u901a\u8fc7\u6570\u636e\u53ef\u89c6\u5316\u5de5\u5177\u548c\u6280\u672f\u6765\u5b9e\u73b0\u6570\u636e\u53ef\u89c6\u5316"},"content":{"rendered":"<p style=\"text-align: center;\">\n<p><img decoding=\"async\" src=\"https:\/\/pic.zadbj010.com\/2025\/a3c1450f67819a0.webp\" alt=\"-\u901a\u8fc7\u6570\u636e\u53ef\u89c6\u5316\u5de5\u5177\u548c\u6280\u672f\u6765\u5b9e\u73b0\u6570\u636e\u53ef\u89c6\u5316\" ><\/p>\n<\/p>\n<p><strong>\u4e00\u3001\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177<\/strong><\/p>\n<p>1. <strong>\u7f16\u7a0b\u8bed\u8a00\u76f8\u5173\u7684\u5e93<\/strong><\/p>\n<li><strong>Python<\/strong><\/li>\n<li><strong>Matplotlib<\/strong><\/li>\n<li>\u8fd9\u662f\u4e00\u4e2a\u57fa\u7840\u7684\u7ed8\u56fe\u5e93\uff0c\u53ef\u7528\u4e8e\u521b\u5efa\u5404\u79cd\u7c7b\u578b\u7684\u56fe\u8868\uff0c\u5982\u6298\u7ebf\u56fe\u3001\u67f1\u72b6\u56fe\u3001\u6563\u70b9\u56fe\u7b49\u3002\u4f8b\u5982\uff0c\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u6298\u7ebf\u56fe\uff1a<\/li>\n<p>python<\/p>\n<p>import matplotlib.pyplot as plt<\/p>\n<p>x = [1, 2, 3, 4]<\/p>\n<p>y = [10, 20, 25, 30]<\/p>\n<p>plt.plot(x,y)<\/p>\n<p>plt.show<\/p>\n<li><strong>Seaborn<\/strong><\/li>\n<li>\u5b83\u5efa\u7acb\u5728Matplotlib\u4e4b\u4e0a\uff0c\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7ea7\u7684\u7edf\u8ba1\u6570\u636e\u53ef\u89c6\u5316\u529f\u80fd\uff0c\u5982\u7ed8\u5236\u7bb1\u7ebf\u56fe\u3001\u5c0f\u63d0\u7434\u56fe\u7b49\u3002\u4f8b\u5982\u7ed8\u5236\u4e00\u4e2a\u7bb1\u7ebf\u56fe\uff1a<\/li>\n<p>python<\/p>\n<p>import seaborn as sns<\/p>\n<p>data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]<\/p>\n<p>sns.boxplot(data)<\/p>\n<p>plt.show<\/p>\n<li><strong>R\u8bed\u8a00<\/strong><\/li>\n<li><strong>ggplot2<\/strong><\/li>\n<li>\u4ee5\u5176\u4f18\u96c5\u7684\u8bed\u6cd5\u800c\u95fb\u540d\uff0c\u53ef\u7528\u4e8e\u521b\u5efa\u9ad8\u5ea6\u5b9a\u5236\u5316\u7684\u53ef\u89c6\u5316\u3002\u4f8b\u5982\u521b\u5efa\u4e00\u4e2a\u67f1\u72b6\u56fe\uff1a<\/li>\n<p>library(ggplot2)<\/p>\n<p>data = data.frame(category = c(&#8216;A&#8217;,&#8217;B&#8217;,&#8217;C&#8217;), value = c(10, 20, 30))<\/p>\n<p>ggplot(data, aes(x = category, y = value))+geom_bar(stat = &#8220;identity&#8221;)<\/p>\n<p>2. <strong>\u4e13\u95e8\u7684\u53ef\u89c6\u5316\u8f6f\u4ef6<\/strong><\/p>\n<li><strong>Tableau<\/strong><\/li>\n<li>\u5b83\u5177\u6709\u76f4\u89c2\u7684\u7528\u6237\u754c\u9762\uff0c\u65e0\u9700\u7f16\u5199\u5927\u91cf\u4ee3\u7801\u5373\u53ef\u521b\u5efa\u590d\u6742\u7684\u53ef\u89c6\u5316\u3002\u7528\u6237\u53ef\u4ee5\u8fde\u63a5\u5230\u5404\u79cd\u6570\u636e\u6e90\uff0c\u901a\u8fc7\u7b80\u5355\u7684\u62d6\u653e\u64cd\u4f5c\u6765\u6784\u5efa\u53ef\u89c6\u5316\uff0c\u5982\u4ea4\u4e92\u5f0f\u4eea\u8868\u76d8\u7b49\u3002<\/li>\n<li><strong>PowerBI<\/strong><\/li>\n<li>\u4e0eMicrosoft\u751f\u6001\u7cfb\u7edf\u7d27\u5bc6\u96c6\u6210\uff0c\u9002\u5408\u5904\u7406\u4f01\u4e1a\u7ea7\u7684\u6570\u636e\u53ef\u89c6\u5316\u9700\u6c42\u3002\u5b83\u652f\u6301\u4ece\u591a\u79cd\u6570\u636e\u6e90\u5bfc\u5165\u6570\u636e\uff0c\u80fd\u591f\u521b\u5efa\u62a5\u8868\u548c\u4eea\u8868\u76d8\uff0c\u5e76\u4e14\u53ef\u4ee5\u65b9\u4fbf\u5730\u4e0e\u56e2\u961f\u6210\u5458\u5171\u4eab\u3002<\/li>\n<p><strong>\u4e8c\u3001\u6570\u636e\u51c6\u5907<\/strong><\/p>\n<p>1. <strong>\u6570\u636e\u6536\u96c6<\/strong><\/p>\n<li>\u786e\u5b9a\u6570\u636e\u6e90\uff0c\u53ef\u4ee5\u662f\u6570\u636e\u5e93\uff08\u5982MySQL\u3001Oracle\u7b49\uff09\u3001\u6587\u4ef6\uff08\u5982CSV\u3001Excel\u7b49\uff09\u6216\u8005\u7f51\u7edcAPI\u3002<\/li>\n<p>2. <strong>\u6570\u636e\u6e05\u6d17<\/strong><\/p>\n<li>\u5904\u7406\u7f3a\u5931\u503c\uff0c\u4f8b\u5982\u5bf9\u4e8e\u6570\u503c\u578b\u6570\u636e\uff0c\u53ef\u4ee5\u7528\u5747\u503c\u3001\u4e2d\u4f4d\u6570\u6216\u4f17\u6570\u586b\u5145\uff1b\u5bf9\u4e8e\u5206\u7c7b\u6570\u636e\uff0c\u53ef\u4ee5\u4f7f\u7528\u6700\u5e38\u89c1\u7684\u7c7b\u522b\u586b\u5145\u3002<\/li>\n<li>\u5904\u7406\u5f02\u5e38\u503c\uff0c\u5982\u901a\u8fc7\u7edf\u8ba1\u65b9\u6cd5\uff08\u59823\u500d\u6807\u51c6\u5dee\u6cd5\uff09\u8bc6\u522b\u5e76\u51b3\u5b9a\u662f\u5220\u9664\u8fd8\u662f\u4fee\u6b63\u5f02\u5e38\u503c\u3002<\/li>\n<p>3. <strong>\u6570\u636e\u8f6c\u6362<\/strong><\/p>\n<li>\u53ef\u80fd\u9700\u8981\u5bf9\u6570\u636e\u8fdb\u884c\u6807\u51c6\u5316\u3001\u5f52\u4e00\u5316\u7b49\u64cd\u4f5c\uff0c\u4f8b\u5982\u5c06\u6570\u503c\u6620\u5c04\u5230\u7279\u5b9a\u533a\u95f4\uff080\n<li>1\u533a\u95f4\uff09\u4ee5\u4fbf\u4e8e\u6bd4\u8f83\u3002<\/li>\n<\/li>\n<p><strong>\u4e09\u3001\u53ef\u89c6\u5316\u8bbe\u8ba1<\/strong><\/p>\n<p>1. <strong>\u9009\u62e9\u5408\u9002\u7684\u56fe\u8868\u7c7b\u578b<\/strong><\/p>\n<li>\u6bd4\u8f83\u6570\u636e\u5927\u5c0f\u53ef\u4ee5\u4f7f\u7528\u67f1\u72b6\u56fe\uff1b\u5c55\u793a\u6570\u636e\u968f\u65f6\u95f4\u7684\u53d8\u5316\u8d8b\u52bf\u4f7f\u7528\u6298\u7ebf\u56fe\uff1b\u5206\u6790\u6570\u636e\u5206\u5e03\u4f7f\u7528\u76f4\u65b9\u56fe\u6216\u7bb1\u7ebf\u56fe\uff1b\u663e\u793a\u53d8\u91cf\u4e4b\u95f4\u7684\u5173\u7cfb\u4f7f\u7528\u6563\u70b9\u56fe\u6216\u6c14\u6ce1\u56fe\u7b49\u3002<\/li>\n<p>2. <strong>\u5e03\u5c40\u4e0e\u914d\u8272<\/strong><\/p>\n<li>\u4fdd\u6301\u5e03\u5c40\u7b80\u6d01\uff0c\u907f\u514d\u4fe1\u606f\u8fc7\u8f7d\u3002\u5408\u7406\u9009\u62e9\u989c\u8272\u65b9\u6848\uff0c\u4f8b\u5982\u4f7f\u7528\u5bf9\u6bd4\u8272\u6765\u7a81\u51fa\u91cd\u8981\u5143\u7d20\uff0c\u540c\u65f6\u8981\u8003\u8651\u989c\u8272\u7684\u53ef\u8bbf\u95ee\u6027\uff08\u5bf9\u4e8e\u8272\u76f2\u7528\u6237\u4e5f\u80fd\u6b63\u5e38\u533a\u5206\uff09\u3002<\/li>\n<p><strong>\u56db\u3001\u4ea4\u4e92\u6027\u8bbe\u8ba1\uff08\u53ef\u9009\uff09<\/strong><\/p>\n<p>1. <strong>\u6dfb\u52a0\u4ea4\u4e92\u5143\u7d20<\/strong><\/p>\n<li>\u5728\u53ef\u89c6\u5316\u4e2d\u6dfb\u52a0\u8fc7\u6ee4\u5668\uff0c\u4f7f\u7528\u6237\u53ef\u4ee5\u6839\u636e\u7279\u5b9a\u6761\u4ef6\u7b5b\u9009\u6570\u636e\uff0c\u5982\u5728Tableau\u4e2d\u53ef\u4ee5\u8f7b\u677e\u8bbe\u7f6e\u65e5\u671f\u8303\u56f4\u3001\u7c7b\u522b\u7b5b\u9009\u7b49\u4ea4\u4e92\u529f\u80fd\u3002<\/li>\n<p>\u5b9e\u73b0\u6570\u636e\u94bb\u53d6\uff0c\u4f8b\u5982\u4ece\u6c47\u603b\u6570\u636e\u6df1\u5165\u5230\u8be6\u7ec6\u6570\u636e\u5c42\u6b21\uff0c\u65b9\u4fbf\u7528\u6237\u8fdb\u884c\u6df1\u5165\u5206\u6790\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u9009\u62e9\u5408\u9002\u7684\u5de5\u5177 1. \u7f16\u7a0b\u8bed\u8a00\u76f8\u5173\u7684\u5e93 Python Matplotlib \u8fd9\u662f\u4e00\u4e2a\u57fa\u7840\u7684\u7ed8\u56fe\u5e93\uff0c\u53ef\u7528\u4e8e\u521b\u5efa\u5404\u79cd\u7c7b\u578b\u7684\u56fe\u8868\uff0c\u5982\u6298\u7ebf\u56fe\u3001\u67f1\u72b6\u56fe\u3001\u6563\u70b9\u56fe\u7b49\u3002\u4f8b\u5982\uff0c\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u6298\u7ebf\u56fe\uff1a python import matplotlib.pyplot as plt x = [1, 2, 3, 4] y = [10, 20, 25, 30] plt.plot(x,y) plt.show Seaborn \u5b83\u5efa\u7acb\u5728Matplotlib\u4e4b\u4e0a\uff0c\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7ea7\u7684\u7edf\u8ba1\u6570\u636e\u53ef\u89c6\u5316\u529f\u80fd\uff0c\u5982\u7ed8\u5236\u7bb1\u7ebf\u56fe\u3001\u5c0f\u63d0\u7434\u56fe\u7b49\u3002\u4f8b\u5982\u7ed8\u5236\u4e00\u4e2a\u7bb1\u7ebf\u56fe\uff1a python import seaborn as sns data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] sns.boxplot(data) plt.show R\u8bed\u8a00 ggplot2 \u4ee5\u5176\u4f18\u96c5\u7684\u8bed\u6cd5\u800c\u95fb\u540d\uff0c\u53ef\u7528\u4e8e\u521b\u5efa\u9ad8\u5ea6\u5b9a\u5236\u5316\u7684\u53ef\u89c6\u5316\u3002\u4f8b\u5982\u521b\u5efa\u4e00\u4e2a\u67f1\u72b6\u56fe\uff1a library(ggplot2) data = data.frame(category = c(&#8216;A&#8217;,&#8217;B&#8217;,&#8217;C&#8217;), [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-37607","post","type-post","status-publish","format-standard","hentry","category-discussion"],"_links":{"self":[{"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/posts\/37607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/comments?post=37607"}],"version-history":[{"count":1,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/posts\/37607\/revisions"}],"predecessor-version":[{"id":37608,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/posts\/37607\/revisions\/37608"}],"wp:attachment":[{"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/media?parent=37607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/categories?post=37607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yunshan.net\/blog\/wp-json\/wp\/v2\/tags?post=37607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}