Return the number of unique values in a Series
Number of unique values
:pandas_api_docs:`pandas.Series.nunique`
>>> from tests import OPENSEARCH_TEST_CLIENT
>>> s = oml.DataFrame(OPENSEARCH_TEST_CLIENT, 'flights')['Carrier'] >>> s.nunique() 4