gokart icon indicating copy to clipboard operation
gokart copied to clipboard

Draft: Dump with Type Check

Open dn070017 opened this issue 11 months ago • 1 comments

Add new property expected_output_dataframe_type for gokart.TaskOnKart which allows the users to provide the Pandera schema. If expected_output_dataframe_type is provided, when loading (load) and storing (dump) the cached dataframe, it will automatically check if the dataframe meet the schema defined in expected_output_dataframe_type. See test/test_task_on_kart.py for example usage.

[must] fix error from mypy

dn070017 avatar Mar 22 '24 05:03 dn070017

@dn070017 Please check mypy failure.

hirosassa avatar Mar 22 '24 20:03 hirosassa