skbio.metadata.Interval.__eq__¶
-
Interval.
__eq__
(other)[source]¶ Test if this
Interval
object is equal to another.State: Experimental as of 0.5.1.
The equality is performed by checking if the
metadata
,bounds
andfuzzy
are equal. Since thebounds
and thefuzzy
are sorted, the permutations of them during theInterval
construction or assignment won’t matter.- Parameters
other (Interval) – Interval to test for equality against.
- Returns
Indicates if the two objects are equal.
- Return type
bool