Pmap over data frame

I am trying to pmap a function over a DataFrame, probably I am missing something really obvious.
As per the example below, I would each DataFrameRow to be an element of the pmap, and each column value of the DataFrameRow to be set as an argument of the called function DoWork

df = DataFrame(A=[1,2,3], B=["a","b","c"])

function DoWork(a, b)
    println("$a $b")   #-> this will print 1 a, 2 b, 3 c

pmap(DoWork, df) #argh!

The DataFrame is populated from a database and I can’t change the way it is provided to me - I need to convert it.I tried various things like convert to a list of vector or a matrix with little luck. Is there any better way to do this?

This is the best I could come up with :slight_smile:

df = DataFrame(A=[1,2,3], B=["a","b","c"])
function DoWork(test)
    a = test[1]
    b = test[2]

    println("$a $b")


for row in eachrow(df)
  push!(myvec, permutedims(Vector(row))) 

pmap(x-> DoWork(x), myvec)

Thanks for any better advice you can give me!