O'Reilly logo

Learning pandas - Second Edition by Michael Heydt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Combining, Relating, and Reshaping Data

Data is often modeled as a set of entities, the logical structures of related values referenced by name (properties/variables), and with multiple samples or instances that are organized by rows. Entities tend to represent real-world things, such as a person, or in the Internet of Things, a sensor. Each specific entity and its measurements are then modeled using a single DataFrame.

There will often need to be various tasks performed upon and between entities in a model. It may be required to combine the data for multiple customer entities, which are sourced from multiple locations, into single pandas object. Customer and order entities are often related to find a shipping address for an order. It is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required