Limit search to available items
Book Cover
E-book
Author Bernard, Joey, author

Title Python recipes handbook : a problem-solution approach / Joey Bernard
Published [United States] : Apress, 2016
New York, NY : Distributed to the Book trade world wide by Springer
©2016

Copies

Description 1 online resource
Contents At a Glance; Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: Strings and Texts; 1-1. Concatenating Strings; Problem; Solution; How It Works; 1-2. Comparing Strings; Problem; Solution; How It Works; 1-3. Searching for a Substring; Problem; Solution; How It Works; 1-4. Getting a Substring; Problem; Solution; How It Works; 1-5. Replacing Text Matches; Problem; Solution; How It Works; 1-6. Reversing a String; Problem; Solution; How It Works; 1-7. Trimming White Space; Problem; Solution; How It Works; 1-8. Changing Case; Problem
SolutionHow It Works; 1-9. Converting to Numbers; Problem; Solution; How It Works; 1-10. Iterating Over the Characters of a String; Problem; Solution; How It Works; 1-11. Statistics on Texts; Problem; Solution; How It Works; 1-12. Encoding Unicode; Problem; Solution; How It Works; 1-13. Translation; Problem; Solution; How It Works; Chapter 2: Numbers, Dates, and Times; 2-1. Creating Integers; Problem; Solution; How It Works; 2-2. Creating Floating Points; Problem; Solution; How It Works; 2-3. Rounding Floats to Integers; Problem; Solution; How It Works; 2-4. Formatting Numbers; Problem
SolutionHow It Works; 2-5. Working with Arbitrary Precision Numbers; Problem; Solution; How It Works; 2-6. Generating Random Numbers; Problem; Solution; How It Works; 2-7. Getting the Current Date and Time; Problem; Solution; How It Works; 2-8. Calculating Date/Time Differences; Problem; Solution; How It Works; 2-9. Formatting Dates and Times; Problem; Solution; How It Works; 2-10. Reading Dates and Times from a String; Problem; Solution; How It Works; Chapter 3: Iterators and Generators; 3-1. Iterating Over the Contents of a List; Problem; Solution; How It Works
3-2. Extracting the Contents of an IteratorProblem; Solution; How It Works; 3-3. Filtering an Iterator; Problem; Solution; How It Works; 3-4. Iterating Over the Contents of a File; Problem; Solution; How It Works; 3-5. Iterating Over Data That Has no Iterator; Problem; Solution; How It Works; 3-6. Creating Standard Classes of Iterators; Problem; Solution; How It Works; Chapter 4: Files and I/O; 4-1. Copying Files; Problem; Solution; How It Works; 4-2. Moving Files; Problem; Solution; How It Works; 4-3. Reading and Writing Text Files; Problem; Solution; How It Works
4-4. Reading and Writing XML FilesProblem; Solution; How It Works; 4-5. Creating a Directory; Problem; Solution; How It Works; 4-6. Monitoring a Directory for Changes; Problem; Solution; How It Works; 4-7. Iterating Over the Files in a Directory; Problem; Solution; How It Works; 4-8. Saving Data Objects; Problem; Solution; How It Works; 4-9. Compressing Files; Problem; Solution; How It Works; Chapter 5: Python Data Analysis with pandas; 5-1. Working with 1D Data; Problem; Solution; How It Works; 5-2. Working with 2D Data; Problem; Solution; How It Works; 5-3. Working with 3D Data; Problem
Summary Learn the code to write algorithms, numerical computations, data analysis and much more using the Python language: look up and re-use the recipes for your own Python coding. This book is your handy code cookbook reference. Whether you're a maker, game developer, cloud computing programmer and more, this is a must-have reference for your library. Python Recipes Handbook gives you the most common and contemporary code snippets, using pandas (Python Data Analysis Library), NumPy, and other numerical Python packages. What You'll Learn Code with the pandas (Python Data Analysis Library) Work with the various Python algorithms useful for today's big data analytics and cloud applications Use NumPy and other numerical Python packages and code for doing various kinds of analysis Discover Python's new popular modules, packages, extensions and templates library Who This Book Is For This handy reference is for those with some experience with Python
Notes Includes index
Online resource; title from PDF title page (SpringerLink, viewed November 30, 2016)
Subject Python (Computer program language) -- Handbooks, manuals, etc
Computer science.
Programming & scripting languages: general.
COMPUTERS -- Programming Languages -- Python.
Python (Computer program language)
Genre/Form handbooks.
Handbooks and manuals
Handbooks and manuals.
Guides et manuels.
Form Electronic book
ISBN 9781484202418
1484202414
1484202422
9781484202425