class Series(T, V)
- Series(T, V)
- Reference
- Object
Overview
A Series
is a one dimensional view of a Frame
.
Slicing column-wise will return a Series
. A Series
stores its own index information even if an index
is being tracked by a Frame.
Defined in:
frame/series.crConstructors
- .new(t : Tensor(U), index : Index(V), name : Symbol = :unnamed) forall U, V
- .new(t : Tensor(U), name : Symbol = :unnamed) forall U
Instance Method Summary
- #[](i : V)
- #add(other : Number)
- #add(other : FrameSlice)
- #all
- #any
- #bitwise_and(other : Number)
- #bitwise_and(other : FrameSlice)
- #bitwise_or(other : Number)
- #bitwise_or(other : FrameSlice)
- #bitwise_xor(other : Number)
- #bitwise_xor(other : FrameSlice)
- #data : Tensor(T)
- #divide(other : Number)
- #divide(other : FrameSlice)
- #equal(other : Number)
- #equal(other : FrameSlice)
- #floordiv(other : Number)
- #floordiv(other : FrameSlice)
- #greater(other : Number)
- #greater(other : FrameSlice)
- #greater_equal(other : Number)
- #greater_equal(other : FrameSlice)
- #index : Index(V)
- #left_shift(other : Number)
- #left_shift(other : FrameSlice)
- #less(other : Number)
- #less(other : FrameSlice)
- #less_equal(other : Number)
- #less_equal(other : FrameSlice)
- #max
- #mean
- #min
- #modulo(other : Number)
- #modulo(other : FrameSlice)
- #multiply(other : Number)
- #multiply(other : FrameSlice)
- #name : Symbol
- #not_equal(other : Number)
- #not_equal(other : FrameSlice)
- #power(other : Number)
- #power(other : FrameSlice)
- #prod
- #right_shift(other : Number)
- #right_shift(other : FrameSlice)
- #set_index!(index : Index(V))
- #std
- #subtract(other : Number)
- #subtract(other : FrameSlice)
- #sum
- #to_a
- #to_tensor
- #unique
Constructor Detail
Initializes a Series
from a Tensor
, Index
and a #name
.
If no name is provided the Series
will be unnamed,
and a name will be inferred if adding this to a
Frame
Arguments
t
: Tensor(U)
One dimensional input Tensor
#index
: Index(V)
Index for the Series
#name
: Symbol
Identifier for the Series
Initializes a Series
from a Tensor
and a #name
.
If no name is provided the Series
will be unnamed,
and a name will be inferred if adding this to a
Frame
Arguments
t
: Tensor(U)
One dimensional input Tensor
#name
: Symbol
Identifier for the Series