toDataFrame function

Convert an Array into a Data Frame