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

Print the correct column difference when dataframe columns do not mat… #23

Open AmirAl-Jumaily opened 5 years ago

AmirAl-Jumaily commented 5 years ago

…ch schema columns

multimeric commented 5 years ago

Hi Amir, thanks for fixing this, it does look like a bug, considering columns is a list of strings and self.columns is not. I should add a type checker to detect issues like this.

Do you think you could add a minimal case of this error to the test suite? It would be very helpful for avoiding issues like this in the future.