Trying to run MCS analysis, but gt complains:
'DataFrame' object has no attribute 'as_matrix'
This appears to have been deprecated since 0.23.0.
- There are only two instances of as_matrix use in pygcam/mcs/sensitivity.py
- seems like they can be fixed with relative ease:
'bounds' : data.as_matrix(columns=['low','high']), ->
'bounds' : data[['low','high']].to_numpy(),
self.results = self.resultsDF[resultName].as_matrix() ->
self.results = self.resultsDF[resultName].to_numpy()
Trying to run MCS analysis, but
gtcomplains:'DataFrame' object has no attribute 'as_matrix'This appears to have been deprecated since 0.23.0.
'bounds' : data.as_matrix(columns=['low','high']),->'bounds' : data[['low','high']].to_numpy(),self.results = self.resultsDF[resultName].as_matrix()->self.results = self.resultsDF[resultName].to_numpy()