SeriesBuilder

class SeriesBuilder(name: String)
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[T](values: T | Null*)(implicit evidence$27: ClassTag[T]): Series[T]

Creates a Series from values. Undefined values are symbolized by null.

Creates a Series from values. Undefined values are symbolized by null.

Value Params
values

Values of the Series.

Returns

Created Series.

See also
Since

0.1.0

Note
  • The Series is null safe, i.e. null values are not stored but represented internally by a mask.
  • The type of, e.g., Series(1, null, 3) is of type Series[Int] and is implemented as a primitive type.
  • Automatic type casting in the argument list works only without null values, i.e. Series(1, 1.1) and Series(1, null, 1.1) is of type Series[Double] whereas Series(1, null ,1.1) is of type Series[Any].
def fill[T](length: Int)(value: T)(implicit evidence$28: ClassTag[T]): Series[T]

Creates an Series of length length with the given value.

Creates an Series of length length with the given value.

Value Params
length

Length of the Series.

value

Value for all elements.

Returns

New Series.

Since

0.1.0

def from[T](data: Array[T])(implicit evidence$29: ClassTag[T]): Series[T]

Creates a Series from a collection of data.

Creates a Series from a collection of data.

Value Params
data

Collection.

Returns

Created Series.

Since

0.1.0

def from[T](data: Buffer[T])(implicit evidence$30: ClassTag[T]): Series[T]

Creates a Series from a collection of data.

Creates a Series from a collection of data.

Value Params
data

Collection.

Returns

Created Series.

Since

0.1.0

def from[T](data: Seq[T])(implicit evidence$31: ClassTag[T]): Series[T]

Creates a Series from a collection of data.

Creates a Series from a collection of data.

Value Params
data

Collection.

Returns

Created Series.

Since

0.1.0

@targetName("fromOption")
def from[T](data: Array[Option[T]])(implicit evidence$32: ClassTag[T]): Series[T]

Creates a Series from a collection of Option data, where the Option is unpacked.

Creates a Series from a collection of Option data, where the Option is unpacked.

Value Params
data

Collection of type Option[T].

Returns

Created Series of type T.

Since

0.1.0

@targetName("fromOption")
def from[T](data: Seq[Option[T]])(implicit evidence$33: ClassTag[T]): Series[T]

Creates a Series from a collection of Option data, where the Option is unpacked.

Creates a Series from a collection of Option data, where the Option is unpacked.

Value Params
data

Collection of type Option[T].

Returns

Created Series of type T.

Since

0.1.0

def mutable[T](values: T | Null*)(implicit evidence$34: ClassTag[T]): MutableSeries[T]

Creates a mutable Series from values. Undefined values are symbolized by null.

Creates a mutable Series from values. Undefined values are symbolized by null.

Value Params
values

Values of the Series.

Returns

Created MutableSeries.

See also
Since

0.1.0

Note
  • The Series is null safe, i.e. null values are not stored but represented internally by a mask.
  • The type of, e.g., Series(1, null, 3) is of type Series[Int] and is implemented as a primitive type.
  • Automatic type casting in the argument list works only without null values, i.e. Series(1, 1.1) and Series(1, null, 1.1) is of type Series[Double] whereas Series(1, null ,1.1) is of type Series[Any].
override def toString: String

String representation.

String representation.

Returns

"SeriesBuilder" with name of Series.

Since

0.1.0

Definition Classes
Any