parameters: (X)
return_statement: return X - numpy.resize(m, (n,len(m)))
docstring: returns X - mean(X), where the mean is taken over the columns of X
docstring_summary: returns X - mean(X), where the mean is taken over the columns of X
docstring_tokens: returns X - mean ( X ) where the mean is taken over the columns of X
function: def centerColumns(X) :
      '''returns X - mean(X), where the mean is taken over the columns of X'''
      
      m = numpy.mean(X)
  
      n = numpy.shape(X)[0]
      
      return X - numpy.resize(m, (n,len(m)))
function_tokens: def centerColumns ( X ) : m = numpy . mean ( X ) n = numpy . shape ( X ) [ 0 ] return X - numpy . resize ( m , ( n , len ( m ) ) )