ColumnarModelData

how do we know when to use ColumnarModelData.fromarray and what is happening inside of it, when we call the function?