liveBook · Manning

View

A view is an alternate representation or access interface for data derived from or backed by underlying storage without necessarily creating an independent copy.

How 5 Manning books explain it

Fast Python: High performance techniques for large datasets

How it is used
Uses views to transform large image arrays while avoiding copies of their underlying data.
How deep it goes
Explains views through shape, byte strides, mutation, and memory-sharing checks, while deferring detailed allocation behavior.
Examples
Uses grayscale image flips and rotations, matrix reshaping, reversed slices, and view-versus-copy timing comparisons.
What you can do after
Apply it via NumPy slicing and transformations, then verify memory sharing and compare copy costs.

Read how Fast Python: High performance techniques for large datasets explains view →

Deep Learning with PyTorch, Second Edition

A tensor representation that shares underlying storage while presenting the same data with a different shape or interpretation.

How it is used
Uses views to reshape tensor data for daily time-series sequences and inputs to linear layers without copying compatible storage.
How deep it goes
Explains views through storage offsets, shapes, strides, shared mutations, cloning, and contiguity; stops short of exhaustive API coverage.
Examples
Works through indexed point tensors, a nine-element reshape exercise, hourly bike data grouped by day, and convolution outputs flattened for a linear layer.
What you can do after
Apply it via PyTorch view to reshape compatible tensors, inspect shared-storage effects, and prepare pooled features for a linear layer.

Read how Deep Learning with PyTorch, Second Edition explains view →

MongoDB 8.0 in Action, Third Edition

A MongoDB view is a queryable, read-only entity whose contents are generated dynamically from an aggregation pipeline over collections or other views.

How it is used
Provides read-only access to filtered, simplified, reusable, or combined results from underlying data.
How deep it goes
Explains dynamic reads and demonstrates creation and querying, including join stages and pipeline restrictions, without detailing execution internals.
Examples
Uses a filtered airline-routes view and a transaction view enriched with customer details.
What you can do after
Build it from scratch with db.createView(), query it with find(), and avoid prohibited pipeline stages.

Read how MongoDB 8.0 in Action, Third Edition explains view →

Build Financial Software with Generative AI (From Scratch)

A database view is a virtual table defined by a stored query over one or more database tables.

How it is used
Provides a unified interface for inspecting separated raw records and troubleshooting uploaded ACH files.
How deep it goes
Defines the virtual-table model and demonstrates creation with joins and UNION ALL, without covering broader view management.
Examples
Uses the combined_ach_records view to reunite unparsed ACH record types for raw-file display and exception troubleshooting.
What you can do after
Operate/configure a database view that combines related tables into a convenient read interface.

Read how Build Financial Software with Generative AI (From Scratch) explains view →

Effective Data Analysis

A view is a virtual tabular result defined by a query over one or more underlying tables.

How it is used
Supports analysts by exposing curated query results for generating insights from organizational data.
How deep it goes
Defines a view as a query-produced data structure and situates it among tables and schemas without detailing execution internals.
Examples
Uses a grouped state-population query to illustrate query-defined, organized analytical results.
What you can do after
Apply it via SQL by querying curated warehouse results instead of repeatedly assembling underlying table logic.

Read how Effective Data Analysis explains view →

Related concepts

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.