Getting Started w/ Python: Difference between revisions
(→Setup) |
|||
Line 24: | Line 24: | ||
== Jupyter Introduction == | == Jupyter Introduction == | ||
# Cell Types | |||
# Shortcuts (hit escape to enter command mode) | |||
#* Shift Enter: Execute Cell | |||
#* A: Add Cell Above | |||
#* B: Add Cell Below | |||
#* DD: Delete Cell | |||
== Python Introduction == | == Python Introduction == |
Revision as of 23:30, 12 January 2023
Installation
- Install Python for Windows
- Add Python to Environment Variables (Checked)
- Install VSCode for Windows
- From Extensions, install the following:
- Python
- Jupyter
- From Extensions, install the following:
Setup
- Create a Working Directory (Documents > FOQA)
- Open Working Directory from VSCode
- File > Open Folder > Select Folder
- If prompted, Trust the folder
- 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. It should open in VSCode
- To install required libraries:
- Terminal menu > New Terminal
- pip install pandas seaborn numpy requests plotly
Jupyter Introduction
- Cell Types
- Shortcuts (hit escape to enter command mode)
- Shift Enter: Execute Cell
- A: Add Cell Above
- B: Add Cell Below
- DD: Delete Cell