statsmodels.tools.tools.clean0¶ statsmodels.tools.tools.clean0(matrix)[source]¶ Erase columns of zeros: can save some time in pseudoinverse. Parameters: matrixndarrayThe array to clean. Returns: ndarrayThe cleaned array.