Skip to content

v0.5.0

Latest
Compare
Choose a tag to compare
@ClaireDons ClaireDons released this 11 Jun 09:19
· 1 commit to main since this release

With this release, Lilio now supports a safe and greedy mode for creating intervals and can infer data frequency. For more details, see overview below:

Changed

  • Moved to ruff formatter instead of black (#70)
  • Do import sorting with ruff instead of isort (#70)
  • Option for "greedy" mode which creates an interval if any data is available within the time bound (#75)
  • map_to_data now tries to infer the time bounds for the data, and uses those to determine which anchor years are valid (#75)
  • Tests for greedy and safe mode, including inferring data frequency (#75)

Fixed

  • Fixed issue with calendar generation when the (rightmost) target period crossed into the new year (#70).
  • Fixed issue with Pandas 2.2 where 'M' changed to 'ME' (#72)
  • Fixed issue where pd.Interval now shows time where it is not wanted (#72). The issue was raised with Pandas ([#57748] pandas-dev/pandas#57748).
  • Added tests for latest version of macos (with M1 chips) (#73)
  • Fixed a bug in map_to_data that lead to anchor years being included when they should not have (#75)