This illustrative video covers steps to set up a professional GitHub repository for your analytics or data science project, from creating a repo and managing collaborators to enabling branch protection and automating workflows with GitHub Actions.
Here, you will learn how to organize your project using the CRISP-DM framework and how to quickly scaffold a ready-to-use structure with Cookiecutter, which generates preconfigured folders for data, notebooks, scripts, and documentation, ensuring consistency and reproducibility.
Topics Covered
• GitHub repository setup and configuration
• Adding .gitignore, LICENSE, and collaborators
• Branch protection and GitHub Actions automation
• CRISP-DM project organization
• Cookiecutter templates for instant project scaffolding
Cookiecutter Data Science Project Template
1. Install cookiecutter
pip install cookiecutter
2. Generate the template: Navigate to your desired project directory and run:
cookiecutter https://github.com/drivendataorg/cookiecut... -c v1
3. Answer prompts: Cookiecutter will ask for details about your project (name, author, description, etc.) to customize the template.
4. Initialize Git (optional but recommended):
cd your_project_name
git init
git add .
git commit -m "Commit message about the templet setup."
Benefit
It enhances the organization, maintainability, and shareability of your projects, regardless of the specific tools or methodologies of the project.
References
Data Science PM - CRISP-DM: https://www.datascience-pm.com/crisp-dm-2/
Cookiecutter Data Science Template: https://cookiecutter-data-science.drivenda...
GitHub Actions Guide: https://docs.github.com/en/actions