@@ -21,72 +21,56 @@ def __eq__(self, other: DType | type[DType]) -> bool: # type: ignore[override]
2121 return isinstance_or_issubclass (other , type (self ))
2222
2323
24- class NumericType (DType ):
25- ...
24+ class NumericType (DType ): ...
2625
2726
28- class TemporalType (DType ):
29- ...
27+ class TemporalType (DType ): ...
3028
3129
32- class Int64 (NumericType ):
33- ...
30+ class Int64 (NumericType ): ...
3431
3532
36- class Int32 (NumericType ):
37- ...
33+ class Int32 (NumericType ): ...
3834
3935
40- class Int16 (NumericType ):
41- ...
36+ class Int16 (NumericType ): ...
4237
4338
44- class Int8 (NumericType ):
45- ...
39+ class Int8 (NumericType ): ...
4640
4741
48- class UInt64 (NumericType ):
49- ...
42+ class UInt64 (NumericType ): ...
5043
5144
52- class UInt32 (NumericType ):
53- ...
45+ class UInt32 (NumericType ): ...
5446
5547
56- class UInt16 (NumericType ):
57- ...
48+ class UInt16 (NumericType ): ...
5849
5950
60- class UInt8 (NumericType ):
61- ...
51+ class UInt8 (NumericType ): ...
6252
6353
64- class Float64 (NumericType ):
65- ...
54+ class Float64 (NumericType ): ...
6655
6756
68- class Float32 (NumericType ):
69- ...
57+ class Float32 (NumericType ): ...
7058
7159
72- class String (DType ):
73- ...
60+ class String (DType ): ...
7461
7562
76- class Boolean (DType ):
77- ...
63+ class Boolean (DType ): ...
7864
7965
8066class Object (DType ): # todo: do we really want this one?
8167 ...
8268
8369
84- class Datetime (TemporalType ):
85- ...
70+ class Datetime (TemporalType ): ...
8671
8772
88- class Date (TemporalType ):
89- ...
73+ class Date (TemporalType ): ...
9074
9175
9276def translate_dtype (plx : Any , dtype : DType ) -> Any :
0 commit comments