Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork788
swcarpentry/python-novice-inflammation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An introduction to Python for non-programmers using inflammation data.
This lesson teaches novice programmers to write modular code to perform data analysisusing Python. The emphasis, however, is on teaching language-agnostic principles ofprogramming such as automation with loops and encapsulation with functions,seeBest Practices for Scientific Computing andGood enough practices in scientific computing to learn more.
The example used in this lesson analyses a set of 12 files with simulated inflammationdata collected from a trial for a new treatment for arthritis. Learners are shownhow it is better to automate analysis using functions instead of repeating analysissteps manually.
The rendered version of the lesson is available at:https://swcarpentry.github.io/python-novice-inflammation/.
This lesson is also available inR andMATLAB.
# | 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? |
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 ourContribution Guideand have a look at themore detailed guidelines on proper formatting,ways to render the lesson locally, and even how to write new episodes!
Lesson maintainers areToan Phung andIndraneel Chakraborty.
A list of contributors to the lesson can be found inAUTHORS.
Instructional material from this lesson is made available under theCreative Commons Attribution (CC BY 4.0) license. Except whereotherwise noted, example programs and software included as part of this lesson are made availableunder theMIT license. For more information, seeLICENSE.md.
To cite this lesson, please consult withCITATION.
Software Carpentry is a volunteer project that teaches basic computing skills to researchers since1998. More information about Software Carpentry can be foundhere.
The Carpentries is a registered 501(c)3 non-profit organisation based in Delaware, USA. We are a global communityteaching foundational computational and data science skills to researchers in academia,industry and government. More information can be foundhere.
About
Programming with Python
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.