{"id":7250,"date":"2024-09-21T17:51:23","date_gmt":"2024-09-21T09:51:23","guid":{"rendered":"https:\/\/vip.fxxkpython.com\/?p=7250"},"modified":"2024-09-21T17:51:23","modified_gmt":"2024-09-21T09:51:23","slug":"%e4%b8%80%e5%8f%a5%e8%af%9d%ef%bc%8c%e4%be%bf%e5%8f%af%e8%a7%86%e5%8c%96","status":"publish","type":"post","link":"https:\/\/vip.fxxkpython.com\/?p=7250","title":{"rendered":"\u4e00\u53e5\u8bdd\uff0c\u4fbf\u53ef\u89c6\u5316"},"content":{"rendered":"\n<p>\u4e4b\u524d\u6211\u5206\u4eab\u8fc7<a target=\"_blank\" href=\"https:\/\/mp.weixin.qq.com\/s?__biz=Mzg2NzYyNjg2Nw==&amp;mid=2247496279&amp;idx=1&amp;sn=a315b54dd7b0167b9f7584844d8557ed&amp;chksm=ceba084bf9cd815dd1dbe24f6e297b7a0646e8b56a8a8b612e237be1c00b0b64d79c3fd06574&amp;token=735289127&amp;lang=zh_CN&amp;scene=21#wechat_redirect\" rel=\"noreferrer noopener\">\u76f4\u63a5\u5728\u7ec8\u7aef\u4f7f\u7528\u300cai + \u4eba\u8bdd\u300d\u6765\u64cd\u4f5c\u547d\u4ee4\u884c<\/a>\uff0c\u8fd9\u5176\u4e2d\u4ecb\u7ecd\u4e86\u547d\u4ee4\u7ed3\u5408 ChatGPT\uff0c\u4f7f\u5f97\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u81ea\u7136\u8bed\u8a00\u6765\u64cd\u4f5c\u547d\u4ee4\u3002<\/p>\n\n\n\n<p>\u6bd4\u5982\u4e4b\u524d\u4f60\u60f3\u8981\u5728 CentOS \u7cfb\u7edf\u7684\u670d\u52a1\u5668\u91cc\u9762\u4f7f\u7528\u547d\u4ee4\u5f00\u542f\u9632\u706b\u5899 8090 \u7aef\u53e3\uff0c\u4f60\u9700\u8981\u77e5\u9053 firewall \u547d\u4ee4\uff0c\u4ee5\u53ca\u5b83\u7684\u4f7f\u7528\u65b9\u5f0f\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\">\n<p>sudo firewall-cmd &#8211;zone=public &#8211;add-port=8090\/tcp &#8211;permanent<\/p>\n<\/blockquote>\n\n\n\n<p>\u800c\u73b0\u5728\u4f60\u53ea\u9700\u8981\u76f4\u63a5\u5728\u547d\u4ee4\u7a97\u53e3\u50cf\u4ee5\u4e0b\u8fd9\u4e48\u8bf4\uff0c\u5c31\u53ef\u4ee5\u5feb\u901f\u5f97\u5230\u547d\u4ee4\u7684\u4f7f\u7528\u65b9\u6cd5\uff1a<\/p>\n\n\n\n<blockquote class=\"wp-block-quote\">\n<p>ai \u9632\u706b\u5899\u5f00\u653e 8090 \u7aef\u53e3<\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/picx.zhimg.com\/80\/v2-95ac5e4f3295fdba4edd5cdecedc01af_720w.webp\" alt=\"\"\/><figcaption class=\"wp-element-caption\">\u6dfb\u52a0\u56fe\u7247\u6ce8\u91ca\uff0c\u4e0d\u8d85\u8fc7 140 \u5b57\uff08\u53ef\u9009\uff09<\/figcaption><\/figure>\n\n\n\n<p>\u6211\u89c9\u5f97\u8fd9\u662f ChatGPT \u7684\u4e00\u4e2a\u5f88\u597d\u7684\u5e94\u7528\u65b9\u5f0f\uff0c\u50cf\u8fd9\u79cd\u5728\u7279\u5b9a\u7684\u9886\u57df\u4f7f\u7528\uff0c\u5b83\u786e\u5b9e\u5bf9\u6211\u4eec\u5f88\u6709\u5e2e\u52a9\uff0c\u63d0\u9ad8\u4e86\u6211\u4eec\u7684\u5de5\u4f5c\u6548\u7387\u3002<\/p>\n\n\n\n<p>\u8fd9\u7ed9\u6211\u5e26\u6765\u7684\u542f\u53d1\u662f\uff0c\u6211\u4eec\u53ef\u4ee5\u591a\u53bb\u4e86\u89e3\u548c\u4f7f\u7528\u90a3\u4e9b\u4e0e ChatGPT \u7ed3\u5408\u7684\u5de5\u5177\uff0c\u4ece\u800c\u5e26\u6765\u4e00\u4e9b\u501f\u9274\u548c\u601d\u8003\uff1a\u6211\u4eec\u5f53\u4e0b\u6b63\u5728\u505a\u7684\u4e8b\u60c5\uff0c\u662f\u4e0d\u662f\u4e5f\u53ef\u4ee5\u7ed3\u5408 ChatGPT \u6765\u4f7f\u7528\u3002<\/p>\n\n\n\n<p>\u53cd\u6b63\u6211\u81ea\u5df1\u53bb\u4f53\u4f1a\u5176\u4e2d\u7684\u5999\u5904\uff0c\u6240\u5e26\u6765\u7684\u611f\u53d7\u5b8c\u5168\u4e0d\u4e00\u6837<\/p>\n\n\n\n<p>\u5c31\u50cf\u524d\u51e0\u5929\uff0c\u6211\u53c8\u770b\u5230\u4e00\u4e2a ChatGPT \u7684\u4e00\u4e2a\u5f88\u597d\u7684\u5e94\u7528\u65b9\u5f0f\u2014\u2014pandasAI\u3002<\/p>\n\n\n\n<p>\u6ca1\u9519\uff0c\u628a Python \u6570\u636e\u5206\u6790\u5e38\u7528\u5230\u7684 Pandas \u5e93\uff0c\u7ed3\u5408\u4e86 AI\uff0c\u4f7f\u5f97\u4f60\u53ef\u4ee5\u7528\u81ea\u7136\u8bed\u8a00\u76f4\u63a5\u8ba9\u5176\u5206\u6790\u6570\u636e\u53cd\u9988\u7ed3\u679c\uff0c\u5c31\u5f88\u5999\u3002<\/p>\n\n\n\n<p>\u6bd4\u5982\u6211\u901a\u8fc7 baostock \u83b7\u53d6\u4e86\u8305\u53f0\u8fd1\u4e9b\u5e74\u7684\u80a1\u7968\u6570\u636e\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/picx.zhimg.com\/80\/v2-19318c2e2259ea71a168816ff26c09cb_720w.webp\" alt=\"\"\/><figcaption class=\"wp-element-caption\">\u6dfb\u52a0\u56fe\u7247\u6ce8\u91ca\uff0c\u4e0d\u8d85\u8fc7 140 \u5b57\uff08\u53ef\u9009\uff09<\/figcaption><\/figure>\n\n\n\n<p>\u80a1\u7968\u6570\u636e\u7ed3\u679c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/picx.zhimg.com\/80\/v2-9215ddfcf6403efdf9e5d4f294104022_720w.webp\" alt=\"\"\/><figcaption class=\"wp-element-caption\">\u6dfb\u52a0\u56fe\u7247\u6ce8\u91ca\uff0c\u4e0d\u8d85\u8fc7 140 \u5b57\uff08\u53ef\u9009\uff09<\/figcaption><\/figure>\n\n\n\n<p>\u5176\u4e2d\u5b57\u6bb5\u8bf4\u660e\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/pic1.zhimg.com\/80\/v2-4105584f880f1c4c484c64bc7d89326e_720w.webp\" alt=\"\"\/><figcaption class=\"wp-element-caption\">\u6dfb\u52a0\u56fe\u7247\u6ce8\u91ca\uff0c\u4e0d\u8d85\u8fc7 140 \u5b57\uff08\u53ef\u9009\uff09<\/figcaption><\/figure>\n\n\n\n<p>\u90a3\u4e48\u6709\u4e86\u6570\u636e\u4e4b\u540e\uff0c\u6211\u4eec\u901a\u5e38\u4f1a\u4f7f\u7528\u8bf8\u5982 matplotlib \u6570\u636e\u53ef\u89c6\u5316\u7684\u5e93\u5bf9\u6570\u636e\u8fdb\u884c\u5206\u6790\uff0c\u800c\u73b0\u5728\u6709\u4e86 pandasAI\uff0c\u4f60\u53ef\u4ee5\u76f4\u63a5\u7528\u300c\u4eba\u8bdd\u300d\u6765\u5b9e\u73b0\u3002<\/p>\n\n\n\n<p>\u8bbe\u7f6e\u4f60\u7684 API_KEY\uff0c\u7136\u540e\u5b9e\u4f8b\u5316 pandasAI\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/picx.zhimg.com\/80\/v2-8dae11161de7d755abcdf0bf1cac4691_720w.webp\" alt=\"\"\/><figcaption class=\"wp-element-caption\">\u6dfb\u52a0\u56fe\u7247\u6ce8\u91ca\uff0c\u4e0d\u8d85\u8fc7 140 \u5b57\uff08\u53ef\u9009\uff09<\/figcaption><\/figure>\n\n\n\n<p>\u63a5\u7740\u4f60\u5c31\u53ef\u4ee5\u901a\u8fc7 prompt \u6765\u5f97\u5230\u4f60\u7684\u6570\u636e\u9700\u6c42\uff0c\u6bd4\u5982\u4f60\u60f3\u77e5\u9053\u6536\u76d8\u4ef7\u6700\u9ad8\u7684\u65f6\u95f4\u70b9\uff0c\u90a3\u4e48\u4f60\u53ef\u4ee5\u8fd9\u6837\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/picx.zhimg.com\/80\/v2-e9eaf69209409ffaa470e7905a78308f_720w.webp\" alt=\"\"\/><figcaption class=\"wp-element-caption\">\u6dfb\u52a0\u56fe\u7247\u6ce8\u91ca\uff0c\u4e0d\u8d85\u8fc7 140 \u5b57\uff08\u53ef\u9009\uff09<\/figcaption><\/figure>\n\n\n\n<p>\u4f60\u60f3\u753b\u4e00\u4e2a\u80a1\u4ef7\u7684\u8d8b\u52bf\u56fe\uff0c\u4f60\u53ef\u4ee5\u76f4\u63a5\u8fd9\u6837\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/picx.zhimg.com\/80\/v2-757cdf0ef8fbbd591223625ddfbc47fb_720w.webp\" alt=\"\"\/><figcaption class=\"wp-element-caption\">\u6dfb\u52a0\u56fe\u7247\u6ce8\u91ca\uff0c\u4e0d\u8d85\u8fc7 140 \u5b57\uff08\u53ef\u9009\uff09<\/figcaption><\/figure>\n\n\n\n<p>\u662f\u4e0d\u662f\u5f88\u65b9\u4fbf\uff1f\u611f\u89c9\u6709\u7684\u6587\u6863\u770b\u90fd\u4e0d\u7528\u770b\u5c31\u53ef\u4ee5\u76f4\u63a5\u64cd\u4f5c\u4e86\u3002<\/p>\n\n\n\n<p>\u4e3e\u8fd9\u4e9b\u4f8b\u5b50\uff0c\u6211\u60f3\u8bf4\u7684\u662f\uff0c\u6211\u4eec\u6b63\u5904\u5728\u4e00\u4e2a\u4eba\u5de5\u667a\u80fd\u98de\u901f\u53d1\u5c55\u7684\u65f6\u4ee3\uff0cAI \u5e26\u7ed9\u6211\u4eec\u7684\u4e0d\u4ec5\u4ec5\u662f\u65b9\u4fbf\uff0c\u66f4\u662f\u53ef\u80fd\u6027\u548c\u65e0\u9650\u7684\u521b\u9020\u529b\u3002<\/p>\n\n\n\n<p>\u5c31\u50cf\u6211\u5728\u6587\u7ae0\u4e2d\u63d0\u5230\u7684\uff0cChatGPT \u4e0d\u4ec5\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u4ee5\u81ea\u7136\u8bed\u8a00\u6765\u64cd\u4f5c\u547d\u4ee4\u884c\uff0c\u4e5f\u53ef\u4ee5\u7ed3\u5408 Python \u6570\u636e\u5206\u6790\u5e93 Pandas\uff0c\u867d\u7136\u8fd9\u53ea\u662f\u88ab\u4f5c\u7528\u5728\u4e86\u5f88\u5c0f\u7684\u9886\u57df\uff0c\u4f46\u786e\u5b9e\u80fd\u591f\u8ba9\u6211\u4eec\u4f53\u4f1a\u5230\u7528\u81ea\u7136\u8bed\u8a00\u76f4\u63a5\u8ba9\u5176\u5206\u6790\u548c\u53cd\u9988\u7ed3\u679c\uff0c\u5b83\u4f7f\u5f97\u6211\u4eec\u5728\u5de5\u4f5c\u548c\u751f\u6d3b\u53d8\u5f97\u66f4\u52a0\u8f7b\u677e\uff0c\u6548\u7387\u5f97\u5230\u4e86\u6781\u5927\u7684\u63d0\u5347\u3002<\/p>\n\n\n\n<p>\u63a5\u4e0b\u6765\uff0c\u6211\u76f8\u4fe1\u6211\u4eec\u4f1a\u770b\u5230\u66f4\u591a\u7684 AI \u5e94\u7528\uff0c\u5b83\u4eec\u4f1a\u5728\u6211\u4eec\u751f\u6d3b\u7684\u6bcf\u4e2a\u89d2\u843d\uff0c\u6539\u53d8\u6211\u4eec\u7684\u751f\u6d3b\u65b9\u5f0f\uff0c\u751a\u81f3\u6539\u53d8\u6211\u4eec\u7684\u601d\u7ef4\u65b9\u5f0f\u3002<\/p>\n\n\n\n<p>\u8fd9\u4e0d\u53ea\u662f\u5173\u4e8e\u5982\u4f55\u66f4\u6709\u6548\u7684\u6267\u884c\u4efb\u52a1\uff0c\u66f4\u662f\u5173\u4e8e\u5982\u4f55\u66f4\u6df1\u5165\u5730\u7406\u89e3\u6211\u4eec\u81ea\u5df1\u548c\u4e16\u754c\uff0c\u5982\u4f55\u66f4\u6709\u521b\u65b0\u5730\u601d\u8003\u95ee\u9898\uff0c\u5982\u4f55\u66f4\u6709\u6548\u5730\u6c9f\u901a\u548c\u7406\u89e3\u4ed6\u4eba\u3002<\/p>\n\n\n\n<p>\u8bed\u8a00\u662f\u4eba\u7c7b\u601d\u7ef4\u7684\u8f7d\u4f53\uff0c\u4e5f\u662f\u6211\u4eec\u4e0e\u4e16\u754c\u6c9f\u901a\u7684\u6865\u6881\u3002\u5c31\u50cf\u4f60\u73b0\u5728\u770b\u6211\u5199\u7684\u6587\u7ae0\uff0c\u672c\u8d28\u4e0a\u4e5f\u662f\u4e00\u79cd\u6c9f\u901a\u3002\u800c\u5f53 AI \u4e0e\u8bed\u8a00\u76f8\u7ed3\u5408\uff0c\u4f1a\u4ea7\u751f\u4e00\u79cd\u5168\u65b0\u7684\u4ea4\u6d41\u65b9\u5f0f\uff0c\u4f7f\u5f97\u4eba\u4e0e\u4eba\u3001\u4eba\u4e0e\u673a\u5668\u4e4b\u95f4\u7684\u4ea4\u6d41\u53d8\u5f97\u66f4\u52a0\u6d41\u7545\uff0c\u66f4\u52a0\u6df1\u5165\uff0c\u8fd9\u4e00\u70b9\u6beb\u65e0\u7591\u95ee\u3002<\/p>\n\n\n\n<p>\u90a3\u4e2a\u65f6\u5019\uff0c\u6211\u4eec\u662f\u5426\u8fd8\u4f1a\u8bf4\u300cPHP \u662f\u4e16\u754c\u4e0a\u6700\u597d\u7684\u8bed\u8a00\u300d\u5417\uff1f<\/p>\n\n\n\n<p>\u63a8\u8350\u9605\u8bfb\uff1a<\/p>\n\n\n\n<p><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg2NzYyNjg2Nw==&amp;mid=2247496311&amp;idx=1&amp;sn=7e56a883d7ee1c26af0f30df090fc332&amp;chksm=ceba086bf9cd817d464a2e81e4c72534020dafb3e23071021f35a61d3910db4a3e9ca50cd65f&amp;scene=21#wechat_redirect\" rel=\"noreferrer noopener\">ChatGPT \u7fa4\uff0c\u9884\u7ea6\u4e2d&#8230;<\/a><\/p>\n\n\n\n<p><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=Mzg2NzYyNjg2Nw==&amp;mid=2247490010&amp;idx=1&amp;sn=ae6843b25a5e112eac3df0c4aaeced49&amp;chksm=ceb9e3c6f9ce6ad04fc8f05b10d0b5a2b31944c20c77ea794bfc1d07d190f0d73885af2182eb&amp;scene=21#wechat_redirect\" rel=\"noreferrer noopener\">\u8ddf\u5c0f\u5e05b\u4e00\u8d77\u5b66\u4e60\u7684\u6837\u5b50\uff0c\u771f\u7684\u5f88\u5e05!<\/a><\/p>\n\n\n\n<blockquote class=\"wp-block-quote\">\n<p><\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/picx.zhimg.com\/80\/v2-20b0322b24366da410b4b68e53152941_720w.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">\u6dfb\u52a0\u56fe\u7247\u6ce8\u91ca\uff0c\u4e0d\u8d85\u8fc7 140 \u5b57\uff08\u53ef\u9009\uff09<\/figcaption><\/figure>\n\n\n\n<p><strong>\u5e05\u5f6c\u8001\u4ed9<\/strong>\u8fdb\u5165\u53d1\u9001\u300c\u5e05\u4e66\u300d\u83b7\u53d6\u6211\u5199\u7684\u4e00\u672c\u5173\u4e8e Python \u5f88\u591a\u5e72\u8d27\u7684\u7535\u5b50\u4e66PDF\u3002\u6d4f\u89c8\u5668\u641c\u7d22\u300cfxxkpython\u300d\u8ba9\u6211\u4eec\u4e00\u8d77\u901a\u5f80 Python \u9ad8\u624b\u4e4b\u8def\u3002\u5c0f\u5e05b\uff1a\u8ba9 Python \u6280\u672f\u670d\u52a1\u4e8e\u4e2a\u4f53\uff01 390\u7bc7\u539f\u521b\u5185\u5bb9 \u516c\u4f17\u53f7<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e4b\u524d\u6211\u5206\u4eab\u8fc7\u76f4\u63a5\u5728\u7ec8\u7aef\u4f7f\u7528\u300cai + \u4eba\u8bdd\u300d\u6765\u64cd\u4f5c\u547d\u4ee4\u884c\uff0c\u8fd9\u5176\u4e2d\u4ecb\u7ecd\u4e86\u547d\u4ee4\u7ed3\u5408 ChatGPT\uff0c\u4f7f\u5f97\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u81ea\u7136\u8bed\u8a00\u6765\u64cd\u4f5c\u547d\u4ee4\u3002 \u6bd4\u5982\u4e4b\u524d\u4f60\u60f3\u8981\u5728 CentOS \u7cfb\u7edf\u7684\u670d\u52a1\u5668\u91cc\u9762\u4f7f\u7528\u547d\u4ee4\u5f00\u542f\u9632\u706b\u5899 8090 \u7aef\u53e3\uff0c\u4f60\u9700\u8981\u77e5\u9053 firewall \u547d&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[303],"tags":[],"_links":{"self":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/7250"}],"collection":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7250"}],"version-history":[{"count":1,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/7250\/revisions"}],"predecessor-version":[{"id":7251,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=\/wp\/v2\/posts\/7250\/revisions\/7251"}],"wp:attachment":[{"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vip.fxxkpython.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}