MultiIndex.nunique(dropna=True) [source]
Return number of unique elements in the object.
Excludes NA values by default.
| Parameters: |
dropna : boolean, default True Don’t include NaN in the count. |
|---|---|
| Returns: |
nunique : int |
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.MultiIndex.nunique.html