We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54f85d3 commit cd1f2deCopy full SHA for cd1f2de
test/data/schema/incompatible_with_sample_df.py
@@ -4,7 +4,7 @@
4
from pandera.typing import Series
5
6
7
-class Schema(pa.SchemaModel):
+class Schema(pa.DataFrameModel):
8
int1: Series[int] = pa.Field(nullable=False)
9
float1: Series[int] = pa.Field()
10
string1: Series[float] = pa.Field()
test/data/schema/invalid.py
-class SchemaWithWrongName(pa.SchemaModel):
+class SchemaWithWrongName(pa.DataFrameModel):
float1: Series[float] = pa.Field()
string1: Series[str] = pa.Field()
0 commit comments