# scipy.constants.unit

scipy.constants.unit(key)

  Unit in physical_constants indexed by key

  Parameters
    key Python string or unicode

      Key in dictionary `physical_constants`

  Returns
    unit Python string

      Unit in `physical_constants` corresponding to key

  Examples

      >>> from scipy import constants
      >>> constants.unit(u'proton mass')
      'kg'

scipy.constants.value scipy.constants.precision