Data Science in Python#
Python is one of the main tools used by data scientists and neuroscientists alike. Python is a coding language that allows us to efficiently and flexibly work with data, run various statistical analyses, and visualize our results.
The pages in this section will introduce you to four primary packages that are useful for doing data science in Python: NumPy, Pandas, Matplotlib, and SciPy.
Chapter Learning Objectives
Review key Python skills you’ll need to use this textbook
Identify the main packages used for data science in Python
Learn and implement commonly used functions in NumPy, Pandas, and SciPy
Resources for Learning Python
These notebooks assume that you already have some foundational knowledge about how to use Python. If you are in the early stages of using Python, we recommend the following resources before digging in here:
Online free courses like Codeacademy and DataQuest are great to get started.
The official beginner’s guide, by the folks at Python.
Ellis, Donaghue, and Voytek, COGS 18: Introduction to Python
VanderPlas, Whirlwind Tour of Python
VanderPlas, Python Data Science Handbook
Software Carpentry, Plotting and Programming in Python
Additional resources for neural data processing & data science beyond NWB formats
Computational Neuroscience, open textbook written by students
Neuromatch Academy, online computational neuroscience course