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.

## Book Details | |

Publisher: | No Starch Press |

By: | Christian Mayer |

ISBN-13: | 9781718500501 |

ISBN-10: | 1718500505 |

Year: | 2020 |

Pages: | 216 |

Language: | English |

## Book Preview | |

Online | Python One-Liners |

## Free Download | |

Chapter 2 | Python One-Liners |

Cheat Sheet | Python One-Liners |

## Paper Book | |

Buy: | Python One-Liners |

Reproduction of site books is authorized only for informative purposes and strictly for personal, private use.

**Only Direct Download**

IT eBooks Group**© 2011-2021**

IT eBooks Group