From bf1ae78002dbb9063a90e01ddafc6f09b6ee2012 Mon Sep 17 00:00:00 2001 From: Nick Seinsche Date: Sun, 15 Sep 2024 21:41:47 +0200 Subject: [PATCH] updating docs Signed-off-by: Nick Seinsche --- docs/source/dataframe_models.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/source/dataframe_models.md b/docs/source/dataframe_models.md index 4c4d67b31..7dc595054 100644 --- a/docs/source/dataframe_models.md +++ b/docs/source/dataframe_models.md @@ -216,7 +216,10 @@ except pa.errors.SchemaErrors as exc: ``` Note that mixtures of `DataFrame` schemas and built-in types will ignore checking built-in types -with pandera. Pydantic should be used to check and/or coerce any built-in types. +with pandera. For example, for a return value with annotation +`list[DataFrame[Schema], DataFrame[Schema]]` the elements of the list will not be checked +against the Schema. +Pydantic should be used to check and/or coerce any built-in types. ```{code-cell} python import pandas as pd