📜  类似于 pandera 中的惰性函数的类似函数 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:20.841000             🧑  作者: Mango

代码示例1
try:
    schema.validate(df, lazy=True)
except pa.errors.SchemaErrors as err:
    print("Schema errors and failure cases:")
    print(err.failure_cases.head())
    print("\nDataFrame object that failed validation:")
    print(err.data.head())