DataFrame.opIndex

Element access based on integral index Usage: df[["Index1"], ["Index2"]]

  1. auto opIndex(size_t i1, size_t i2)
  2. auto opIndex(T rindx, U cindx)
    struct DataFrame(FrameFields...)
    opIndex
    (
    T
    U
    )
    (,)
    if (
    (
    is(T == string) ||
    is(T == string[])
    )
    &&
    (
    is(U == string) ||
    is(U == string[])
    )
    )
    if (
    FrameFields.length > 0 &&
    (
    (
    !isType!(FrameFields[0]) &&
    is(typeof(FrameFields[0]) == bool)
    &&
    FrameFields[0] == true
    &&
    FrameFields.length > 1
    )
    ||
    isType!(FrameFields[0])
    )
    )
  3. auto opIndex(string[] index, Args args)

Meta