{"id":84,"date":"2018-01-28T14:26:23","date_gmt":"2018-01-28T14:26:23","guid":{"rendered":"http:\/\/thegreenbrain.com.au\/blog\/?p=84"},"modified":"2018-08-23T01:25:16","modified_gmt":"2018-08-23T01:25:16","slug":"install-pandas-for-data-analysis-windows","status":"publish","type":"post","link":"https:\/\/thegreenbrain.com.au\/blog\/install-pandas-for-data-analysis-windows\/","title":{"rendered":"Install Pandas for data analysis (Windows)"},"content":{"rendered":"<p>1) First set up Python (Windows 10)<\/p>\n<ul>\n<li>Install <a href=\"https:\/\/cygwin.com\/install.html\">Cygwin<\/a> to run Linux terminal on window. I personally prefer to use Linux\/Unix Command-line interface.<\/li>\n<li>Download and install <a href=\"https:\/\/www.python.org\/downloads\/windows\/\">latest Python<\/a><\/li>\n<li>Add the Python installation path to Windows&#8217; <code>PATH<\/code> <code>ENVIRONMENT VARIABLE<\/code><\/li>\n<li>Run <code class=\"docutils literal\"><span class=\"pre\">export PATH=\"$PATH:\/cygdrive\/c\/Python27\"<\/span><\/code>\u00a0 or\n<ul>\n<li>Open the Control Panel<\/li>\n<li>In the Control Panel, open System and Security and then System; click on Advanced system settings. Then click the Environment Variables button.<\/li>\n<li>In the User Variables section, create a new PATH variable by clicking New and add <code class=\"docutils literal\"><span class=\"pre\">C:\\Python27<\/span><\/code><\/li>\n<\/ul>\n<\/li>\n<li>To verify the Python is installed successfully, run <code class=\"docutils literal\"><span class=\"pre\">python<\/span> <span class=\"pre\">--version<\/span><\/code><\/li>\n<li>Download <a href=\"https:\/\/bootstrap.pypa.io\/get-pip.py\">get-pip.py<\/a><\/li>\n<li>In the Terminal, <code class=\"docutils literal\"><span class=\"pre\">cd LocationOfTheGetPipFile<\/span><\/code> and run <code class=\"docutils literal\"><span class=\"pre\">python<\/span> <span class=\"pre\">get-pip.py<\/span><\/code><\/li>\n<\/ul>\n<p>2) To install Pandas, run <code class=\"docutils literal\"><span class=\"pre\">python -m pip install pandas<\/span><\/code><\/p>\n<p>3) Setting up Jupyter Notebook<\/p>\n<ul>\n<li>Jupyter Notebook in very handy when it comes to writing and running Python.<\/li>\n<li>Install Jupyter by running <code class=\"docutils literal\"><span class=\"pre\">pip install jupyter<\/span><\/code><\/li>\n<li>Start the notbook session by running <code class=\"docutils literal\"><span class=\"pre\">jupyter notebook<\/span><\/code><\/li>\n<\/ul>\n<p>4)Start a new Jupyter session by clicking New -&gt; Python 3<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1) First set up Python (Windows 10) Install Cygwin to run Linux terminal on window. I personally prefer to use Linux\/Unix Command-line interface. Download and install latest Python Add the Python installation path to Windows&#8217; PATH ENVIRONMENT VARIABLE Run export PATH=&#8221;$PATH:\/cygdrive\/c\/Python27&#8243;\u00a0 or Open the Control Panel In the Control Panel, open System and Security and&hellip;<\/p>\n","protected":false},"author":1,"featured_media":85,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-84","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-analysis"],"_links":{"self":[{"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/posts\/84","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/comments?post=84"}],"version-history":[{"count":15,"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/posts\/84\/revisions"}],"predecessor-version":[{"id":144,"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/posts\/84\/revisions\/144"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/media\/85"}],"wp:attachment":[{"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/media?parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/categories?post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thegreenbrain.com.au\/blog\/wp-json\/wp\/v2\/tags?post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}