patito 0.8.2__py3-none-any.whl → 0.8.3__py3-none-any.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.
patito/validators.py CHANGED
@@ -301,6 +301,7 @@ def _find_errors( # noqa: C901
301
301
 
302
302
  dataframe_tmp = (
303
303
  dataframe_tmp.select(column_name)
304
+ .filter(pl.col(column_name).list.len() > 0)
304
305
  .explode(column_name)
305
306
  .unnest(column_name)
306
307
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: patito
3
- Version: 0.8.2
3
+ Version: 0.8.3
4
4
  Summary: A dataframe modelling library built on top of polars and pydantic.
5
5
  Home-page: https://github.com/JakobGM/patito
6
6
  License: MIT
@@ -10,8 +10,8 @@ patito/_pydantic/schema.py,sha256=BI2qAhNM29NxS366K9eRi8thgE2P3t8GFt1HzwlWxos,36
10
10
  patito/exceptions.py,sha256=XK6UF_UojeOR45TJnZqS19SHZAUIvu-nswqf1tnFJ08,6034
11
11
  patito/polars.py,sha256=Zqk6m26EjRQwp6Ug0UALyYDNT9cbz-GyqZ8_uLWuFwU,38790
12
12
  patito/pydantic.py,sha256=yrpbjjqu8fRJkoPWt_uCAfs2yNDDBB1OviZwxnnPKpI,49456
13
- patito/validators.py,sha256=WZqtXVH3gHSdKJXqIMM9j90CPfghihqLpqVJJeoVwBw,18494
14
- patito-0.8.2.dist-info/LICENSE,sha256=3bc4YyuF0e5nd59E3CsR8QM1Ua7pqKfC9DD1LVBVMs4,1139
15
- patito-0.8.2.dist-info/METADATA,sha256=RRvitTQczc2hWH_1V4xiaAA41z7NHRhxtkU_tNjoeeE,13999
16
- patito-0.8.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
17
- patito-0.8.2.dist-info/RECORD,,
13
+ patito/validators.py,sha256=g6zAzV-C50ffkNkHV1FzGzJKeaBzs09DK2liXsnHphI,18554
14
+ patito-0.8.3.dist-info/LICENSE,sha256=3bc4YyuF0e5nd59E3CsR8QM1Ua7pqKfC9DD1LVBVMs4,1139
15
+ patito-0.8.3.dist-info/METADATA,sha256=G_MOL6X9cvOZrvjxvqS4-Eo-xYjO0jG5kw61c4cgMOs,13999
16
+ patito-0.8.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
17
+ patito-0.8.3.dist-info/RECORD,,
File without changes