staircase-dev / staircase

A powerful data analysis package based on mathematical step functions. Strongly aligned with pandas.
https://staircase.dev
MIT License
59 stars 12 forks source link

BUG: pandas warning generated when either start or end is None or empty list #143

Closed venaturum closed 2 years ago

venaturum commented 2 years ago

After refactoring for staircase 2.4.0 the following warning is generated when using None or empty list as arguments for start or end parameters during construction

DeprecationWarning: The default dtype for empty Series will be 'object' instead of 'float64' in a future version. Specify a dtype explicitly to silence this warning.