Chapter 2. Storing and Retrieving Data

In this chapter, we will discuss data storage and retrieval in Scala. These two things are important to know about, because in most contexts you will need to perform anything that could be considered scientific computing. You will very likely need to read in data in some format and to output the results in some format. For example, a lot of test data for pattern recognition algorithms is stored in CSV format. Another popular way of storing data is in SQL databases. For use in any kind of numerical or symbolic calculations, this data will have to be retrieved. To retrieve it, you must have a way of writing SQL queries to be performed on the said database. Another popular way to store data, especially if the ...

Get Scientific Computing with Scala now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.