def unique(self):
from pandas import unique<EOL>uniques = unique(self.astype(object))<EOL>return self._from_sequence(uniques, dtype=self.dtype)<EOL>
Compute the ExtensionArray of unique values.

Returns
-------
uniques : ExtensionArray