MutableSeriesBuilder

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

Value members

Concrete methods

def fill[T](length: Int)(value: T)(implicit evidence$35: ClassTag[T]): MutableSeries[T]

Creates an mutable Series of length length with the given value.

Creates an mutable Series of length length with the given value.

Value Params
length

Length of the Series.

value

Value for all elements.

Returns

New MutableSeries.

Since

0.1.0

def from[T](data: Array[T])(implicit evidence$36: ClassTag[T]): MutableSeries[T]

Creates a mutable Series from a collection of data.

Creates a mutable Series from a collection of data.

Value Params
data

Collection.

Returns

Created MutableSeries.

Since

0.1.0

def from[T](data: Buffer[T])(implicit evidence$37: ClassTag[T]): MutableSeries[T]

Creates a mutable Series from a collection of data.

Creates a mutable Series from a collection of data.

Value Params
data

Collection.

Returns

Created MutableSeries.

Since

0.1.0

def from[T](data: Seq[T])(implicit evidence$38: ClassTag[T]): MutableSeries[T]

Creates a mutable Series from a collection of data.

Creates a mutable Series from a collection of data.

Value Params
data

Collection.

Returns

Created MutableSeries.

Since

0.1.0

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

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

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

Value Params
data

Collection of type Option[T].

Returns

Created MutableSeries of type T.

Since

0.1.0

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

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

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

Value Params
data

Collection of type Option[T].

Returns

Created MutableSeries of type T.

Since

0.1.0

override def toString: String

String representation.

String representation.

Returns

"MutableSeriesBuilder" with name of Series.

Since

0.1.0

Definition Classes
Any
def wrap[T](array: Array[T]): MutableSeries[T]

Wraps the array into a mutable Series without copying.

Wraps the array into a mutable Series without copying.

Warning: Ensure that the array is not used after wrapping. Otherwise no guarantees can be given with regards to correct functionality, null safety, etc.

Value Params
array

Array to be wrapped by a mutable Series.

Returns

MutableSeries.

Since

0.1.0

Note

Arrays with reference types are checked for null values and masked if required.