Method: Charty::Index#==
- Defined in:
- lib/charty/index.rb
#==(other) ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/charty/index.rb', line 18 def ==(other) case other when DaruIndex, PandasIndex return false if length != other.length to_a == other.to_a when Index return false if length != other.length return true if values == other.values to_a == other.to_a else super end end |