A Whirlwind Tour of Python

by Jake VanderPlas

DescriptionTable of ContentsDetailsHashtagsReport an issue

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.

This open book is licensed under a Open Publication License (OPL). You can download A Whirlwind Tour of Python ebook for free in PDF format (3.4 MB).

Table of Contents

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
 
 

Book Details

Subject
Computer Science
Publisher
O'Reilly Media
Published
2016
Pages
98
Edition
1
Language
English
ISBN13 Digital
9781491964651
ISBN10 Digital
1491964650
PDF Size
3.4 MB
License
Open Publication License

Related Books

Fundamentals of Python Programming
Guido van Rossum created the Python programming language in the late 1980s. In contrast to other popular languages such as C, C++ , Java, and C#, Python strives to provide a simple but powerful syntax. Python is used for software development at companies and organizations such as Google, Yahoo, Facebook, CERN, Industrial Light and Magic, and NAS...
A Byte of Python
Python is one of those rare languages which can claim to be both simple and powerful. You will find yourself pleasantly surprised to see how easy it is to concentrate on the solution to the problem rather than the syntax and structure of the language you are programming in. A Byte of Python is a free book on programming using the Python language...
Learn Programming
This book is aimed at readers who are interested in software development but have very little to no prior experience. The book focuses on teaching the core principles around software development. It uses several technologies to this goal (e.g. C, Python, JavaScript, HTML, etc.) but is not a book about the technologies themselves. The reader will le...
IPython Interactive Computing and Visualization Cookbook
Python is one of the leading open source platforms for data science and numerical computing. IPython and the associated Jupyter Notebook offer efficient interfaces to Python for data analysis and interactive visualization, and they constitute an ideal gateway to the platform. IPython Interactive Computing and Visualization Cookbook, 2nd Edition ...
Making Games with Python & Pygame
Making Games with Python & Pygame covers the Pygame library with the source code for 11 games. Making Games was written as a sequel for the same age range as Invent with Python. Once you have an understanding of the basics of Python programming, you can now expand your abilities using the Pygame library to make games with graphics, animation, a...
Python Machine Learning Projects
As machine learning is increasingly leveraged to find patterns, conduct analysis, and make decisions - sometimes without final input from humans who may be impacted by these findings - it is crucial to invest in bringing more stakeholders into the fold. This book of Python projects in machine learning tries to do just that: to equip the developers ...