climpred.classes.PredictionEnsemble.equals#
- PredictionEnsemble.equals(other: PredictionEnsemble | Any) bool[source]#
Check if
PredictionEnsembleis equal to other.Two
PredictionEnsembleare equal if they have matching variables and coordinates, all of which are equal.PredictionEnsemblescan still be equal (like pandas objects) if they have NaN values in the same locations. This method is necessary because v1 == v2 forPredictionEnsemblesdoes element-wise comparisons (like numpy.ndarrays).See also