Python One-Liners
Douban
Write Concise, Eloquent Python Like a Professional
Christian Mayer
Sinossi
Python One-Liners will show readers how to perform useful tasks with one line of Python code. Following a brief Python refresher, the book covers essential advanced topics like slicing, list comprehension, broadcasting, lambda functions, algorithms, regular expressions, neural networks, logistic regression and more. Each of the 50 book sections introduces a problem to solve, walks the reader through the skills necessary to solve that problem, then provides a concise one-liner Python solution with a detailed explanation.
contents
Introduction
Chapter 1: Python Refresher
Chapter 2: Python Tricks
Chapter 3: Data Science
Chapter 4: Machine Learning
Chapter 5: Regular Expressions
Chapter 6: Algorithms
Afterword