The following codes were tested under Julia v1.6.1 and DataFrames v1.2.0.

I saw a question of the same title for Python.

Let’s say we have a = [1, 2, 3, 4, 5] and b = ["a", "b", "c", "d", "e"]. What we want is c = [(1, "a"), (2, "b"), (3, "c"), (4, "d"), (5, "e")].

The first solution is <a …