dtype¶
Replacement of nptyping.typing_
In the transition away from using nptyping, we want to allow for greater control of dtype specifications - like different precision modes, etc. and allow for abstract specifications of dtype that can be checked across interfaces.
This module also allows for convenient access to all abstract dtypes in a single module, rather than needing to import each individually.
Some types like Integer are compound types - tuples of multiple dtypes.
Check these using in rather than ==. This interface will develop in future
versions to allow a single dtype check.
- Datetime64¶
alias of
datetime64
- Int8¶
alias of
int8
- Int16¶
alias of
int16
- Int32¶
alias of
int32
- Int64¶
alias of
int64
- Byte¶
alias of
int8
- Short¶
alias of
int16
- IntC¶
alias of
int32
- IntP¶
alias of
int64
- Int_¶
alias of
int64
- UInt8¶
alias of
uint8
- UInt16¶
alias of
uint16
- UInt32¶
alias of
uint32
- UInt64¶
alias of
uint64
- UByte¶
alias of
uint8
- UShort¶
alias of
uint16
- UIntC¶
alias of
uint32
- UIntP¶
alias of
uint64
- UInt¶
alias of
uint64
- Timedelta64¶
alias of
timedelta64
- Integer = (<class 'numpy.int8'>, <class 'numpy.int16'>, <class 'numpy.int32'>, <class 'numpy.int64'>, <class 'numpy.int16'>, <class 'numpy.uint8'>, <class 'numpy.uint16'>, <class 'numpy.uint32'>, <class 'numpy.uint64'>, <class 'numpy.uint16'>)¶
All integer types
- Float16¶
alias of
float16
- Float32¶
alias of
float32
- Float64¶
alias of
float64
- Half¶
alias of
float16
- Single¶
alias of
float32
- Double¶
alias of
float64
- LongDouble¶
alias of
longdouble
- Complex64¶
alias of
complex64
- Complex128¶
alias of
complex128
- CSingle¶
alias of
complex64
- CDouble¶
alias of
complex128
- CLongDouble¶
alias of
clongdouble