Skip to content

Commit

Permalink
use stdlib deprecation instead of numpy
Browse files Browse the repository at this point in the history
  • Loading branch information
phobson committed Oct 8, 2024
1 parent 2df78ca commit 1e0a641
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wqio/features.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import warnings

import numpy
import pandas
import seaborn
Expand Down Expand Up @@ -193,8 +195,8 @@ def dataframe(self):
return self._dataframe

@property
@numpy.deprecate
def full_data(self):
warnings.warn("Use DataCollection.dataframe instead", DeprecationWarning)
return self.dataframe

@property
Expand Down

0 comments on commit 1e0a641

Please sign in to comment.