statsmodels.tools.tools.
clean0
Erase columns of zeros: can save some time in pseudoinverse.
statsmodels.tools.tools.categorical
statsmodels.tools.tools.fullrank