statsmodels.tools.tools.fullrank

statsmodels.tools.tools.fullrank(X, r=None)[source]

Return a matrix whose column span is the same as X.

If the rank of X is known it can be specified as r – no check is made to ensure that this really is the rank of X.