Interval
An interval is a connected set or span of values between specified lower and upper endpoints, with endpoint inclusion determined by its definition.
Effective Data Analysis
The range is the difference between the highest and lowest values in a dataset, sometimes reported together with both endpoints.
- How it is used
- Summarizes how wide an entire dataset is for descriptive analysis and stakeholder reporting.
- How deep it goes
- Defines range as dataset width and situates it among summary statistics, without developing an extended computational procedure.
- Examples
- Uses a figure showing the range as the entire width of a dataset.
- What you can do after
- Evaluate dataset width alongside other summary statistics and report it cautiously when the distribution lacks a meaningful center.
Kotlin in Action, 2E
- How it is used
- Replaces common counter-based loops and supplies concise traversal and membership checks for ordered values.
- How deep it goes
- Explains inclusive and open-end ranges, stepped progressions, membership, Comparable values, and the rangeTo convention.
- Examples
- Uses Fizz-Buzz, descending even-number iteration, character classification, string membership, and date intervals.
- What you can do after
- Apply it via Kotlin syntax to iterate, step through, classify, and test membership among ordered values.
Statistics Every Programmer Needs
An interval is a set of real numbers lying between specified lower and upper bounds, possibly including those bounds.
- How it is used
- Represents continuous values, probability-based simulation outcomes, and sample variability in quality-control analysis.
- How deep it goes
- Defines interval notation and applies intervals to simulation mapping and range calculation without developing formal interval algebra.
- Examples
- Uses a [2, 6] marathon-time interval, [0.00, 0.40] simulation mapping, and 13–39 random-digit assignment.
- What you can do after
- Apply intervals to represent continuous ranges, map simulated random numbers, and calculate sample spread for quality control.
Read how Statistics Every Programmer Needs explains interval →
Learn Rust in a Month of Lunches
- How it is used
- Uses ranges to select array slices and supply values to `for` loops.
- How deep it goes
- Explains exclusive and inclusive endpoints through array-slicing and loop examples.
- Examples
- Shows `2..5` slicing a ten-element array and compares `0..3` with `0..=3` in loops.
- What you can do after
- Apply Rust range syntax to select array slices or iterate over a chosen sequence of values.
Read how Learn Rust in a Month of Lunches explains interval →
Data Pipelines with Apache Airflow, Second Edition
A data interval is the bounded period of data associated with one scheduled DAG run.
- How it is used
- Buckets data into discrete windows so scheduled DAGs can process each interval incrementally.
- How deep it goes
- Defines boundaries, execution timing, and Airflow variables, stopping short of deeper implementation internals.
- Examples
- Uses daily intervals, two-day DeltaIntervalTimetable schedules, and aligned 15-minute taxi and bike-data windows.
- What you can do after
- Apply it via Airflow schedule settings and data_interval_start/data_interval_end to process bounded data windows.
Read how Data Pipelines with Apache Airflow, Second Edition explains interval →
Elixir in Action, Third Edition
A range is an Elixir abstraction representing a sequence of values bounded by a start and an end.
- How it is used
- Represents bounded numeric sequences for membership checks and enumerable operations.
- How deep it goes
- Explains syntax, membership, enumeration, and constant-size map representation without detailing the Range implementation.
- Examples
- Uses 1..2 membership checks and Enum.each over 1..3.
- What you can do after
- Apply ranges through Elixir syntax, in, and Enum functions.
Read how Elixir in Action, Third Edition explains interval →
The Design of Web APIs, Second Edition
A numeric range is a set of permitted numerical values bounded by lower and upper constraints that may be open-ended.
- How it is used
- Supports flexible API filtering and precise validation of permitted numeric values.
- How deep it goes
- Defines inclusive, exclusive, and open-ended bounds, then stops short of dynamic business-rule implementation.
- Examples
- Uses amount queries, owner ages, wire-transfer amounts, pagination sizes, and string or array lengths.
- What you can do after
- Apply intervals through query parameters or JSON Schema validation keywords.
Read how The Design of Web APIs, Second Edition explains interval →
Related concepts
- Mapimplements · A map is an associative data structure that stores key-value pairs and supports retrieving values by key.
- variancekind of · Variance is the expected squared deviation of a random variable from its mean, measuring the spread of its distribution.
- indexinguses · Indexing is the organization or use of positions, keys, or lookup structures to identify and retrieve selected data or elements.
- membership operatorused by · A membership operator is a language construct that tests whether a specified value or property is present in a supported collection, range, or object.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.






