Python is a good programming language for scientists to solve a wide variety of biological problems. Many scientists who come to Software Carpentry workshops use Python and want to learn more. If you are a novice and want to learn how to program in Python to help you in your work, check out our series of two-hour workshops. Instructors use live code, and you can follow along on your own computer. Gain a strong foundation in the fundamentals of Python along with best practices for scientific computing: breaking down analyses into modular units, task automation, and encapsulation.
The workshop uses Google Colab (https://colab.research.google.com) for this workshop. Colab allows us to write and execute Python code through the browser. A Google account is required to use Colab. If you do not have one, create a Google Account (https://support.google.com/accounts/answer/27441) before watching the workshop.
Topics and Recordings:
- Introduction to Python & Colab, Running & Quitting, Variables & Assignment, May 10, 2022 (https://nci.rev.vbrick.com/#/videos/a1b50394-4568-442e-abb3-9daa05e53197)
- Data Types and Type Conversion, Built-in Functions & Help Libraries, May 17, 2022
(https://nci.rev.vbrick.com/#/videos/01feb32a-00e0-4049-8d25-9f43ed36cd77) - Reading Tabular Data into DataFrames, Pandas DataFrames, Plotting 1, May 24, 2022
(https://nci.rev.vbrick.com/#/videos/a1b50394-4568-442e-abb3-9daa05e53197) - Plotting 2, Lists, For Loops, May 31, 2022
(https://nci.rev.vbrick.com/#/videos/fd4ce1d3-90fd-4ab6-bbdd-25468ac3b417) - Conditionals, Looping Over Data Sets, Writing Functions, June 7, 2022
(https://nci.rev.vbrick.com/#/videos/9191d4ad-290c-4bd9-a8eb-692dda667c29) - Variable Scope, Programming Style, Wrap-Up, June 14, 2022
(https://nci.rev.vbrick.com/#/videos/8d760eec-f705-4f71-8ded-2e6a7f43d174)
Workshop Materials:
- Files: https://github.com/CBIIT/python-carpentry-workshop. This page contains 2021 material as well.
- Software Carpentry Lesson: http://swcarpentry.github.io/python-novice-gapminder. Plotting and programming with Python.
May 10, 2022
May 17, 2022
May 24, 2022
May 31, 2022
June 07, 2022
June 14, 2022