class Pandas::Index

Public Instance Methods

length() click to toggle source
# File lib/pandas/index.rb, line 21
def length
  size
end
monotonic?() click to toggle source
# File lib/pandas/index.rb, line 5
def monotonic?
  is_monotonic
end
monotonic_decreasing?() click to toggle source
# File lib/pandas/index.rb, line 9
def monotonic_decreasing?
  is_monotonic_decreasing
end
monotonic_increasing?() click to toggle source
# File lib/pandas/index.rb, line 13
def monotonic_increasing?
  is_monotonic_increasing
end
to_a() click to toggle source
# File lib/pandas/index.rb, line 25
def to_a
  Array.new(length) {|i| self[i] }
end
to_narray() click to toggle source
# File lib/pandas/index.rb, line 29
def to_narray
  to_numpy.to_narray
end
unique?() click to toggle source
# File lib/pandas/index.rb, line 17
def unique?
  is_unique
end