Can I index a DataFrame using a String key?

If you want a single lookup then Boolean mask it the standard approach to do it. If you want multiple lookups then use the groupby approach. A small comment is that you need to write:

groupby(df, :Register)[("r2",)]
2 Likes