v0.15.0: Support Pandas 2 and Python 3.11, Generic Types, Default Values
🔥 Highlights
- Support pandas 2 by @cosmicBboy in #1175
- Generic types: support Dict, List, Tuple, TypedDict, NamedTuple by @cosmicBboy in #1171
- Add
default
column value param by @kykyi in #1136 - support bare data type annotations in DataFrameModel by @cosmicBboy in #1166
Support for pandas 2 with dask , modin , and pyspark is currently not tested and is not guaranteed to work |
⭐️ What's Changed
- Type-coerce indexes when coercion requested at schema level by @davidbossanyi in #1139
- fix(coercion): datetime tz aware into another timezone by @gjeusel in #1147
- Add title and description to _get_series_base_schema_statistics by @Finesim97 in #1151
- fix: mypy plugin avoid calling get_typename on None by @timleslie in #1154
- Refactor schema backends by @cosmicBboy in #1144
- prevent docstring from raising SyntaxError by @gabrielecalvo in #1163
- add data types docs, fix dtype bug at DF level by @cosmicBboy in #1178
🤝 New Contributors
Shoutout to the new contributors! 📣
- @davidbossanyi made their first contribution in #1139
- @gjeusel made their first contribution in #1147
- @Finesim97 made their first contribution in #1151
- @timleslie made their first contribution in #1154
- @kykyi made their first contribution in #1136
- @gabrielecalvo made their first contribution in #1163
Full Changelog: v0.14.5...v0.15.0