Skip to content

Abdelhamid-Aboulnaga/pyqb-20230125

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analyze wild pigs data

Data source:

Koen, Erin, Newton, Erica, & Ellington, E. Hance. (2022). Data for: Evaluating potential sources of invasive wild pigs in Ontario [Data set]. https://doi.org/10.5061/dryad.5dv41ns6j

Setup

The exam.py is intended to be modified as a jupyter notebook. The notebook format .ipynb, however, is not very convenient for configuration management, testing, and giving feedback via the usual "pull-request" mechanism provided by Github. Thus, this repository uses jupytext to pair a pure Python file with a notebook with the same name. The notebook is automatically created when you open the Python file with jupyter, and the two files are kept in sync. Do not add exercise.ipynb to the files managed by git.

To start, you need the following actions:

python -m venv VIRTUAL_ENVIRONMENT
# remember to activate the virtual environment according to your operating system rules
pip install -r requirements.txt
jupyter notebook

Then you can open the exam.py as a notebook in the browser.

Test

You can execute tests locally on the python file:

mypy exam.py
python -m doctest exam.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%