The function checks that data contains correct numeric values, check for mandatory attributes (row and column names, x- and y-axis values and names, etc.) and add them if necessary.
Another things is to remove hidden columns and split the rest to visible and hidden values (if excluded rows are present).