Changelog#

v2.4.2 2022-05-13

v2.4.1 2022-05-09

  • bugfix for empty Series warning generated by pandas when start or end arguments for staircase.Stairs.layer() are None or empty list (#GH143)

v2.4.0 2022-05-02

v2.3.0 2021-12-21

v2.2.0 2021-11-27

v2.1.1 2021-11-02

  • bugfix for staircase.Stairs.plot() when style=”hlines” and package numexpr installed (from pandas issue #GH34251) (#GH124)

v2.1.0 2021-10-29

Contributors: @mesejo (Daniel Mesejo-León)

v2.0.4 2021-10-12

  • bugfix for array aggregation where array contains a constant value step function over non-float domain (#GH119)

v2.0.3 2021-10-07

  • bugfix for closed attribute not preserved by addition or subtraction of Stairs when closed==”right” (#GH115)

  • bugfix for staircase.core.arrays.aggregation incorrect when collection of Stairs have closed==”right” (#GH117)

v2.0.2 2021-10-03

  • bugfix for layer function when using pandas Series with different index (#GH112)

v2.0.1 2021-09-13

  • bugfix for incorrect closed parameter not being produced by operations with right-closed step functions (#GH95)

  • bugfix for slicing with non-fixed frequency period index (#GH108)

  • bugfix for Stairs binary operations with np.nan reporting incorrect number of step changes (#GH109)

  • throw ClosedMismatchError on binary operations with different closed values (#GH96)

Contributors: @amagee (Andrew Magee)

v2.0.0 2021-08-25

v1.6.6 2021-07-06

  • workaround for groupby bug in pandas 1.3.0 (GH42395)

v1.6.5 2021-06-14

v1.6.4 2021-03-16

  • bugfix for broken functionality for multiplication, or division, of staircase.Stairs with a number

v1.6.3 2021-02-26

  • bugfix for missing lower_how and upper_how parameters in staircase.Stairs.resample()

  • renamed Stairs._values to avoid error when performing Series.groupby.sum in pandas>=1.2

v1.6.2 2020-01-13

v1.6.1 2020-12-30

v1.6.0 2020-11-10

  • support for timezones added

  • bugfix for staircase.sample() when points == None (-inf is no longer included)

  • bugfix for staircase.aggregate() where Stairs objects have non-zero value at -inf

v1.5.2 2020-10-20

v1.5.1 2020-10-15

  • removed dependency on ‘private’ methods in sortedcontainers

  • increased upper limit for version dependency on sortedcontainers

v1.5.0 2020-10-12

v1.4.0 2020-10-05

v1.3.0 2020-10-01

v1.2.0 2020-09-23

v1.1.1 2020-09-22

v1.1.0 2020-09-15

v1.0.3 2020-09-08

v1.0.[1|2] 2020-09-02

  • bugfix with Pandas 1.1.x where SortedSet cannot be used as basis for Series or DataFrame

v1.0.0 2020-09-01