Ruby Data Processing: Using Map, Reduce, and Select
- Length: 98 pages
- Edition: 1st ed.
- Language: English
- Publisher: Apress
- Publication Date: 2018-02-21
- ISBN-10: 1484234731
- ISBN-13: 9781484234730
- Sales Rank: #5964727 (See Top 100 Books)
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.
What You Will Learn
- 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
Who This Book Is For
Those who have at least some prior experience programming in Ruby and who have a background and interest in data analysis and processing using Ruby.
Table of Contents
Chapter 1: Basic Ruby
Chapter 2: Function Overview and Simple Examples
Chapter 3: Complex Solutions
Chapter 4: Reverse-Engineering Complex Solutions