Book description
To tap into the power of Python's open data science stack—including NumPy, Pandas, Matplotlib, Scikit-learn, and other tools—you first need to understand the syntax, semantics, and patterns of the Python language. This report provides a brief yet comprehensive introduction to Python for engineers, researchers, and data scientists who are already familiar with another programming language.
Author Jake VanderPlas, an interdisciplinary research director at the University of Washington, explains Python’s essential syntax and semantics, built-in data types and structures, function definitions, control flow statements, and more, using Python 3 syntax.
You’ll explore:
- Python syntax basics and running Python code
- Basic semantics of Python variables, objects, and operators
- Built-in simple types and data structures
- Control flow statements for executing code blocks conditionally
- Methods for creating and using reusable functions
- Iterators, list comprehensions, and generators
- String manipulation and regular expressions
- Python’s standard library and third-party modules
- Python’s core data science tools
- Recommended resources to help you learn more
Publisher resources
Table of contents
-
A Whirlwind Tour of Python
- Introduction
- Using Code Examples
- How to Run Python Code
- A Quick Tour of Python Language Syntax
- Basic Python Semantics: Variables and Objects
- Basic Python Semantics: Operators
- Built-In Types: Simple Values
- Built-In Data Structures
- Control Flow
- Defining and Using Functions
- Errors and Exceptions
- Iterators
- List Comprehensions
- Generators
- Modules and Packages
- String Manipulation and Regular Expressions
- A Preview of Data Science Tools
- Resources for Further Learning
Product information
- Title: A Whirlwind Tour of Python
- Author(s):
- Release date: August 2016
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491964644
You might also like
book
Python Projects for Beginners: A Ten-Week Bootcamp Approach to Python Programming
Immerse yourself in learning Python and introductory data analytics with this book’s project-based approach. Through the …
book
The Quick Python Book, Third Edition
Summary This third revision of Manning's popular The Quick Python Book offers a clear, crisp updated …
book
Classic Computer Science Problems in Python
Classic Computer Science Problems in Python sharpens your CS problem-solving skills with time-tested scenarios, exercises, and …
book
Python One-Liners
Python One-Liners will teach you how to read and write “one-liners”: concise statements of useful functionality …