spells-mtg 0.10.6__tar.gz → 0.10.7__tar.gz
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.
Potentially problematic release.
This version of spells-mtg might be problematic. Click here for more details.
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/PKG-INFO +1 -1
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/pyproject.toml +1 -1
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/spells/columns.py +4 -4
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/spells/config.py +1 -0
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/LICENSE +0 -0
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/README.md +0 -0
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/spells/__init__.py +0 -0
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/spells/cache.py +0 -0
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/spells/cards.py +0 -0
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/spells/draft_data.py +0 -0
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/spells/enums.py +0 -0
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/spells/extension.py +0 -0
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/spells/external.py +0 -0
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/spells/filter.py +0 -0
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/spells/log.py +0 -0
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/spells/manifest.py +0 -0
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/spells/schema.py +0 -0
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/spells/utils.py +0 -0
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/tests/__init__.py +0 -0
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/tests/filter_test.py +0 -0
- {spells_mtg-0.10.6 → spells_mtg-0.10.7}/tests/utils_test.py +0 -0
|
@@ -217,21 +217,21 @@ _specs: dict[str, ColSpec] = {
|
|
|
217
217
|
),
|
|
218
218
|
ColName.GAME_DATE: ColSpec(
|
|
219
219
|
col_type=ColType.GROUP_BY,
|
|
220
|
-
expr=pl.col(ColName.GAME_TIME).str.to_datetime("%Y-%m-%d %H
|
|
220
|
+
expr=pl.col(ColName.GAME_TIME).str.to_datetime("%Y-%m-%d %H:%M:%S").dt.date(),
|
|
221
221
|
),
|
|
222
222
|
ColName.GAME_DAY_OF_WEEK: ColSpec(
|
|
223
223
|
col_type=ColType.GROUP_BY,
|
|
224
224
|
expr=pl.col(ColName.GAME_TIME)
|
|
225
|
-
.str.to_datetime("%Y-%m-%d %H
|
|
225
|
+
.str.to_datetime("%Y-%m-%d %H:%M:%S")
|
|
226
226
|
.dt.weekday(),
|
|
227
227
|
),
|
|
228
228
|
ColName.GAME_HOUR: ColSpec(
|
|
229
229
|
col_type=ColType.GROUP_BY,
|
|
230
|
-
expr=pl.col(ColName.GAME_TIME).str.to_datetime("%Y-%m-%d %H
|
|
230
|
+
expr=pl.col(ColName.GAME_TIME).str.to_datetime("%Y-%m-%d %H:%M:%S").dt.hour(),
|
|
231
231
|
),
|
|
232
232
|
ColName.GAME_WEEK: ColSpec(
|
|
233
233
|
col_type=ColType.GROUP_BY,
|
|
234
|
-
expr=pl.col(ColName.GAME_TIME).str.to_datetime("%Y-%m-%d %H
|
|
234
|
+
expr=pl.col(ColName.GAME_TIME).str.to_datetime("%Y-%m-%d %H:%M:%S").dt.week(),
|
|
235
235
|
),
|
|
236
236
|
ColName.BUILD_INDEX: ColSpec(
|
|
237
237
|
col_type=ColType.GROUP_BY,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|