O'Reilly logo

Scientific Computing with Scala by Vytautas Jančauskas

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required