get_coefs¶
-
hhpy.modelling.
get_coefs
(model: Any, y: Union[Sequence[T_co], int, float, str, bytes, None, AbstractSet[T_co]])[source]¶ get coefficients of a linear regression in a sorted data frame
Parameters: - model – model object
- y – name of the coefficients
Returns: pandas DataFrame containing the coefficient names and values