multimeric / PandasSchema

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

Load schema from db #6

Closed oshribr closed 6 years ago

oshribr commented 6 years ago

What the way to load schema from the DB?

multimeric commented 6 years ago

If you are storing your data in a a relational (or other) database, I recommend using the database's inbuilt validation facilities (e.g. https://www.postgresql.org/docs/current/static/ddl-constraints.html).

PandasSchema is more useful for situations where your data is stored in raw CSV/TSV files rather than a database, and you also need data validation.