statsmodels.tools.tools.clean0

statsmodels.tools.tools.clean0(matrix)[source]

Erase columns of zeros: can save some time in pseudoinverse.

Parameters:
matrixndarray

The array to clean.

Returns:
ndarray

The cleaned array.


Last update: Dec 14, 2023