Skip to content

v3.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 30 Jan 15:15
3e44f2b

3.2.0 (2024-01-30)

Highlights

  • new property DimcatResource.metadata, populated byDataset
  • New PrevalenceAnalyzer and its result types:
    • PrevalenceMatrix
    • RelativePrevalenceMatrix
    • CulledPrevalenceMatrix
    • CulledRelativePrevalenceMatrix
    • GroupwisePrevalenceMatrix
  • additional plot types
    • make_line_plot
    • make_scatter_3d_plot

Features

  • adds basis of PrevalenceAnalyzer and PrevalenceMatrix(Result) (1f5469f)
  • adds DimcatResource.join_on_index() (269c12c)
  • adds methods .get_culled_matrix() and .get_relative_matrix() to PrevalenceMatrix, together with the relevant subclasses as result types (523418d)
  • adds plotting.make_line_plot(), factoring out _make_plots() boilerplate that all plotting function share (a1ba183)
  • adds plotting.make_scatter_3d_plot() (ec13ba8)
  • adds property DimcatResource.metadata which the Dataset populates upon feature extraction but is not serialized (c5e2eee)
  • adds relevant properties and methods to PrevalenceMatrix (328fff6)
  • adds utils.str2pd_interval (da24cb9)
  • allows friendly comparison for FriendlyEnums, such as "desc" == SortOrder.DESCENDING -> True (03d57f6)
  • implements PrevalenceAnalyzer.compute() staticmethod, .init(), .groupby_apply() and Schema (25d558b)
  • implements PrevalenceMatrix.combine_results() (35fbb39)

Bug Fixes

  • catches pandas 2.2.0 warning(s) (88e86bd)
  • enables DimcatResource.from_resource_path() by expecting a "corpus" and a "piece" column (6c70e61)
  • import Self from typing_extensions (not typing) to maintain Python 3.10 compatibility (a104358)
  • infer_schema_from_df() now can deal with column MultiIndex that involves integer values (a43fdf7)
  • plotting functions allow for a single string as argument to 'hover_data' (57230df)

Documentation

  • docstring for DimcatConfig (fe35049)