Query: Getting Information from Data with the Wolfram Language
Original price was: $39.95.$31.74Current price is: $31.74.
Price: $39.95 - $31.74
(as of Dec 13, 2024 02:33:17 UTC – Details)
Mathematica and the Wolfram Language provide an integrated environment for sophisticated programming, making them the ideal tools for calculus, data visualization, machine learning, and more. But how about using Wolfram as the linchpin for organizing data? In this book, Professor Seth J. Chandler, an award-winning, 30-year user of the Wolfram Language, guides intermediate users from simple cases to data in the wild and shows how each can be fed into the full range of Wolfram Language functionality. It’s both a conceptual and practical approach filled with annotated examples.
Want to know more about associations or the organization and presentation of datasets? This book shows how it’s done. Want to organize or reduce data in the Wolfram Language similarly to the way one might use SQL, pandas in Python, or dplyr in R’s tidyverse? This book shows how to simplify data processing and go beyond what is possible with other tools using the Query function. It also explores how to import information from the places real-world data is most likely to be found: CSV, Excel, or JSON files.
Use Query both as a tutorial and as a reference. Read it cover-to-cover doing the exercises or dip in to look up specific data-wrangling tasks. Augmenting the underlying power of the Wolfram Language with the techniques taught in this book puts you at the forefront of innovative data analysis.
From the Publisher
“I simply cannot praise this book enough. . . . Query Dataset with Right Composition pipelines that make the hard work of data munging fun and accessible while at the same time building your competence for the computational knowledge future. Invest in this book. It is a gem.”
—Verified Purchaser
From the Preface
“Our modern world abounds in both data and computational power. Too often, however, that data is not in a form where that computational power can provide insight about its meaning or importance to a particular audience. This book shows how the Wolfram Language can serve as a bridge between the world of data and the world of information. Whether your data is embedded in a spreadsheet, complex Wolfram Language expression, or some large CSV or JSON file, you can use this book to help you liberate it and then transform it into information for purposes of statistical analysis, machine learning, or just advanced counting. The methods shown here are powerful and more general than SQL, often more terse than Python, and often quite rapid in execution.”
Contents
Introduction: Purpose · Audience · How to Read This Book · Chapter Roadmap · Version · Front End · Repositories · Conventions · Exercises · Technical Notes · A Little about Me
Data Structures and Functions: The Mathematica Expression · The Part Function · The Function · The List · Levels · Position: Part and Level · Functional Programming Constructs · Common Operations on Lists · A Sample Problem Using “Old-School” Wolfram Language Methods · Conclusion
Association: A Home-Brewed Indexed Data Structure · The Association · Using Part with Association · Functions on Associations · Associations inside Other Expressions · Position on Association · KeyTake and KeyDrop · Lookup · Building Associations · Functional Programming Constructs Used on Associations · Apply and Transpose · KeyMap · KeyValueMap · The KeyReplace Resource Function · Select · GatherBy · GroupBy · Associations as Functions · Putting It Together: More Complex Operations Using Operators and Composition
Query: Query Structure · Order of Operations in Query · Four Complications · Solve Sample Problems with Query · How to Do Nothing: All or Identity · Queries with Deeply Nested Datasets · Functions That Create Queries · Debugging Queries That Go Wrong
The Dataset: Introduction · Inside the Datasets · Dataset Presentation
Basic Recipes: Introduction · Get the Dimensions of a Dataset · Rename All of the Columns · Rename Just Some of the Columns · Sort Rows and Columns · Sort Groupings · Sample the Rows · Replace Some Key-Value Pairs in an Association: The Association Override Feature · Keep and Drop Rows or Columns · Join Columns Based on Precomputed Data · Join a Column to a Dataset Based on Values in the Existing Columns · Change the Value of an Existing Column: Row-Wise · Add Row Headers (Indexing) · Delete Row Headers · Turn Row Headers into Columns · Give a Column Orientation to a Dataset · Give a Row Orientation to a Dataset · Transpose Datasets and the Double Transpose Trick · Defer Operation of a Descending Operator
Advanced Recipes: Introduction · Recipe 1: Use Column Aggregates to Derive New Columns · Recipe 2: Aggregate Single Measures by Group · Recipe 3: Make the Keys in Each Row of Data Identical · Recipe 4: Create Multiple Aggregate Measures of Grouped Data · Recipe 5: “Cross Tabulate” Data · Recipe 6: Get Row and/or Column Aggregates of Data · Recipe 7: Prepare Data for Statistical Analysis Functions · Recipe 8: Prepare Data for Machine Learning Functions · Recipe 9: Combine Graphics with Query · Recipe 10: Retrieve Information from the Wolfram Data Repository · Recipe 11: Flatten Hierarchy in a Dataset or Convert One Dataset into Multiple Related Datasets · Recipe 12: Create Overlapping Sets of Data
Import and Export: Introduction · The “Format” and “Elements” Concept · Using the WXF Format · Using the Text Export Format · Using the CSV Export Format · Using the Excel (XLS, XLSX) Format · Using the JSON Format · Using the ZIP Format · Using the Google Sheets Format
Answers to Exercises
Index
About the Author
Seth J. Chandler has been a Law Foundation Professor of Law at the University of Houston (UH) Law Center since 1990. He maintains a dual life as a law professor, teaching subjects such as constitutional law and insurance law, and an expert on the Wolfram Language, presenting at numerous Wolfram conferences and winning a Wolfram Innovator Award in 2011. He has combined both of his passions in the course Analytic Methods for Lawyers, which is taught at UH and is available via his YouTube channel. He has made many contributions to the Wolfram Demonstrations Project, the Wolfram Function Repository, the Wolfram Data Repository, and Wolfram Community. Professor Chandler received his undergraduate degree in 1979 from the Woodrow Wilson School of Public and International Affairs and his Juris Doctorate in 1983 from Harvard Law School, where he served as Managing Editor of the Harvard Law Review.
Add to Cart
Add to Cart
Add to Cart
Add to Cart
Add to Cart
Add to Cart
Customer Reviews
4.9 out of 5 stars
9
4.7 out of 5 stars
24
4.6 out of 5 stars
25
4.6 out of 5 stars
252
4.2 out of 5 stars
19
4.7 out of 5 stars
14
Price
$31.74$31.74 $20.80$20.80 $29.56$29.56 $28.63$28.63 $29.35$29.35 $29.95$29.95
Page Count
368 376 424 572 220 280
Wolfram Language Programming Level
Intermediate Beginner Intermediate Beginner Intermediate Beginner
Publisher : Wolfram Media, Inc. (October 3, 2023)
Language : English
Paperback : 368 pages
ISBN-10 : 1579550851
ISBN-13 : 978-1579550851
Item Weight : 1.65 pounds
Dimensions : 7 x 0.9 x 9.9 inches
User Reviews
Be the first to review “Query: Getting Information from Data with the Wolfram Language”

Original price was: $39.95.$31.74Current price is: $31.74.
There are no reviews yet.