Cargando…

Python recipes handbook : a problem-solution approach /

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 m...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Bernard, Joey (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [United States] : Apress, 2016.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)
Tabla de Contenidos:
  • 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.