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 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.