A custom data type, to be paired with an ExtensionArray.
New in version 0.23.0.
The interface includes the following abstract methods that must be implemented by subclasses:
na_value class attribute can be used to set the default NA value for this type.
numpy.nan is used by default.
This class does not inherit from ‘abc.ABCMeta’ for performance reasons. Methods and properties required by the interface raise
pandas.errors.AbstractMethodError and no
register method is provided for registering virtual subclasses.
| ||A character code (one of ‘biufcmMOSUV’), default ‘O’|
| ||A string identifying the data type.|
| ||Ordered list of field names, or None if there are no fields.|
| ||The scalar type for the array, e.g.|
||Attempt to construct this type from a string.|
||Check if we match ‘dtype’.|
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.