4.7.3.1.1. statsmodels.tools.data.interpret_data¶
-
statsmodels.tools.data.
interpret_data
(data, colnames=None, rownames=None)[source]¶ Convert passed data structure to form required by estimation classes
Parameters: data : ndarray-like
colnames : sequence or None
May be part of data structure
rownames : sequence or None
Returns: (values, colnames, rownames) : (homogeneous ndarray, list)