Python NumPy
Programming for Data Science Bootcamp
Welcome
Getting Started
Setting Up Your Programming Environment
Hello, World!
Python Introduction
Data and Code
Python Object Types
Data Types, Operators, and Expressions
Numbers
Booleans
Strings
Data Structures
Aside On Immutables
Exercises
Python Control Structures
Values, Variables, Expressions, and Statements
Control Structures
Iterables and Iterators
Comprehensions
Nested Comprehensions
Exercises
Python Functions
Introduction to Functions
Importing Functions
Lambda Functions
Recursion
Scope
Function Groups
Exercises
Python NumPy
Python Timing
Basic File I/O
Introducing NumPy
NumPy Indexing
NumPy Operations
NumPy Functions
Exercises
Python Pandas
Introducting Pandas
Exploring Pandas
Deeper Into Pandas
Narrow vs Wide Tables
Method Chaining
Pandas and SQL
Exercises
R Introduction
Introducing R
R Data Types and Operators
R Data Structures
R Data Frames
R Control Structures
R Functions
Exercises
R Dplyr
The Tidyverse and Tibbles
Dplyr
Exercises
R Visualization
GGPlot and the Grammar of Graphics
Getting Started with GGPlot2
R Markdown
Plotly and GGPlotly
GGPlot in Python with Plotnine
Exercises
Table of contents
Topics
Suggested Readings
Videos
Timing
NumPy Design
NumPy Indexing
NumPy Operations
NumPy Functions
Edit this page
Python NumPy
Topics
Numpy and its role in the Python data science ecosystem
Numpy Arrays
Array indexing, slicing, and broadcasting
Aggregation
Timing the difference between NumPy and plain old Python
Suggested Readings
McKinney 2023, Chapter 4: Numpy Basics
McKinney 2023, Appendix A. Advanced NumPy: A.3 Broadcasting
NumPy for Beginners (Official)
Videos
Timing
NumPy Design
NumPy Indexing
NumPy Operations
NumPy Functions
Exercises
Python Timing