7 Combining Datasets
It’s common for data to be split across multiple containers. Therefore, you’ll often need to combine different datasets into one. You’ve done some combining in previous chapters, but in this chapter we’ll look at techniques for combining datasets in more depth.
In some cases, combining datasets may simply be a matter of adding one dataset to the end of another. For example, a financial analyst may receive a new batch of stock data each week that needs to be added to an existing collection of stock data. Other times, you may need to more selectively combine datasets that share a common column, joining them into a summary ...
Get Python for Data Science now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.