Demo Guide - Lecture 3: NumPy Arrays and Data Science Tools

Demo 1: Assignment 02 Walkthrough

Part 1: Git Workflow Setup

  1. Set up the following branch structure:
  2. Develop features on separate branches
  3. Merge branches back to main
  4. Create comprehensive documentation

Deliverables:

1a. Repository Setup

# Create new repository (separate from assignment folder)
mkdir datasci-week02-integration
cd datasci-week02-integration
git init

# Create initial README
# (Students can follow README template from assignment)
git add README.md
git commit -m "Initial commit: Add project README"

# Verify first commit
git log --oneline

1b. Feature Branch for Project Scaffold

# Create branch for Part 2 - CLI automation script
git checkout -b feature/project-scaffold

Part 2: CLI Project Scaffold Script

Objective: Create a shell script that automates project setup.

Tasks:

  1. Create setup_project.sh from scratch with the following functionality: