How do I create a first examples subset of a dataframe?

I have a DataFrame with columns [:species :jpg_url].
There can be many jpegs associated with each species. How do I get a subset of my DataFrame with the same columns and just the first picture associated with each species?

unique(df, :species)
2 Likes