{"id":370,"date":"2025-01-12T11:02:56","date_gmt":"2025-01-12T03:02:56","guid":{"rendered":"http:\/\/sqtcw.cn\/?p=370"},"modified":"2025-01-12T11:02:56","modified_gmt":"2025-01-12T03:02:56","slug":"%e5%a6%82%e4%bd%95%e5%9c%a8pycharm%e4%b8%ad%e5%ae%89%e8%a3%85pandas%e5%ba%93%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/www.cnitw.com\/?p=370","title":{"rendered":"\u5982\u4f55\u5728PyCharm\u4e2d\u5b89\u88c5pandas\u5e93\uff1f"},"content":{"rendered":"\n<p>\u5728 PyCharm \u4e2d\u5b89\u88c5 pandas \u5e93\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u5f0f\uff1a<\/p>\n\n\n\n<p><strong>\u4e00\u3001\u4f7f\u7528 PyCharm \u7684\u5185\u7f6e\u5305\u7ba1\u7406\u5de5\u5177<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u6253\u5f00 PyCharm\uff0c\u8fdb\u5165\u4f60\u7684\u9879\u76ee\u3002<\/li>\n\n\n\n<li>\u70b9\u51fb\u83dc\u5355\u680f\u4e2d\u7684\u201cFile\u201d\uff08\u6587\u4ef6\uff09->\u201cSettings\u201d\uff08\u8bbe\u7f6e\uff09\u3002<\/li>\n\n\n\n<li>\u5728\u5f39\u51fa\u7684\u8bbe\u7f6e\u7a97\u53e3\u4e2d\uff0c\u9009\u62e9\u201cProject: [\u4f60\u7684\u9879\u76ee\u540d\u79f0]\u201d->\u201cProject Interpreter\u201d\uff08\u9879\u76ee\u89e3\u91ca\u5668\uff09\u3002<\/li>\n\n\n\n<li>\u5728\u53f3\u4fa7\u7684\u7a97\u53e3\u4e2d\uff0c\u53ef\u4ee5\u770b\u5230\u5df2\u5b89\u88c5\u7684\u5305\u5217\u8868\u3002\u70b9\u51fb\u7a97\u53e3\u53f3\u4e0a\u89d2\u7684\u201c+\u201d\u53f7\u3002<\/li>\n\n\n\n<li>\u5728\u641c\u7d22\u6846\u4e2d\u8f93\u5165\u201cpandas\u201d\uff0c\u7136\u540e\u5728\u4e0b\u65b9\u7684\u641c\u7d22\u7ed3\u679c\u4e2d\u9009\u62e9\u201cpandas\u201d\u5e93\u5e76\u70b9\u51fb\u201cInstall Package\u201d\uff08\u5b89\u88c5\u5305\uff09\u6309\u94ae\u3002\u5b89\u88c5\u8fc7\u7a0b\u4f1a\u5728\u7a97\u53e3\u5e95\u90e8\u7684\u8fdb\u5ea6\u6761\u4e2d\u663e\u793a\u3002\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u5728\u5df2\u5b89\u88c5\u7684\u5305\u5217\u8868\u4e2d\u770b\u5230 pandas\u3002<\/li>\n<\/ol>\n\n\n\n<p><strong>\u4e8c\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u5b89\u88c5<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u6253\u5f00 PyCharm \u7684\u7ec8\u7aef\uff08\u901a\u5e38\u5728\u5e95\u90e8\u7684\u201cTerminal\u201d\u9009\u9879\u5361\u4e2d\uff09\u3002<\/li>\n\n\n\n<li>\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>pip install pandas<\/code><\/pre>\n\n\n\n<p>\u5982\u679c\u4f60\u7684\u73af\u5883\u4e2d\u4f7f\u7528\u4e86\u865a\u62df\u73af\u5883\u6216\u8005\u4f60\u6709\u591a\u4e2a Python \u7248\u672c\uff0c\u786e\u4fdd\u4f60\u6b63\u5728\u4f7f\u7528\u7684 Python \u89e3\u91ca\u5668\u5bf9\u5e94\u7684 pip \u88ab\u8c03\u7528\u3002\u5982\u679c\u4f60\u7684\u73af\u5883\u4f7f\u7528\u4e86 Anaconda \u6216 Miniconda\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>conda install pandas<\/code><\/pre>\n\n\n\n<p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u5728\u4f60\u7684 Python \u4ee3\u7801\u4e2d\u5bfc\u5165 pandas \u5e93\u6765\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 PyCharm \u4e2d\u5b89\u88c5 pandas \u5e93\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u5f0f\uff1a \u4e00\u3001\u4f7f\u7528 PyCharm \u7684\u5185\u7f6e\u5305\u7ba1\u7406\u5de5\u5177 \u4e8c\u3001\u4f7f\u7528\u547d\u4ee4\u884c\u5b89\u88c5 \u5982\u679c\u4f60\u7684\u73af\u5883\u4e2d\u4f7f\u7528\u4e86\u865a\u62df\u73af\u5883\u6216\u8005\u4f60\u6709\u591a\u4e2a Python \u7248\u672c\uff0c\u786e\u4fdd\u4f60\u6b63\u5728\u4f7f\u7528\u7684 Python \u89e3\u91ca\u5668\u5bf9\u5e94\u7684 pip \u88ab\u8c03\u7528\u3002\u5982\u679c\u4f60\u7684\u73af\u5883\u4f7f\u7528\u4e86 Anaconda \u6216 Miniconda\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a \u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f60\u53ef\u4ee5\u5728\u4f60\u7684 Python \u4ee3\u7801\u4e2d\u5bfc\u5165 pandas \u5e93\u6765\u9a8c\u8bc1\u5b89\u88c5\u662f\u5426\u6210\u529f\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-370","post","type-post","status-publish","format-standard","hentry","category-python"],"_links":{"self":[{"href":"http:\/\/www.cnitw.com\/index.php?rest_route=\/wp\/v2\/posts\/370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.cnitw.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.cnitw.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.cnitw.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.cnitw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=370"}],"version-history":[{"count":0,"href":"http:\/\/www.cnitw.com\/index.php?rest_route=\/wp\/v2\/posts\/370\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.cnitw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.cnitw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=370"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.cnitw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}