pandantic icon indicating copy to clipboard operation
pandantic copied to clipboard

27 add dataframe iteration to the pandas plugin

Open xaviernogueira opened this issue 4 months ago • 1 comments

Changes:

  • I combined all your pandas validator tests into one .py file.
  • New .iterate() function in the BaseValidator baseclass.
  • Implementation of overrides for df.pydantic.itertuples(schema) and df.pydantic.iterrows(schema) where the behave as normal except non-schema validated rows are skipped (silently or not, depending on verbose).
  • Implementation of df.pydantic.iterschemas() which returns the schema models.

Closes #27

Let's merge into PR #23 when this is ready @wesselhuising

xaviernogueira avatar Sep 30 '24 16:09 xaviernogueira