Private
Public Access
1
0
This commit is contained in:
2024-04-13 09:39:16 +02:00
parent ef8054b5a6
commit 0f62dda8d8
3 changed files with 7 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ import zipfile
import os
from rowers.models import strokedatafields
import polars as pl
from polars.exceptions import ColumnNotFoundError, SchemaError
from rowingdata import (
KinoMapParser,
@@ -1484,6 +1485,9 @@ def getsmallrowdata_pl(columns, ids=[], doclean=True, workstrokesonly=True, comp
df = pl.concat(data, rechunk=True)
except ValueError: # pragma: no cover
return pl.DataFrame()
except SchemaError:
df = pl.concat(data, rechunk=True, how='vertical_relaxed')
else:
try: