code: def assert_full_rank(m):
      m = atleast_2d_column_default(m)
      if m.shape[1] == 0:
          return True
      u, s, v = np.linalg.svd(m)
      rank = np.sum(s > 1e-10)
      assert rank == m.shape[1]
  
imports: from __future__ import print_function
  import six
  import numpy
  import pytest
  from patsy import PatsyError
  from patsy.util import atleast_2d_column_default, have_pandas, have_pandas_categorical
  from patsy.desc import Term, INTERCEPT
  from patsy.build import *
  from patsy.categorical import C
  from patsy.user_util import balanced, LookupFactor
  from patsy.design_info import DesignMatrix, DesignInfo
label_desc: Use image node_id 1 for calling a global function with example usage: assert_full_rank(m) and returns: True