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

Column value coming as None in ValidationWarning instance #65

Closed pranshuag9 closed 2 years ago

pranshuag9 commented 2 years ago

I am trying to get the column name from a ValidationWarning instance but it is returning as None. The issue is because while creating the ValidationWarning object, it is not set with column name, but only with message.

pranshuag9 commented 2 years ago

I have added a solution for this minor issue. If you find the solution to be correct and non-breaking change, Please merge it, and please try to release it as soon as possible.

Thanks & Regards, Pranshu Aggarwal