Bugfix in Measures.get_point_statistics for multivariate support
This commit is contained in:
parent
ca117e05c7
commit
d181493c38
@ -312,6 +312,10 @@ def get_point_statistics(data, model, **kwargs):
|
||||
|
||||
if indexer is not None:
|
||||
ndata = np.array(indexer.get_data(data))
|
||||
elif model.is_multivariate:
|
||||
if not isinstance(data, pd.DataFrame):
|
||||
raise ValueError("Multivariate data must be a Pandas DataFrame!")
|
||||
ndata = data
|
||||
else:
|
||||
ndata = np.array(data)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user