Limit search to available items
Book Cover
E-book
Author Godse, Jay, author

Title Ruby data processing : using map, reduce, and select / Jay Godse
Published New York : Apress, [2018]
©2018

Copies

Description 1 online resource
Contents Intro; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Prerequisites; Chapter 1: Basic Ruby; The Command Line; Object Scope; String; Array; Special Methods; Hash; Block-passing Syntax; Reading from Files; Chapter 2: Function Overview and Simple Examples; Map; Reduce; Simple Reduce Examples; uniq; reverse; max; Select; Chapter 3: Complex Solutions; Debugging Blocks for Map, Reduce, and Select; Debugging Map Blocks; Debugging Reduce Blocks; Debugging Select Blocks; FizzBuzz; Sum of Odd Cubes; Sort a List of Names by Surname
Convert a List of Names to CSVGenerate a Random List of Names; Clean a Data Set; Annotate a Sequence of Sales with Running Total; Pascalâ#x80;#x99;s Triangle; Reverse Polish Notation Parser; Generate a List of Team Name Bars; Find Intersection Points of Two Functions; Group by Area Code; Sliding Window Average; Denormalize a Data Set; Pythagorean Triplets; Chapter 4: Reverse-Engineering Complex Solutions; Solution for Pascalâ#x80;#x99;s Triangle; Index
Summary Gain the basics of Ruby's map, reduce, and select functions and discover how to use them to solve data-processing problems. This compact hands-on book explains how you can encode certain complex programs in 10 lines of Ruby code, an astonishingly small number. You will walk through problems and solutions which are effective because they use map, reduce, and select. As you read Ruby Data Processing, type in the code, run the code, and ponder the results. Tweak the code to test the code and see how the results change. After reading this book, you will have a deeper understanding of how to break data-processing problems into processing stages, each of which is understandable, debuggable, and composable, and how to combine the stages to solve your data-processing problem. As a result, your Ruby coding will become more efficient and your programs will be more elegant and robust. You will: Discover Ruby data processing and how to do it using the map, reduce, and select functions Develop complex solutions including debugging, randomizing, sorting, grouping, and more Reverse engineer complex data-processing solutions
Notes Includes index
Online resource; title from PDF title page (EBSCO, viewed February 23, 2018)
Subject Ruby (Computer program language)
Electronic data processing.
Databases.
Computer programming -- software development.
Algorithms & data structures.
Programming & scripting languages: general.
COMPUTERS -- Programming Languages -- Ruby.
Electronic data processing.
Ruby (Computer program language)
Form Electronic book
ISBN 9781484234747
148423474X