multimeric / PandasSchema

A validation library for Pandas data frames using user-friendly schemas
https://multimeric.github.io/PandasSchema/
GNU General Public License v3.0
189 stars 35 forks source link

InRangeValidation dose not show the min and max number when error occured #69

Open soseki-angfa opened 1 year ago

soseki-angfa commented 1 year ago

Hello there,

I set following to define schema.

schema = Schema([
Column("code",   [InRangeValidation(0, 999999999999999)],allow_empty=True)
])

Then, I get following error message.

{row: 0, column: "code"}: "999999999999999999999" was not in the range [{}, {})

Do you have any suggestion for this?