def _get_codes(self):
    ' Get the codes.\n\n        Returns\n        -------\n        codes : integer array view\n            A non writable view of the `codes` array.\n        '
    v = self._codes.view()
    v.flags.writeable = False
    return v
Get the codes.

Returns
-------
codes : integer array view
    A non writable view of the `codes` array.
def _get_codes(self):
    ' Get the codes.\n\n        Returns\n        -------\n        codes : integer array view\n            A non writable view of the `codes` array.\n        '
    v = self._codes.view()
    v.flags.writeable = False
    return v