Python One-Liners: Write Concise, Eloquent Python Like a Professional - Paperback

Python One-Liners: Write Concise, Eloquent Python Like a Professional - Paperback

$49.99
Skip to product information
Python One-Liners: Write Concise, Eloquent Python Like a Professional - Paperback

Python One-Liners: Write Concise, Eloquent Python Like a Professional - Paperback

$49.99

by Christian Mayer (Author)

Python programmers will improve their computer science skills with these useful one-liners.

Python One-Liners will teach you how to read and write "one-liners" concise statements of useful functionality packed into a single line of code. You'll learn how to systematically unpack and understand any line of Python code, and write eloquent, powerfully compressed Python like an expert.

The book's five chapters cover tips and tricks, regular expressions, machine learning, core data science topics, and useful algorithms. Detailed explanations of one-liners introduce key computer science concepts and boost your coding and analytical skills. You'll learn about advanced Python features such as list comprehension, slicing, lambda functions, regular expressions, map and reduce functions, and slice assignments. You'll also learn how to:

  • Leverage data structures to solve real-world problems, like using Boolean indexing to find cities with above-average pollution
  • Use NumPy basics such as array, shape, axis, type, broadcasting, advanced indexing, slicing, sorting, searching, aggregating, and statistics
  • Calculate basic statistics of multidimensional data arrays and the K-Means algorithms for unsupervised learning
  • Create more advanced regular expressions using grouping and named groups, negative lookaheads, escaped characters, whitespaces, character sets (and negative characters sets), and greedy/nongreedy operators
  • Understand a wide range of computer science topics, including anagrams, palindromes, supersets, permutations, factorials, prime numbers, Fibonacci numbers, obfuscation, searching, and algorithmic sorting

  • By the end of the book, you'll know how to write Python at its most refined, and create concise, beautiful pieces of "Python art" in merely a single line.

    Author Biography

    Christian Mayer has a PhD in computer science and is the founder of the popular Python site Finxter (https: //blog.finxter.com). Mayer is also the author of the Coffee Break Python series.

    Number of Pages: 216
    Dimensions: 0.5 x 9.2 x 7 IN
    Illustrated: Yes
    Publication Date: June 02, 2020

    Made with care

    Great value

    Elegant design

    Quality materials

    Details

    This product is crafted with quality materials to ensure durability and performance. Designed with your convenience in mind, it seamlessly fits into your everyday life.

    Shipping & Returns

    We strive to process and ship all orders in a timely manner, working diligently to ensure that your items are on their way to you as soon as possible.

    We are committed to ensuring a positive shopping experience for all our customers. If for any reason you wish to return an item, we invite you to reach out to our team for assistance, and we will evaluate every return request with care and consideration.

    Play video

    Shop The Full Collection

    !Ah y Le Lo Lay, Le Lo Ley! Musica Tipica de Puerto Rico - Paperback

    !Búscalo! (Look It Up!): A Quick Reference Guide to Spanish Grammar and Usage - Hardcover

    !Búscalo! (Look It Up!): A Quick Reference Guide to Spanish Grammar and Usage - Paperback

    !LETTER TO THE UNITED NATIONS! !REPARATIONS NOW! The Many Reasons Why: St. Mark's-in-the-Bowery Church, The Dutch Royal Family, The Kingdom of the Net - Paperback