Releases: StreetEasy/dfs
Releases · StreetEasy/dfs
v0.0.12
What's Changed
Fixed:
- using
na_pct_below
from_df
now includes metadatafrom_df
now 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.metadata
object now hasgenerated_with
subobject that stores versions ofdfschema
andpandas
used to generate this schema (In the future will warn if Schema is initialized from json, generated by later version than one running on)na_limit
is renamed tona_pct_below
to make it unambiguous (with backward support)- for columns added
optional=True
flag. 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_value
now also supportsmin
aliasmax_value
now also supportsmax
aliasoneof
now also supportsone_of
aliasversion
is now correctly moved tometadata
from root on migration- If column schema has both
oneof
andincludes
and 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