135 Relational Overview
135.1 Relational Overview
So far in this book, we have almost exclusively talked about tabular data. except for image data in Chapter 123, and to some degree time series data as seen in Chapter 111. The latter doesnβt quite count as is it typically stored in a tabular way. This section will talk about the scenario where you are working with more than 1 table. A situation that is quite common.
When you have data, one way to store is in a database. You have several smaller tables with information. Once you want to do some kind of modeling, you go to your database and query out the data so you get it in a tabular format that our modeling tools will accept.
add some kind of diagram here
It is at this stage we can use some feature engineering tricks. Propose that we are looking at daily sales targets for a number of different stores. There will be tables of the individual store performances, who works there, the items they carry and so on. As well as their past behavior. Using the knowledge of these cross tables can be very valuable. We will look at two ways to handle this. Manually in Chapter 136 and automatically in Chapter 137.