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
Tiny Python Projects
The projects are tiny, but the rewards are big: each chapter in Tiny Python Projects challenges …
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
book
Data Science from Scratch, 2nd Edition
To really learn data science, you should not only master the tools—data science libraries, frameworks, modules, …