|
25 | 25 | hashtable as libhashtable, |
26 | 26 | join as libjoin, |
27 | 27 | lib, |
| 28 | + new_vector as nv, |
28 | 29 | ) |
29 | 30 | from pandas._libs.lib import is_range_indexer |
30 | 31 | from pandas._typing import ( |
|
107 | 108 | from pandas.core.arrays import DatetimeArray |
108 | 109 |
|
109 | 110 | _factorizers = { |
110 | | - np.int64: libhashtable.Int64Factorizer, |
111 | | - np.longlong: libhashtable.Int64Factorizer, |
112 | | - np.int32: libhashtable.Int32Factorizer, |
113 | | - np.int16: libhashtable.Int16Factorizer, |
114 | | - np.int8: libhashtable.Int8Factorizer, |
115 | | - np.uint64: libhashtable.UInt64Factorizer, |
116 | | - np.uint32: libhashtable.UInt32Factorizer, |
117 | | - np.uint16: libhashtable.UInt16Factorizer, |
118 | | - np.uint8: libhashtable.UInt8Factorizer, |
119 | | - np.bool_: libhashtable.UInt8Factorizer, |
120 | | - np.float64: libhashtable.Float64Factorizer, |
121 | | - np.float32: libhashtable.Float32Factorizer, |
| 111 | + np.int64: nv.Int64Factorizer, |
| 112 | + np.longlong: nv.Int64Factorizer, |
| 113 | + np.int32: nv.Int32Factorizer, |
| 114 | + np.int16: nv.Int16Factorizer, |
| 115 | + np.int8: nv.Int8Factorizer, |
| 116 | + np.uint64: nv.UInt64Factorizer, |
| 117 | + np.uint32: nv.UInt32Factorizer, |
| 118 | + np.uint16: nv.UInt16Factorizer, |
| 119 | + np.uint8: nv.UInt8Factorizer, |
| 120 | + np.bool_: nv.UInt8Factorizer, |
| 121 | + np.float64: nv.Float64Factorizer, |
| 122 | + np.float32: nv.Float32Factorizer, |
122 | 123 | np.complex64: libhashtable.Complex64Factorizer, |
123 | 124 | np.complex128: libhashtable.Complex128Factorizer, |
124 | 125 | np.object_: libhashtable.ObjectFactorizer, |
|
0 commit comments