python-novice-programming-gapminder

An introduction to Python for non-programmers using Gapminder data

https://github.com/carpentries-incubator/python-novice-programming-gapminder

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: plos.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.9%) to scientific vocabulary

Keywords

beta carpentries-incubator english lesson programming python
Last synced: 4 months ago · JSON representation ·

Repository

An introduction to Python for non-programmers using Gapminder data

Basic Info
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • Open Issues: 43
  • Releases: 0
Topics
beta carpentries-incubator english lesson programming python
Created about 4 years ago · Last pushed 7 months ago
Metadata Files
Readme Contributing License Code of conduct Citation Authors

README.md

Programming with Python

GitHub release Create a Slack Account with us Slack Status

An introduction to Python for non-programmers using inflammation data.

About the Lesson

This lesson teaches novice programmers to perform data analysis in Python using modular code (independent chunks of code that contain all the functionality required to execute a desired task). The emphasis, however, is on teaching language-agnostic principles of programming which will be useful across all programming languages such as automation with loops and encapsulation with functions, see Best Practices for Scientific Computing and Good enough practices in scientific computing to learn more.

The example used in this lesson analyses a set of 12 files with simulated inflammation data collected from a trial for a new treatment for arthritis. Learners are shown how it is better to automate analysis using functions instead of repeating analysis steps manually.

The rendered version of the lesson is available at: https://nclrse-training.github.io/python-novice/.

This lesson is also available in R and MATLAB.

Episodes

| # | Episode | Time | Question(s) | |--:|:---------|:----:|:------------| | 1 | Python Fundamentals | 30 | What basic data types can I work with in Python?
How can I create a new variable in Python?
Can I change the value associated with a variable after I create it? | | 2 | Analyzing Patient Data | 60 | How can I process tabular data files in Python? | | 3 | Visualizing Tabular Data | 50 | How can I visualize tabular data in Python?
How can I group several plots together? | | 4 | Storing Multiple Values in Lists | 30 | How can I store many values together? | | 5 | Repeating Actions with Loops | 30 | How can I do the same operations on many different values? | | 6 | Analyzing Data from Multiple Files | 20 | How can I do the same operations on many different files? | | 7 | Making Choices | 30 | How can my programs do different things based on data values? | | 8 | Creating Functions | 30 | How can I define new functions?
What’s the difference between defining and calling a function?
What happens when I call a function? | | 9 | Errors and Exceptions | 30 | How does Python report errors?
How can I handle errors in Python programs? | |10 | Defensive Programming | 30 | How can I make my programs more reliable? | |11 | Debugging | 30 | How can I debug my program? | |12 | Command-Line Programs | 30 | How can I write Python programs that will work like Unix command-line tools? |

Contributing

Travis Build Status

We welcome all contributions to improve the lesson! Maintainers will do their best to help you if you have any questions, concerns, or experience any difficulties along the way.

We'd like to ask you to familiarize yourself with our Contribution Guide and have a look at the more detailed guidelines on proper formatting, ways to render the lesson locally, and even how to write new episodes!

Maintainers

Lesson maintainers are Trevor Bekolay, Maxim Belkin, Anne Fouilloux, Lauren Ko, Valentina Staneva, and creator of Software Carpentry: Greg Wilson.

Authors

A list of contributors to the lesson can be found in AUTHORS.

License

Instructional material from this lesson is made available under the Creative Commons Attribution (CC BY 4.0) license. Except where otherwise noted, example programs and software included as part of this lesson are made available under the MIT license. For more information, see LICENSE.md.

Citation

To cite this lesson, please consult with CITATION.

About Software Carpentry

Software Carpentry is a volunteer project that teaches basic computing skills to researchers since 1998. More information about Software Carpentry can be found here.

About The Carpentries

The Carpentries is a fiscally sponsored project of Community Initiatives, a registered 501(c)3 non-profit organisation based in California, USA. We are a global community teaching foundational computational and data science skills to researchers in academia, industry and government. More information can be found here.

Owner

  • Name: carpentries-incubator
  • Login: carpentries-incubator
  • Kind: organization

Citation (CITATION)

Please cite as:

Azalee Bostroem, Trevor Bekolay, and Valentina Staneva (eds):
"Software Carpentry: Programming with Python."  Version 2016.06, June
2016, https://github.com/swcarpentry/python-novice-inflammation,
10.5281/zenodo.57492.

GitHub Events

Total
  • Issues event: 12
  • Delete event: 6
  • Issue comment event: 5
  • Push event: 10
  • Pull request event: 16
  • Fork event: 1
  • Create event: 7
Last Year
  • Issues event: 12
  • Delete event: 6
  • Issue comment event: 5
  • Push event: 10
  • Pull request event: 16
  • Fork event: 1
  • Create event: 7

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 50
  • Total pull requests: 12
  • Average time to close issues: 3 months
  • Average time to close pull requests: 10 days
  • Total issue authors: 8
  • Total pull request authors: 4
  • Average comments per issue: 0.44
  • Average comments per pull request: 0.0
  • Merged pull requests: 12
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 16
  • Pull requests: 9
  • Average time to close issues: N/A
  • Average time to close pull requests: 39 minutes
  • Issue authors: 2
  • Pull request authors: 2
  • Average comments per issue: 0.31
  • Average comments per pull request: 0.0
  • Merged pull requests: 9
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • KateCourt (26)
  • carolbooth2 (15)
  • mwhamgenomics (4)
  • tiagosousagarcia (1)
  • RoxFrancis (1)
  • jsteyn (1)
  • drhowey (1)
  • tobyhodges (1)
Pull Request Authors
  • jsteyn (15)
  • steltenpower (2)
  • sjmf (1)
  • zkamvar (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

requirements.txt pypi
  • PyYAML *
  • update-copyright *
Gemfile rubygems
  • github-pages >= 0 development
  • webrick >= 1.6.1
.github/workflows/template.yml actions
  • actions/cache v2 composite
  • actions/checkout master composite
  • actions/setup-python v2 composite
  • r-lib/actions/setup-r master composite
  • ruby/setup-ruby v1 composite
.github/workflows/website.yml actions
  • actions/cache v2 composite
  • actions/checkout master composite
  • actions/setup-python v2 composite
  • r-lib/actions/setup-r master composite
  • ruby/setup-ruby v1 composite