There are two approaches to loading the data, according to where the data is stored: a file or database. First, we will take a detailed look at how to load the data from a file, including how to deal with custom formats. At the end, we will quickly take a look at how to load the data from a database.