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: FutureWarning on setting column values #159

Closed venaturum closed 1 year ago

venaturum commented 1 year ago

Note: Please read this guide detailing how to provide the necessary information for us to reproduce your bug.

Problem description

staircase\staircase\core\stairs.py:140: FutureWarning: In a future version, df.iloc[:, i] = newvals will attempt to set the values inplace instead of always setting a new array. To retain the old behavior, use either df[df.columns[i]] = newvals or, if columns are non-unique, df.isetitem(i, newvals) self._data.loc[:, "value"] = _make_vals_from_deltas(