Releases: StreetEasy/dfs
Releases · StreetEasy/dfs
v0.0.12
What's Changed
Fixed:
- using
na_pct_below from_dfnow includes metadatafrom_dfnow generates correctna_pct_below(0.01) for full datasets #63
Changed:
- bumped minimum python version to 3.8
- Support for Python 3.11 #54
- Pydantic migrated to v2
- Allows use of Pandas v2
Full Changelog: v0.0.11...v0.0.12
v0.0.11
What's Changed
DfSchema.metadataobject now hasgenerated_withsubobject that stores versions ofdfschemaandpandasused to generate this schema (In the future will warn if Schema is initialized from json, generated by later version than one running on)na_limitis renamed tona_pct_belowto make it unambiguous (with backward support)- for columns added
optional=Trueflag. If true, schema will not raise an exception if column is not present (but will validate it if it exists) - added new cli command:
dfschema update {existing_schema} {output_schema}will upgrade existing schema to the latest standard
Full Changelog: v0.0.10...v0.0.11
v0.0.10
v0.0.9
What's Changed
- Pydantic bumped to
1.10 - Fixed bug when categorical value_set values are converted to string
Full Changelog: v0.0.8...v0.0.9
v0.0.8
Legacy Schema Aliases (support for legacy schemas):
min_valuenow also supportsminaliasmax_valuenow also supportsmaxaliasoneofnow also supportsone_ofaliasversionis now correctly moved tometadatafrom root on migration- If column schema has both
oneofandincludesand they are identical, will replace withexact_set
Testing:
- conftest code improved to showcase bad json on Exception
- multiple v1 schemas were added for testing
- pre-commit setup was updated