Series.cat.add_categories(self, *args, **kwargs) [source]
Add new categories.
new_categories will be included at the last/highest place in the categories and will be unused directly after this call.
| Parameters: |
|
|---|---|
| Returns: |
|
| Raises: |
|
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.Series.cat.add_categories.html