4 Working with collections in Julia
This chapter covers
- Working with arrays
- Using dictionaries to handle key-value mappings
- Handling immutable collection types: tuples and named tuples
In chapters 2 and 3, you learned basic elements of the Julia language. We have mostly used scalar types (like numbers) in all the examples. However, in data science, you will typically work with data collections, groupings of a variable number of data items. One collection type already introduced in chapter 2 is a vector.
In this chapter, you will learn how to use several fundamental collections that are most used in practical scenarios: arrays, dictionaries, tuples, and named tuples.
4.1 Working with arrays
In this section, you will learn the basics of working ...
Get Julia for Data Analysis 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.