model2df function

model2df