Skip to content

Releases: StreetEasy/dfs

v0.0.12

13 Aug 17:56
b32729d
Compare
Choose a tag to compare

What's Changed

Fixed:

  • using na_pct_below
  • from_df now includes metadata
  • from_df now generates correct na_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

14 Jun 18:08
1b76edc
Compare
Choose a tag to compare

What's Changed

  • DfSchema.metadata object now has generated_with subobject that stores versions of dfschema and pandas 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 to na_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

11 May 14:50
e376b13
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.9...v0.0.10

v0.0.9

10 May 22:18
18a6529
Compare
Choose a tag to compare

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

15 Mar 14:52
054e7b2
Compare
Choose a tag to compare

Legacy Schema Aliases (support for legacy schemas):

  • min_value now also supports min alias
  • max_value now also supports max alias
  • oneof now also supports one_of alias
  • version is now correctly moved to metadata from root on migration
  • If column schema has both oneof and includes and they are identical, will replace with exact_set

Testing:

  • conftest code improved to showcase bad json on Exception
  • multiple v1 schemas were added for testing
  • pre-commit setup was updated

v0.0.7

14 Mar 21:34
fde0581
Compare
Choose a tag to compare

FIX:

  • allows legacy schemas to have both strict and strict_cols attribute

v0.0.6

14 Mar 16:02
6f40e19
Compare
Choose a tag to compare

Major changes:

  • renamed dfs.validate_df to dfs.validate
  • CLI command help texts

Minor changes:

  • added pre-commit install to the repo
  • Some benchmarking
  • DfSchema.to_file, DfSchema.from_file proper testing

v0.0.5

24 Oct 18:50
800fa26
Compare
Choose a tag to compare
  • fix bug with invalid dtype on generation

v0.0.4

21 Oct 20:32
61b33ae
Compare
Choose a tag to compare

Auto-bump version from tag name

v0.0.3

21 Oct 19:43
6eb15b4
Compare
Choose a tag to compare

Third attempt to publish