Students:
- Get their Project repository set up
- Practice working collaboratively in a repository
- Open the integrated terminal
- Select the shell (Git Bash or other)
- Python interpreter selection
Project team repository setup
- Confirm that you have write access to your team's project repository.
- Clone your project repository.
- Open your local repository folder in VSCode.
- Create a README that contains your Proposal (at a minimum).
- Choose a license for your repository.
Adding a .gitignore
- In general, we don't want Git to commit every single file in our local repository. Examples:
- .DS_Store files in macOS
- Thumbs.db files in Windows
- Python environment files .env and .venv (more on this below)
- We can tell Git which files and folders to ignore using a
.gitignorefile - Set one up for Python and Mac or Windows
- Save a
.gitignorefile in your repository's root directory
-
In the repository folder, create a virtual environment running the command
python -m venv .venv -
Add a
requirements.txtlisting the packages that you expect to use in your project. Write each package on its own line, for example:pandas jupyter==1.* plotly -
Install the dependencies:
pip install -r requirements.txt
- Check the list of changes in the Source Control panel of VSCode.
- Go to the
.gitignorefile, comment the.venv/line and save. - Check the list of changes again. Can you see the problem?
- Uncomment the
.venv/line and save. - Create a new branch, commit and push.
- By group, merge one of the pull requests.
- Make sure your repository is up-to-date:
checkoutto themainbranch andpull - Each student will create a new branch to add a new feature:
- Student A: add the notebook from Part 1
- Student B: add a
README.md.- Add project title and a short description
- Setup/usage instructions - these will change over time
- Student A or B: add an Open in Colab button
- Review each other's pull requests
Each Project team will:
- Re-review the Project goals and think back to the brainstorming.
- Think through what it will take to achieve that.
- What are the known unknowns?
- Create at least eight issues.
- Add objectives / acceptance criteria for each.
- These can change later.
Get data
- [ ] The get data function should collect all data from source XX
- [ ] The data should be stored as a DataFrame with columns X, Y, Z,...
- [ ] The get data function should print the number of rowsMake Visualization X
- [ ] Add a visualize button
- [ ] Produce an interactive graph showing X vs Y
- [ ] Add a filter by YY option
- [ ] Add a group by ZZ option