Getting Started w/ Python: Difference between revisions

Line 18: Line 18:
## If prompted, Trust the folder
## If prompted, Trust the folder
# Download pySara from Teams > FOQA > Files > Python > pysara.zip and extract to your new working directory
# Download pySara from Teams > FOQA > Files > Python > pysara.zip and extract to your new working directory
# From the pysara folder extracted to your working directory, double click on Getting Started.ipynb
# From the pysara folder extracted to your working directory, double click on Getting Started.ipynb. It should open in VSCode
# To install libraries, from the Terminal menu > New Terminal
# To install libraries, from the Terminal menu > New Terminal
#* pip install pandas seaborn numpy requests plotly
#* pip install pandas seaborn numpy requests plotly

Revision as of 23:27, 12 January 2023


Installation

  1. Install Python for Windows
    1. Add Python to Environment Variables (Checked)
  2. Install VSCode for Windows
    1. From Extensions, install the following:
      1. Python
      2. Jupyter

Setup

  1. Create a Working Directory (Documents > FOQA)
  2. Open Working Directory from VSCode
    1. File > Open Folder > Select Folder
    2. If prompted, Trust the folder
  3. Download pySara from Teams > FOQA > Files > Python > pysara.zip and extract to your new working directory
  4. From the pysara folder extracted to your working directory, double click on Getting Started.ipynb. It should open in VSCode
  5. To install libraries, from the Terminal menu > New Terminal
    • pip install pandas seaborn numpy requests plotly

Jupyter Introduction

Python Introduction

Pandas and Data Manipulation