Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package saddle

    Saddle is a Scala Data Library.

    Saddle

    Saddle is a Scala Data Library.

    Saddle provides array-backed, indexed one- and two-dimensional data structures.

    These data structures are specialized on JVM primitives. With them one can often avoid the overhead of boxing and unboxing.

    Basic operations also aim to be robust to missing values (NA's)

    The building blocks are intended to be easily composed.

    The foundational building blocks are:

    Inspiration for Saddle comes from many sources, including the R programming language, the pandas data analysis library for Python, and the Scala collections library.

    Definition Classes
    org
  • package array

    This package contains utilities for working with arrays that are specialized for numeric types.

    This package contains utilities for working with arrays that are specialized for numeric types.

    Definition Classes
    saddle
  • package binary

    Binary serialization for Frame[String,String,T] or Mat[T] with primitive T

    Binary serialization for Frame[String,String,T] or Mat[T] with primitive T

    The layout of binary format is as follows:

    • The first 6 bytes are "SADDLE"
    • The next unsigned byte is the major version
    • The next unsigned byte is the minor version
    • The next 4 bytes form a little endian integer as HEADER_LENGTH
    • The next HEADER_LENGTH bytes form an UTF-8 string as the header.
    • The header is a valid JSON object with the following fields:
      • v: numeric positive integer is the version of the header structure
      • colix : a JSON array of strings, it is the column index of the frame
      • rowix : a JSON array of strings, it is the row index of the frame
      • numrows: numeric positive integer, number of rows
      • numcols: numeric positive integer, number of cols
      • Either one of rowix or numrows may be missing
      • Either one of colix or numcols may be missing
      • rowmajor : a boolean, indicating whether the data is stored in row-major or col-major order
      • datatype : string, either "double", "long", "int", "float", "byte"
    • The header is padded with spaces (0x20) such that HEADER_LENGTH+12 is divisible by 16. The count of spaces are included in HEADER_LENGTH.
    • The next width * numRows * numCols bytes form a little endian primitive array in row-major or col-major order. numRows and numCols are determined from the rowix/numrows and colix/numcols header fields. width is determined from the datatype field (8 for double and long, 4 for int and float, 1 for byte)
    Definition Classes
    saddle
  • package csv
    Definition Classes
    saddle
  • package groupby
    Definition Classes
    saddle
  • package index
    Definition Classes
    saddle
  • package io
    Definition Classes
    saddle
  • package linalg
    Definition Classes
    saddle
  • package macros
    Definition Classes
    saddle
  • package mat
    Definition Classes
    saddle
  • package npy
    Definition Classes
    saddle
  • package ops

    Provides type aliases for a few basic operations

    Provides type aliases for a few basic operations

    Definition Classes
    saddle
  • package scalar
    Definition Classes
    saddle
  • package spire
    Definition Classes
    saddle
  • package util

    Additional utilities that need a home

    Additional utilities that need a home

    Definition Classes
    saddle
  • package vec

    Factory methods to generate Vec instances

    Factory methods to generate Vec instances

    Definition Classes
    saddle
  • ArrToVec
  • Buffer
  • FillBackward
  • FillForward
  • FillMethod
  • Frame
  • Index
  • Mat
  • Numeric
  • OptionToScalar
  • PctMethod
  • PrimitiveToScalar
  • RankTie
  • SeqToFrame
  • SeqToFrame2
  • SeqToIndex
  • SeqToMat
  • SeqToSeries
  • SeqToVec
  • Series
  • Vec
  • VecDoubleOps
  • doubleIsNumeric
  • floatIsNumeric
  • intIsNumeric
  • longIsNumeric
  • order

object Series extends BinOpSeries

Linear Supertypes
BinOpSeries, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Series
  2. BinOpSeries
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final class SrScEOp[OP <: ScalarOp, X, A, B, C] extends BinOp[OP, Series[X, A], B, Series[X, C]]
    Definition Classes
    BinOpSeries
  2. final class SrSrEOp[OP <: ScalarOp, X, A, B, C] extends BinOp[OP, Series[X, A], Series[X, B], Series[X, C]]
    Definition Classes
    BinOpSeries

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit def SrScEOpBBB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Boolean], Boolean, Vec[Boolean]]): SrScEOp[Op, X, Boolean, Boolean, Boolean]
    Definition Classes
    BinOpSeries
  5. implicit def SrScEOpDDB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Double], Double, Vec[Boolean]]): SrScEOp[Op, X, Double, Double, Boolean]
    Definition Classes
    BinOpSeries
  6. implicit def SrScEOpDDD[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Double], Double, Vec[Double]]): SrScEOp[Op, X, Double, Double, Double]
    Definition Classes
    BinOpSeries
  7. implicit def SrScEOpDIB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Double], Int, Vec[Boolean]]): SrScEOp[Op, X, Double, Int, Boolean]
    Definition Classes
    BinOpSeries
  8. implicit def SrScEOpDID[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Double], Int, Vec[Double]]): SrScEOp[Op, X, Double, Int, Double]
    Definition Classes
    BinOpSeries
  9. implicit def SrScEOpDLB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Double], Long, Vec[Boolean]]): SrScEOp[Op, X, Double, Long, Boolean]
    Definition Classes
    BinOpSeries
  10. implicit def SrScEOpDLD[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Double], Long, Vec[Double]]): SrScEOp[Op, X, Double, Long, Double]
    Definition Classes
    BinOpSeries
  11. implicit def SrScEOpIDB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Int], Double, Vec[Boolean]]): SrScEOp[Op, X, Int, Double, Boolean]
    Definition Classes
    BinOpSeries
  12. implicit def SrScEOpIDD[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Int], Double, Vec[Double]]): SrScEOp[Op, X, Int, Double, Double]
    Definition Classes
    BinOpSeries
  13. implicit def SrScEOpIIB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Int], Int, Vec[Boolean]]): SrScEOp[Op, X, Int, Int, Boolean]
    Definition Classes
    BinOpSeries
  14. implicit def SrScEOpIII[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Int], Int, Vec[Int]]): SrScEOp[Op, X, Int, Int, Int]
    Definition Classes
    BinOpSeries
  15. implicit def SrScEOpILB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Int], Long, Vec[Boolean]]): SrScEOp[Op, X, Int, Long, Boolean]
    Definition Classes
    BinOpSeries
  16. implicit def SrScEOpILL[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Int], Long, Vec[Long]]): SrScEOp[Op, X, Int, Long, Long]
    Definition Classes
    BinOpSeries
  17. implicit def SrScEOpLDB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Long], Double, Vec[Boolean]]): SrScEOp[Op, X, Long, Double, Boolean]
    Definition Classes
    BinOpSeries
  18. implicit def SrScEOpLDD[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Long], Double, Vec[Double]]): SrScEOp[Op, X, Long, Double, Double]
    Definition Classes
    BinOpSeries
  19. implicit def SrScEOpLIB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Long], Int, Vec[Boolean]]): SrScEOp[Op, X, Long, Int, Boolean]
    Definition Classes
    BinOpSeries
  20. implicit def SrScEOpLIL[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Long], Int, Vec[Long]]): SrScEOp[Op, X, Long, Int, Long]
    Definition Classes
    BinOpSeries
  21. implicit def SrScEOpLLB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Long], Long, Vec[Boolean]]): SrScEOp[Op, X, Long, Long, Boolean]
    Definition Classes
    BinOpSeries
  22. implicit def SrScEOpLLL[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Long], Long, Vec[Long]]): SrScEOp[Op, X, Long, Long, Long]
    Definition Classes
    BinOpSeries
  23. implicit def SrSrEOpBBB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Boolean], Vec[Boolean], Vec[Boolean]]): SrSrEOp[Op, X, Boolean, Boolean, Boolean]
    Definition Classes
    BinOpSeries
  24. implicit def SrSrEOpDDB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Double], Vec[Double], Vec[Boolean]]): SrSrEOp[Op, X, Double, Double, Boolean]
    Definition Classes
    BinOpSeries
  25. implicit def SrSrEOpDDD[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Double], Vec[Double], Vec[Double]]): SrSrEOp[Op, X, Double, Double, Double]
    Definition Classes
    BinOpSeries
  26. implicit def SrSrEOpDIB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Double], Vec[Int], Vec[Boolean]]): SrSrEOp[Op, X, Double, Int, Boolean]
    Definition Classes
    BinOpSeries
  27. implicit def SrSrEOpDID[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Double], Vec[Int], Vec[Double]]): SrSrEOp[Op, X, Double, Int, Double]
    Definition Classes
    BinOpSeries
  28. implicit def SrSrEOpDLB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Double], Vec[Long], Vec[Boolean]]): SrSrEOp[Op, X, Double, Long, Boolean]
    Definition Classes
    BinOpSeries
  29. implicit def SrSrEOpDLD[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Double], Vec[Long], Vec[Double]]): SrSrEOp[Op, X, Double, Long, Double]
    Definition Classes
    BinOpSeries
  30. implicit def SrSrEOpIDB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Int], Vec[Double], Vec[Boolean]]): SrSrEOp[Op, X, Int, Double, Boolean]
    Definition Classes
    BinOpSeries
  31. implicit def SrSrEOpIDD[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Int], Vec[Double], Vec[Double]]): SrSrEOp[Op, X, Int, Double, Double]
    Definition Classes
    BinOpSeries
  32. implicit def SrSrEOpIIB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Int], Vec[Int], Vec[Boolean]]): SrSrEOp[Op, X, Int, Int, Boolean]
    Definition Classes
    BinOpSeries
  33. implicit def SrSrEOpIII[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Int], Vec[Int], Vec[Int]]): SrSrEOp[Op, X, Int, Int, Int]
    Definition Classes
    BinOpSeries
  34. implicit def SrSrEOpILB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Int], Vec[Long], Vec[Boolean]]): SrSrEOp[Op, X, Int, Long, Boolean]
    Definition Classes
    BinOpSeries
  35. implicit def SrSrEOpILL[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Int], Vec[Long], Vec[Long]]): SrSrEOp[Op, X, Int, Long, Long]
    Definition Classes
    BinOpSeries
  36. implicit def SrSrEOpLDB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Long], Vec[Double], Vec[Boolean]]): SrSrEOp[Op, X, Long, Double, Boolean]
    Definition Classes
    BinOpSeries
  37. implicit def SrSrEOpLDD[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Long], Vec[Double], Vec[Double]]): SrSrEOp[Op, X, Long, Double, Double]
    Definition Classes
    BinOpSeries
  38. implicit def SrSrEOpLIB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Long], Vec[Int], Vec[Boolean]]): SrSrEOp[Op, X, Long, Int, Boolean]
    Definition Classes
    BinOpSeries
  39. implicit def SrSrEOpLIL[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Long], Vec[Int], Vec[Long]]): SrSrEOp[Op, X, Long, Int, Long]
    Definition Classes
    BinOpSeries
  40. implicit def SrSrEOpLLB[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Long], Vec[Long], Vec[Boolean]]): SrSrEOp[Op, X, Long, Long, Boolean]
    Definition Classes
    BinOpSeries
  41. implicit def SrSrEOpLLL[Op <: ScalarOp, X](implicit cm: ST[X], cmp: ORD[X], opv: BinOp[Op, Vec[Long], Vec[Long], Vec[Long]]): SrSrEOp[Op, X, Long, Long, Long]
    Definition Classes
    BinOpSeries
  42. def apply[X, T](values: (X, T)*)(implicit arg0: ST[X], arg1: ORD[X], arg2: ST[T]): Series[X, T]

    Factory method to create a Series from a sequence of key/value pairs

    Factory method to create a Series from a sequence of key/value pairs

    X

    Type of key

    T

    Type of value

    values

    a sequence of (key -> value) tuples

  43. def apply[T](values: T*)(implicit arg0: ST[T]): Series[Int, T]

    Factory method to create a Series from a sequence of values; keys are integer offsets

    Factory method to create a Series from a sequence of values; keys are integer offsets

    T

    Type of values

    values

    a sequence of values

  44. def apply[T](values: Vec[T])(implicit arg0: ST[T]): Series[Int, T]

    Factory method to create a Series from a Vec; keys are integer offsets

    Factory method to create a Series from a Vec; keys are integer offsets

    T

    Type of values

    values

    a Vec of values

  45. def apply[X, T](index: Index[X], values: Vec[T])(implicit arg0: ST[X], arg1: ORD[X], arg2: ST[T]): Series[X, T]

    Factory method to create a Series from a Vec and an Index

    Factory method to create a Series from a Vec and an Index

    X

    Type of keys

    T

    Type of values

    index

    an index of keys

    values

    a Vec of values

  46. def apply[X, T](values: Vec[T], index: Index[X])(implicit arg0: ST[X], arg1: ORD[X], arg2: ST[T]): Series[X, T]

    Factory method to create a Series from a Vec and an Index

    Factory method to create a Series from a Vec and an Index

    X

    Type of keys

    T

    Type of values

    values

    a Vec of values

    index

    an index of keys

  47. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  48. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  49. def empty[X, T](implicit arg0: ST[X], arg1: ORD[X], arg2: ST[T]): Series[X, T]

    Factory method to create an empty Series

    Factory method to create an empty Series

    X

    Type of keys

    T

    Type of values

  50. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  51. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  52. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  53. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  54. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  55. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  56. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  57. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  58. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  59. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  60. def table[T](data: Vec[T])(implicit arg0: ST[T], arg1: ORD[T]): Series[T, Int]
  61. def toString(): String
    Definition Classes
    AnyRef → Any
  62. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  63. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  64. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from BinOpSeries

Inherited from AnyRef

Inherited from Any

Ungrouped