unionai-oss / pandera

A light-weight, flexible, and expressive statistical data testing library
https://www.union.ai/pandera
MIT License
3.05k stars 281 forks source link

make pandera.typing.Series[TYPE] error in polars DataFrameModel more readable #1588

Closed cosmicBboy closed 1 month ago

cosmicBboy commented 1 month ago

fixes #1587. This PR improves the error message of using pandera.typing.Series[TYPE] in a polars DataFrameModel. This annotation is not supported: the bare TYPE should be used instead.