tabmat 4.2.0__cp314-cp314-win_amd64.whl → 4.2.1__cp314-cp314-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tabmat/categorical_matrix.py +1 -1
- tabmat/constructor.py +1 -1
- tabmat/ext/categorical.cp314-win_amd64.pyd +0 -0
- tabmat/ext/dense.cp314-win_amd64.pyd +0 -0
- tabmat/ext/sparse.cp314-win_amd64.pyd +0 -0
- tabmat/ext/split.cp314-win_amd64.pyd +0 -0
- tabmat/split_matrix.py +1 -1
- {tabmat-4.2.0.dist-info → tabmat-4.2.1.dist-info}/METADATA +1 -1
- {tabmat-4.2.0.dist-info → tabmat-4.2.1.dist-info}/RECORD +12 -12
- {tabmat-4.2.0.dist-info → tabmat-4.2.1.dist-info}/WHEEL +1 -1
- {tabmat-4.2.0.dist-info → tabmat-4.2.1.dist-info}/licenses/LICENSE +0 -0
- {tabmat-4.2.0.dist-info → tabmat-4.2.1.dist-info}/top_level.txt +0 -0
tabmat/categorical_matrix.py
CHANGED
|
@@ -697,7 +697,7 @@ class CategoricalMatrix(MatrixBase):
|
|
|
697
697
|
)
|
|
698
698
|
|
|
699
699
|
# TODO: data should be uint8
|
|
700
|
-
data = np.ones(self.shape[0], dtype=int)
|
|
700
|
+
data: np.ndarray = np.ones(self.shape[0], dtype=int)
|
|
701
701
|
return sps.csr_matrix(
|
|
702
702
|
(data, self.indices, np.arange(self.shape[0] + 1, dtype=int)),
|
|
703
703
|
shape=self.shape,
|
tabmat/constructor.py
CHANGED
|
@@ -396,7 +396,7 @@ def from_formula(
|
|
|
396
396
|
)
|
|
397
397
|
result = materializer.get_model_matrix(spec)
|
|
398
398
|
|
|
399
|
-
term_names = np.zeros(len(result.term_names), dtype="object")
|
|
399
|
+
term_names: np.ndarray = np.zeros(len(result.term_names), dtype="object")
|
|
400
400
|
for term, indices in result.model_spec.term_indices.items():
|
|
401
401
|
term_names[indices] = str(term)
|
|
402
402
|
result.term_names = term_names.tolist()
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
tabmat/split_matrix.py
CHANGED
|
@@ -527,7 +527,7 @@ class SplitMatrix(MatrixBase):
|
|
|
527
527
|
list[Optional[str]]
|
|
528
528
|
Column names.
|
|
529
529
|
"""
|
|
530
|
-
names = np.empty(self.shape[1], dtype=object)
|
|
530
|
+
names: np.ndarray = np.empty(self.shape[1], dtype=object)
|
|
531
531
|
for idx, mat in zip(self.indices, self.matrices):
|
|
532
532
|
names[idx] = mat.get_names(type, missing_prefix, idx)
|
|
533
533
|
return names.tolist()
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
tabmat/__init__.py,sha256=uvBIwdxTmQCtfs3kfX75sMYGg0wBRNe0rUyQ3cvhU7M,759
|
|
2
|
-
tabmat/categorical_matrix.py,sha256=
|
|
3
|
-
tabmat/constructor.py,sha256=
|
|
2
|
+
tabmat/categorical_matrix.py,sha256=MaFcyO7LmIuXRpyIjuCgbEI6ScZBL-0fibOGslGqZvU,33170
|
|
3
|
+
tabmat/constructor.py,sha256=YO_8SRP8sZlxx4ELgcpZ5sRYW30lex6kujejQVcozaY,16582
|
|
4
4
|
tabmat/constructor_util.py,sha256=IRtDJ0EQKiZVPH2aUvOuftPpgQog-kmq6dItGx8TPf8,1753
|
|
5
5
|
tabmat/dense_matrix.py,sha256=-iQseyKovWyXHvPWg1w2URYNJbTKAOEVy34fHGRtnBU,12375
|
|
6
6
|
tabmat/formula.py,sha256=lor2w9iswrfwKzw2qINAS-kCVelVVXhkR2pbfWXs5ho,29292
|
|
7
7
|
tabmat/matrix_base.py,sha256=NIbL5myAyVDoL5RQhSod8BKX9kbVGTunggN7uMBLjD4,8192
|
|
8
8
|
tabmat/sparse_matrix.py,sha256=wVgz7w8QWPskSzJyMSKo8O0B5NkC8h027BXgpmbToCc,14377
|
|
9
|
-
tabmat/split_matrix.py,sha256=
|
|
9
|
+
tabmat/split_matrix.py,sha256=jRjnX0JU_KA29_Cm2fZWmRxgq7vueGDf6vX2UuaY5qI,21593
|
|
10
10
|
tabmat/standardized_mat.py,sha256=ogrHF2vG6Es0WSNgcMNukDAlYq7R4yzB4-HuoovUnCE,13514
|
|
11
11
|
tabmat/util.py,sha256=xxX5S5-m4Jy8Nr56T7IuLibZZcgUc8-xlU84N5xQZNA,4175
|
|
12
12
|
tabmat/benchmark/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -15,12 +15,12 @@ tabmat/benchmark/main.py,sha256=auwBIbBXM8nOtDkbLV95Da52Wk52Jw5ayJbX_Z6FK8Q,1242
|
|
|
15
15
|
tabmat/benchmark/memory_tools.py,sha256=mFO-86Shxs1WmDf2--Xbxa3z3hTz4WmbKbFdrb3bxA8,1385
|
|
16
16
|
tabmat/benchmark/visualize_benchmarks.py,sha256=-fr4rDOKtmCHsXTvuk_aF_m3egUR7z_ac3OiG4ebx-Q,5922
|
|
17
17
|
tabmat/ext/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
18
|
-
tabmat/ext/categorical.cp314-win_amd64.pyd,sha256=
|
|
19
|
-
tabmat/ext/dense.cp314-win_amd64.pyd,sha256=
|
|
20
|
-
tabmat/ext/sparse.cp314-win_amd64.pyd,sha256=
|
|
21
|
-
tabmat/ext/split.cp314-win_amd64.pyd,sha256
|
|
22
|
-
tabmat-4.2.
|
|
23
|
-
tabmat-4.2.
|
|
24
|
-
tabmat-4.2.
|
|
25
|
-
tabmat-4.2.
|
|
26
|
-
tabmat-4.2.
|
|
18
|
+
tabmat/ext/categorical.cp314-win_amd64.pyd,sha256=uqpGK1YuitIhoRfEz1M3lHrp-Yzv6i_TMs4PVeF0Oe0,322560
|
|
19
|
+
tabmat/ext/dense.cp314-win_amd64.pyd,sha256=cpD8VI0M9VaolMgMSIUgNh2KHxk7GmwvljrKK9p0DCk,272384
|
|
20
|
+
tabmat/ext/sparse.cp314-win_amd64.pyd,sha256=jYMwmzZN7_VoFNcXfKQjOAMR5nmDI196fkDBCMAFVF8,688128
|
|
21
|
+
tabmat/ext/split.cp314-win_amd64.pyd,sha256=-jlSk8ijbpT5c8jORLFuXFJNvUHBoMf3QGTUs5AH9Hw,253952
|
|
22
|
+
tabmat-4.2.1.dist-info/licenses/LICENSE,sha256=5NI6VxMb_AfgPHL2nQttFTurJZWQ8ks5UWTpNEsD9K0,1472
|
|
23
|
+
tabmat-4.2.1.dist-info/METADATA,sha256=2neapQHbY3HbdtA0GGICTdkWDwo4DV2oJ-h3fqfZVM0,6227
|
|
24
|
+
tabmat-4.2.1.dist-info/WHEEL,sha256=z-AL790RFdWKt_PD8upif4biP-wiSujrp37waEcSdi0,102
|
|
25
|
+
tabmat-4.2.1.dist-info/top_level.txt,sha256=dAA5sdRVvDsNOvJd8hxwmetHTmRhp_Y08al7_gHqs9c,7
|
|
26
|
+
tabmat-4.2.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|