SeriesDouble
Series extension for type Double.
- Since
0.1.0
Value members
Concrete methods
Inherited methods
Compares the entries of the Series with the value v returning a boolean Series with entries
Compares the entries of the Series with the value v returning a boolean Series with entries
trueif values are not equal,falseif values are equal,nullif the value of the series is not defined (null).
- Value Params
- v
Value to compare with.
- Returns
Boolean Series.
- See also
- Since
0.1.0
- Inherited from
- Series
Compares the entries of the Series with the value v returning a boolean Series with entries
Compares the entries of the Series with the value v returning a boolean Series with entries
trueif values are not equal,falseif values are equal,nullif the value of the series is not defined (null).
- Value Params
- v
Value to compare with.
- Returns
Boolean Series.
- See also
- Since
0.1.0
- Inherited from
- Series
Compares the entries of the Series with the value v returning a boolean Series with entries
Compares the entries of the Series with the value v returning a boolean Series with entries
trueif values are not equal,falseif values are equal,nullif the value of the series is not defined (null).
- Value Params
- v
Value to compare with.
- Returns
Boolean Series.
- See also
- Since
0.1.0
- Inherited from
- Series
Compares the entries of the Series with the value v returning a boolean Series with entries
Compares the entries of the Series with the value v returning a boolean Series with entries
trueif values are not equal,falseif values are equal,nullif the value of the series is not defined (null).
- Value Params
- v
Value to compare with.
- Returns
Boolean Series.
- See also
- Since
0.1.0
- Inherited from
- Series
Compares two series row-by-row returning a boolean Series with entries
Compares two series row-by-row returning a boolean Series with entries
trueif values are not equal,falseif values are equal,nullif one of the values is not defined (null) or is not in the index.
- Value Params
- series
Series to compare with.
- Returns
Boolean Series with index of left operand.
- See also
- Since
0.1.0
- Inherited from
- Series
Prepends a string to a Series, where the Series is converted to a String Series if required.
Prepends a string to a Series, where the Series is converted to a String Series if required.
- Value Params
- string
String to be prepended.
- Returns
String Series.
- See also
- Since
0.1.0
- Inherited from
- Series
Concatenates the Series on the left and the Series on the right hand side.
Concatenates the Series on the left and the Series on the right hand side.
- Value Params
- series
DataFrame.
- Returns
DataFrame, where the Series
seriesis the first column.- Throws
- MergeIndexException
If indices are not compatible.
- See also
- Since
0.1.0
- Note
- Columns with the same name are replaced by the rightmost column.
- The index of the left Series must be included in the right Series.
- Data on the left hand side might be copied if indices are not equivalent.
- The resulting index is equivalent to the right operand.
- The operators
|and::are equivalent if indices on the left and right side are equal.
- Inherited from
- Series
Concatenates the DataFrame on the left and the Series on the right hand side.
Concatenates the DataFrame on the left and the Series on the right hand side.
- Value Params
- df
DataFrame.
- Returns
DataFrame, where the Series is the last column.
- Throws
- MergeIndexException
If indices are not compatible.
- See also
- Since
0.1.0
- Note
- Columns with the same name are replaced by the rightmost column.
- The index of the left DataFrame must be included in the right Series.
- Data on the left hand side might be copied if indices are not equivalent.
- The resulting index is equivalent to the right operand.
- The operators
|and::are equivalent if indices on the left and right side are equal.
- Inherited from
- Series
Compares the entries of the Series with the value v returning a boolean Series with entries
Compares the entries of the Series with the value v returning a boolean Series with entries
trueif values are equal,falseif values are not equal,nullif the value of the Series is not defined (null).
- Value Params
- v
Value to compare with.
- Returns
Boolean Series.
- See also
- Since
0.1.0
- Inherited from
- Series
Compares the entries of the Series with the value v returning a boolean Series with entries
Compares the entries of the Series with the value v returning a boolean Series with entries
trueif values are equal,falseif values are not equal,nullif the value of the Series is not defined (null).
- Value Params
- v
Value to compare with.
- Returns
Boolean Series.
- See also
- Since
0.1.0
- Inherited from
- Series
Compares the entries of the Series with the value v returning a boolean Series with entries
Compares the entries of the Series with the value v returning a boolean Series with entries
trueif values are equal,falseif values are not equal,nullif the values of the Series is not defined (null).
- Value Params
- v
Value to compare with.
- Returns
Boolean Series.
- See also
- Since
0.1.0
- Inherited from
- Series
Compares the entries of the Series with the value v returning a boolean Series with entries
Compares the entries of the Series with the value v returning a boolean Series with entries
trueif values are equal,falseif values are not equal,nullif the values of the series is not defined (null).
Value to compare with.
- Value Params
- v
Value.
- Returns
Boolean Series.
- See also
- Since
0.1.0
- Inherited from
- Series
Compares two series row-by-row returning a boolean Series with entries
Compares two series row-by-row returning a boolean Series with entries
trueif values are equal,falseif values are not equal,nullif one of the values is not defined (null) or is not in the index.
- Value Params
- series
Series to compare with.
- Returns
Boolean Series with index of left operand.
- See also
- Since
0.1.0
- Inherited from
- Series
Aggregates over values row-by-row.
Aggregates over values row-by-row.
- Value Params
- f
Aggregation function
(aggregatedValue, rowValue) => newAggregatedValue.- start
Start value.
- Returns
Aggregated value.
- See also
- Since
0.1.0
- Note
The aggregation function should not depend on the traversal order.
- Inherited from
- Series
Returns the value at index ix or the value default if undefined.
Returns the value at index ix or the value default if undefined.
- Value Params
- default
Default value.
- ix
Option of row index.
- Returns
Value or
defaultifixisNone, the value is not defined orixnot in the index.- Throws
- IndexBoundsException
If
ixis not part of the base index.
- See also
- Since
0.1.0
- Note
Due to performance, this method should be preferred over
apply(ix: Option[Int]): Option[T].- Inherited from
- Series
Returns the value at index ix or the value default if undefined.
Returns the value at index ix or the value default if undefined.
- Value Params
- default
Default value.
- ix
Row index.
- Returns
Value or
defaultif the value is not defined orixnot in the index.- Throws
- IndexBoundsException
If
ixis not part of the base index.
- See also
- Since
0.1.0
- Note
Due to performance, this method should be preferred over
apply(ix: Int): Option[T].- Inherited from
- Series
Returns the value at index ix as an Option, i.e. Some(value) or None.
Returns the value at index ix as an Option, i.e. Some(value) or None.
- Value Params
- ix
Option of row index.
- Returns
Value as an Option.
NoneifixisNone, the value is undefined orixnot in the index.- Throws
- IndexBoundsException
If the value of
ixis not part of the base index.
- See also
- Since
0.1.0
- Inherited from
- Series
Returns the value at index ix as an Option, i.e. Some(value) or None.
Returns the value at index ix as an Option, i.e. Some(value) or None.
- Value Params
- ix
Row index.
- Returns
Value as an Option.
Noneif the value is undefined orixnot in the index.- Throws
- IndexBoundsException
If
ixis not part of the base index.
- See also
- Since
0.1.0
- Inherited from
- Series
Slices the index by intersecting the current index with a boolean Series.
Slices the index by intersecting the current index with a boolean Series.
- Value Params
- series
Boolean Series as mask, where only index positions kept that are
true.
- Returns
Object with sliced index and order of
series.- See also
- Since
0.1.0
- Inherited from
- IndexOps
Slices the index by intersecting it with an array of index positions.
Slices the index by intersecting it with an array of index positions.
- Value Params
- array
Array of index positions.
- Returns
Object with sliced index and order of
array.- See also
- Since
0.1.0
- Inherited from
- IndexOps
Slices the index by intersecting it with a sequence of index positions.
Slices the index by intersecting it with a sequence of index positions.
- Value Params
- seq
Sequence of index positions.
- Returns
Object with sliced index and order of
seq.- See also
- Since
0.1.0
- Inherited from
- IndexOps
Slices the index by intersecting it with a range.
Slices the index by intersecting it with a range.
- Value Params
- range
Range.
- Returns
Object with sliced index with ascending order.
- See also
- Since
0.1.0
- Inherited from
- IndexOps
Returns the value at index ix or the value default if not set.
Returns the value at index ix or the value default if not set.
- Value Params
- default
Default value.
- ix
Option of row index.
- Returns
Value or
defaultifixisNone, the value is not set or not in the index.- Throws
- IndexBoundsException
If
ixis not part of the base index.
- See also
- Since
0.1.0
- Note
Due to performance, this method should be preferred over
as[T2](ix: Option[Int]): Option[T2].- Inherited from
- Series
Returns the value at index ix or the value default if not set.
Returns the value at index ix or the value default if not set.
- Value Params
- default
Default value.
- ix
Row index.
- Returns
Value or
defaultif the value is not set or not in the index.- Throws
- IndexBoundsException
If
ixis not part of the base index.
- See also
- Since
0.1.0
- Note
Due to performance, this method should be preferred over
as[T2](ix: Int): Option[T2].- Inherited from
- Series
Returns the value at index ix as an Option, i.e. Some(value) or None.
Returns the value at index ix as an Option, i.e. Some(value) or None.
- Value Params
- ix
Option of row index.
- Returns
Value as an Option.
NoneifixisNone, the value is not set or not in the index.- Throws
- IndexBoundsException
If the value of
ixis not part of the base index.
- See also
- Since
0.1.0
- Inherited from
- Series
Returns the value at index ix as an Option, i.e. Some(value) or None.
Returns the value at index ix as an Option, i.e. Some(value) or None.
- Value Params
- ix
Row index.
- Returns
Value as an Option.
Noneif the value is not set or not in the index.- Throws
- IndexBoundsException
If
ixis not part of the base index.- SeriesCastException
If inner type is not instance of the new type
T2.
- See also
- Since
0.1.0
- Inherited from
- Series
Renames the Series.
Renames the Series.
- Value Params
- name
New name.
- Returns
Series with new name.
- Since
0.1.0
- Inherited from
- Series
Casts the Series into another type.
Casts the Series into another type.
- Returns
Instance of Series[T2].
- Throws
- SeriesCastException
If inner type does not equal the new type
T2.
- See also
- Since
0.1.0
- Note
When casting from Any to native types, consider using pd.implicits.SeriesAny.asBoolean, pd.implicits.SeriesAny.asDouble, pd.implicits.SeriesAny.asInt, etc. for more performance.
- Inherited from
- Series
Counts the number of defined (non-null) elements. For Double Series, also Double.NaN is accounted as not defined.
Counts the number of defined (non-null) elements. For Double Series, also Double.NaN is accounted as not defined.
- Returns
Number of defined (non-null) elements.
- See also
- Since
0.1.0
- Inherited from
- Series
Keeps only defined elements and removes all index positions with undefined elements.
Keeps only defined elements and removes all index positions with undefined elements.
- Returns
Equivalent Series without undefined elements and trimmed index.
- Since
0.1.0
- Inherited from
- Series
Converts the Series into a Series with a uniform (dense) index, which equals the base index. Missing indices are replaced by explicit undefined values (masked). The (accessible) data is not changed.
Converts the Series into a Series with a uniform (dense) index, which equals the base index. Missing indices are replaced by explicit undefined values (masked). The (accessible) data is not changed.
- Returns
Same Series but with an uniform index.
- See also
- Since
0.1.0
- Inherited from
- Series
Prints the Series as a table with an index column and annotated column types.
Prints the Series as a table with an index column and annotated column types.
- Value Params
- colWidth
The width of the column.
- n
The maximal numbers of rows.
- See also
- Since
0.1.0
- Inherited from
- Series
Series with unique (defined) values in the Series.
Series with unique (defined) values in the Series.
- Returns
Series with distinct values.
- Since
0.1.0
- Inherited from
- Series
Indicates if two Series are equal with respect to
Indicates if two Series are equal with respect to
- name,
- index and
- values in all rows.
- Value Params
- that
Series (or object) to compare with.
- Returns
True if equal and false otherwise.
- See also
- Since
0.1.0
- Note
- Comparing an undefined value (
null) with undefined gives true, whereas undefined with not undefined is false. - Comparing Double.NaN with Double.NaN gives true, whereas Double.NaN with undefined (
null) or any defined value gives false. - The method differentiates between a missing index and an undefined (
null) value. - If the object is not a Series it returns
false.
- Comparing an undefined value (
- Definition Classes
- Series -> Any
- Inherited from
- Series
Indicates if two Series are equal with respect to (type and) values in all rows.
Indicates if two Series are equal with respect to (type and) values in all rows.
- Value Params
- series
Series (or object) to compare with.
- See also
- Since
0.1.0
- Note
- Comparing an undefined value (
null) with undefined gives true, whereas undefined with not undefined is false. - Comparing Double.NaN with Double.NaN gives true, whereas Double.NaN with undefined (
null) or any defined value gives false. - The method does not differentiate between a undefined value in the index or in the data.
- The comparison ignores different names and indices. The index order is therefore ignored.
- If the two Series have different base indices the result is false.
- Comparing an undefined value (
- Inherited from
- Series
Indicates if a value is contained in the Series.
Indicates if a value is contained in the Series.
- Value Params
- value
Value to search for.
- Returns
Boolean flag if the the value exists.
- Since
0.1.0
- Inherited from
- Series
Fills undefined (null) values of a Series with respect to the current index.
Fills undefined (null) values of a Series with respect to the current index.
- Value Params
- value
Value for filling non-set values.
- Returns
Series with undefined values filled. The original index is preserved.
- Since
0.1.0
- Inherited from
- Series
Replaces undefined (null) values by the values of series for the current index. This is also known as coalesce
operation.
Replaces undefined (null) values by the values of series for the current index. This is also known as coalesce
operation.
- Value Params
- series
Series with the same base index.
- Returns
Series with data from the first series or if undefined from the second. The original index is not altered.
- Throws
- BaseIndexException
If the base index are different.
- SeriesCastException
If the Series do not have the same type.
- Since
0.1.0
- Inherited from
- Series
Fills undefined (null) values of a Series with respect to the base index.
Fills undefined (null) values of a Series with respect to the base index.
- Value Params
- value
Value for filling undefined values.
- Returns
Series with undefined values filled. The index is expanded to the uniform base index.
- Since
0.1.0
- Inherited from
- Series
Replaces undefined (null) values by the values of series also known as coalesce operation. The index is expanded
to the uniform base index.
Replaces undefined (null) values by the values of series also known as coalesce operation. The index is expanded
to the uniform base index.
- Value Params
- series
Series with the same base index.
- Returns
Series with data from the first series or if undefined from the second. The index is expanded to the uniform base index.
- Throws
- BaseIndexException
If the base index are different.
- SeriesCastException
If the Series do not have the same type.
- Since
0.1.0
- Inherited from
- Series
Returns the value at the index position, where a value occurs the first time in another Series or None if the value is not found.
Returns the value at the index position, where a value occurs the first time in another Series or None if the value is not found.
- Value Params
- default
value if value is not found.
- series
Series which is searched for the value.
- value
Value to search for.
- Returns
Value a the index position or the
defaultvalue if not found.- Throws
- BaseIndexException
If the base indices are not equal.
- See also
- Since
0.1.0
- Note
The result depends on the index order.
- Inherited from
- Series
Returns the value at the index position, where a value occurs the first time in another Series or None if the value is not found.
Returns the value at the index position, where a value occurs the first time in another Series or None if the value is not found.
- Value Params
- series
Series which is searched for the value.
- value
Value to search for.
- Returns
Option of the value at the index position.
- Throws
- BaseIndexException
If the base indices are not equal.
- See also
- Since
0.1.0
- Note
The result depends on the index order.
- Inherited from
- Series
Returns the index position of the first occurrence of a value or None if not found.
Returns the index position of the first occurrence of a value or None if not found.
- Value Params
- value
Value to search for.
- Returns
Index position or None if not found.
- See also
- Since
0.1.0
- Note
The result depends on the index order.
- Inherited from
- Series
Returns the index position of the first element where the condition is satisfied or None if not found.
Returns the index position of the first element where the condition is satisfied or None if not found.
- Value Params
- f
Predicate function.
- Returns
Index position or None if the predicate is never true.
- See also
- Since
0.1.0
- Note
The result depends on the index order.
- Inherited from
- Series
Returns the index position of the first defined (non-null) value and for boolean Series the first occurrence of
the value true.
Returns the index position of the first defined (non-null) value and for boolean Series the first occurrence of
the value true.
- Returns
Index of first non-null entry or None if none of the entries are defined. For boolean Series, the index of the first occurrence of
trueor None if all values arefalse.- See also
- Since
0.1.0
- Note
The result depends on the index order.
- Inherited from
- Series
Tests whether the condition holds for all elements.
Tests whether the condition holds for all elements.
- Value Params
- f
Predicate function to satisfy.
- Returns
False if at least one (non-null) element does not satisfy the condition, true otherwise.
- See also
- Since
0.1.0
- Inherited from
- Series
Returns the value at index ix. Throws an exception if the value is not defined or ix not in the index.
Returns the value at index ix. Throws an exception if the value is not defined or ix not in the index.
- Value Params
- ix
Option of row index.
- Returns
Value for the index.
- Throws
- NoSuchElementException
If he value is undefined (null),
ixis not in the index,ixis None or ifixis not part of the base index.
- See also
- Since
0.1.0
- Inherited from
- Series
Returns the value at index ix. Throws an exception if the value is not set or not in the index.
Returns the value at index ix. Throws an exception if the value is not set or not in the index.
- Value Params
- ix
Row index.
- Returns
Value for the index.
- Throws
- NoSuchElementException
If he value is not set (null),
ixis not in the index or ifixis not part of the base index.
- See also
- Since
0.1.0
- Inherited from
- Series
Indicates if two Series have the same defined values as well as the same undefined (null) values, where the values themselves are not compared.
Indicates if two Series have the same defined values as well as the same undefined (null) values, where the values themselves are not compared.
- Value Params
- series
Series to compare with.
- Returns
True if the undefined and defined values are the same for both Series.
- See also
- Since
0.1.0
- Note
- The method does not differentiate between a missing value in the index and a undefined value (null).
- The comparison ignores different names and indices.
- If the two Series have different base indices the result is false.
- Inherited from
- Series
Compares if the indices of two Series are equal.
Compares if the indices of two Series are equal.
- Value Params
- series
Series to compare with.
- Returns
True if indices are equal and false otherwise.
- See also
- Since
0.1.0
- Inherited from
- Series
Returns true if at least one of the elements is undefined or the index has less elements than the base index (slicing of the Series).
Head of object.
Head of object.
- Value Params
- n
Number of rows.
- Returns
First n rows in index.
- See also
- Since
0.1.0
- Inherited from
- IndexOps
Returns the first value as an Option, i.e. Some(value) or None if the first value is undefined.
Returns the first value as an Option, i.e. Some(value) or None if the first value is undefined.
- Returns
Value as an Option.
- Since
0.1.0
- Note
The result depends on the index order.
- Inherited from
- Series
Returns the first (defined) value as an Option, i.e. Some(value) or None if all values are undefined.
Returns the first (defined) value as an Option, i.e. Some(value) or None if all values are undefined.
- Returns
Value as an Option, which is
Noneif the Series an no defined values.- Since
0.1.0
- Note
The result depends on the index order.
- Inherited from
- Series
Indicates if the index is empty.
Indicates if the index is empty.
- Returns
True if the index has at least one element or otherwise false.
- Since
0.1.0
- Inherited from
- Series
Indicates if the index is not empty.
Indicates if the index is not empty.
- Returns
True if the index has no elements or otherwise false.
- Since
0.1.0
- Inherited from
- Series
Information string on the Series.
Information string on the Series.
- Returns
Info string.
- Since
0.1.0
- Inherited from
- Series
Returns true if the data does not contains undefined values and the index includes all index positions of the base index.
Returns true if the data does not contains undefined values and the index includes all index positions of the base index.
- Returns
Boolean if elements are defined for all index positions.
- See also
hasUndefined for negation.
- Since
0.1.0
- Inherited from
- Series
Indicates if a Series has no defined elements.
Indicates if a Series has no defined elements.
- Returns
True if either the index is empty or all values are undefined. Otherwise false is returned.
- Since
0.1.0
- Inherited from
- Series
Checks if the Series is of type T2.
Checks if the Series is of type T2.
- Returns
True if values are instance of
T2or false otherwise.- Since
0.1.0
- Note
For better performance, the type check is only performed on the head of the Series except for the types Boolean, Double, Int and String. Checking the Series with regards to other types on a Series with mixed data can have misleading results. Use isTypeStrictly for testing.
- Inherited from
- Series
Checks if the Series is of type T2 and all values are defined.
Checks if the Series is of type T2 and all values are defined.
- Returns
True if values are instance of
T2and all values are defined. False otherwise.- Since
0.1.0
- Note
For better performance, the type check is only performed on the head of the Series except for the types Boolean, Double, Int and String. Checking the Series with regards to other types on a Series with mixed data can have misleading results. Use isTypeStrictly for testing.
- Inherited from
- Series
Checks if the Series is of type T2 and all values are defined.
Checks if the Series is of type T2 and all values are defined.
- Returns
True if every value is instance of
T2and all values are defined. False otherwise.- Since
0.1.0
- Note
The type check is performed on all values with causes a slower performance except for the types Any, Boolean, Double, Int and String.
- Inherited from
- Series
Checks if the Series is of type T2.
Checks if the Series is of type T2.
- Returns
True if every value is instance of
T2or false otherwise.- Since
0.1.0
- Note
The type check is performed on all values with causes a slower performance except for the types Any, Boolean, Double, Int and String.
- Inherited from
- Series
Returns the value at the index position, where a value occurs the last time in another Series or None if the value is not found.
Returns the value at the index position, where a value occurs the last time in another Series or None if the value is not found.
- Value Params
- default
value if value is not found.
- series
Series which is searched for the value.
- value
Value to search for.
- Returns
Value a the index position or the
defaultvalue if not found.- Throws
- BaseIndexException
If the base indices are not equal.
- See also
- Since
0.1.0
- Note
The result depends on the index order.
- Inherited from
- Series
Returns the value at the index position, where a value occurs the last time in another Series or None if the value is not found.
Returns the value at the index position, where a value occurs the last time in another Series or None if the value is not found.
- Value Params
- series
Series which is searched for the value.
- value
Value to search for.
- Returns
Option of the value at the index position.
- Throws
- BaseIndexException
If the base indices are not equal.
- See also
- Since
0.1.0
- Note
The result depends on the index order.
- Inherited from
- Series
Returns the index position of the last occurrence of a value or None if not found.
Returns the index position of the last occurrence of a value or None if not found.
- Value Params
- value
Value to search for.
- Returns
Index position or None if not found.
- See also
- Since
0.1.0
- Note
The result depends on the index order.
- Inherited from
- Series
Returns the index position of the last set (non-null) value and for boolean Series the last occurrence of the
value true.
Returns the index position of the last set (non-null) value and for boolean Series the last occurrence of the
value true.
- Returns
Index of last non-null entry or None if none of the entries are set. For boolean Series, the index of the last occurrence of
trueor None if all values arefalse.- See also
- Since
0.1.0
- Note
The result depends on the index order.
- Inherited from
- Series
Applies a row-wise function on two Series.
Applies a row-wise function on two Series.
- Value Params
- f
Row-wise function which takes as arguments elements of both Series. If one of the elements in a row is undefined the result in undefined.
- series
Second Series.
- Returns
Transformed Series of type
R.- Since
0.1.0
- Inherited from
- Series
Applies a function on each element of the Series.
Applies a function on each element of the Series.
- Value Params
- f
Row-wise function.
- Returns
Transformed Series of type
R.- See also
- Since
0.1.0
- Inherited from
- Series
A mutable copy of the Series.
A mutable copy of the Series.
- Returns
- Since
0.1.0
- Note
- For creating a MutableSeries from values preferably use
Series.mutable(1,2,3)Series(1,2,3).mutable- For reference types the copy references the same objects which may cause side effects for mutable objects.
- Inherited from
- Series
Indicates if a Series has defined elements.
Indicates if a Series has defined elements.
- Returns
True if at least one defined element exists. Otherwise false is returned.
- Since
0.1.0
- Inherited from
- Series
Number of rows of the underlying data vector.
Number of rows of the underlying data vector.
- Returns
Number of elements in the base index.
- Since
0.1.0
- Inherited from
- Series
Replaces undefined (null) values by the values of series for the current index. Synonym for fill.
Replaces undefined (null) values by the values of series for the current index. Synonym for fill.
- Value Params
- series
Series with the same base index.
- Returns
Series with data from the first series or if undefined from the second. The original index is not altered.
- Throws
- BaseIndexException
If the base index are different.
- SeriesCastException
If the Series do not have the same type.
- See also
- Since
0.1.0
- Inherited from
- Series
Resets the index to a UniformIndex with index positions 0 to numRows - 1 while keeping the order of the
elements. If the current index is not a uniform index, the data is copied into a new vector with the order of the
current index.
Resets the index to a UniformIndex with index positions 0 to numRows - 1 while keeping the order of the
elements. If the current index is not a uniform index, the data is copied into a new vector with the order of the
current index.
Prints the Series as a table.
Prints the Series as a table.
- Value Params
- annotateIndex
If true, the an index column is displayed.
- annotateType
If true, the type for each column in displayed.
- colWidth
The width of the column.
- n
The maximal numbers of rows.
- See also
- Since
0.1.0
- Inherited from
- Series
Prints all values of the Series.
Prints all values of the Series.
- Value Params
- n
The maximal numbers of rows to be printed or -1 (default) for all values.
- See also
- Since
0.1.0
- Inherited from
- Series
Sorts the index (ascending).
Sorts the index (ascending).
- Returns
Object with sorted index.
- See also
- Since
0.1.0
- Inherited from
- IndexOps
Sorts the Series.
Sorts the Series.
- Value Params
- order
Order for sorting. Possible values are Order.asc, Order.desc, Order.ascNullsFirst and Order.descNullsFirst.
- ordering
Implicit ordering that must exist for the type
T, i.e. classes must extend the trait Ordered.
- Returns
Series with sorted index.
- Since
0.1.0
- Note
- The sorting algorithm is stable.
- String values are sorted lexicographically ignoring case differences (see String.compareToIgnoreCase).
- Inherited from
- Series
Sorts the Series in ascending order.
Sorts the Series in ascending order.
- Value Params
- ordering
Implicit ordering that must exist for the type
T, i.e. classes must extend the trait Ordered.
- Returns
Series with sorted index.
- Since
0.1.0
- Note
- The sorting algorithm is stable.
- String values are sorted lexicographically ignoring case differences (see String.compareToIgnoreCase).
- Inherited from
- Series
Converts the Series row-wise into a String Series.
Converts the Series row-wise into a String Series.
- Returns
Series of type String.
- Since
0.1.0
- Note
- The operation maps each element via
toStringto a String. - If the Series is of type String the Series is returned.
- The operation maps each element via
- Inherited from
- Series
Tail of object.
Tail of object.
- Value Params
- n
Number of rows.
- Returns
Last n rows in index.
- See also
- Since
0.1.0
- Inherited from
- IndexOps
Series as instance of Series[Any].
Series as instance of Series[Any].
- Returns
Series of type Any.
- Since
0.1.0
- Note
Only the outer type of the Series is altered.
- Inherited from
- Series
Copies the Series into an array.
Copies the Series into an array.
- Returns
Array of type
T. IfTis a native type, a native array is returned.- Since
0.1.0
- Inherited from
- Series
Copies the Series into a List.
Copies the Series into a List.
- Returns
List of type
T.- Since
0.1.0
- Inherited from
- Series
Copies the Series into a sequence.
Copies the Series into a sequence.
- Returns
Sequence of type
T.- Since
0.1.0
- Inherited from
- Series
Renders the Series as a table.
Renders the Series as a table.
- Value Params
- annotateIndex
If true, the an index column is displayed.
- annotateType
If true, the type for each column in displayed.
- colWidth
The width of each column.
- n
The maximal numbers of rows.
- Returns
Formatted table.
- Since
0.1.0
- Inherited from
- Series
Returns the (internal) runtime Scala type of the Series.
Returns the (internal) runtime Scala type of the Series.
Appends row-wise one or multiple Series. The method materializes all indices into a uniform index.
Appends row-wise one or multiple Series. The method materializes all indices into a uniform index.
- Value Params
- series
Series to be appended.
- Returns
Series with a uniform index.
- Throws
- SeriesCastException
If the underlying types are not a subtype.
- Since
0.1.0
- Inherited from
- Series
Array with unique (defined) values in the Series.
Array with unique (defined) values in the Series.
- Returns
Array with distinct values.
- Since
0.1.0
- Inherited from
- Series
Updates the series with values from the second series if the values are defined.
Updates the series with values from the second series if the values are defined.
- Value Params
- series
Series with the same base index.
- Returns
Series with data from parameter
seriesor if a value is undefined inseriesfrom the original series. The original index is not altered.- Since
0.1.0
- Inherited from
- Series
Concatenates Series on the left and right hand side.
Concatenates Series on the left and right hand side.
- Value Params
- series
Series.
- Returns
DataFrame with two columns, where
seriesis the last column.- Throws
- MergeIndexException
If indices are not compatible.
- See also
- Since
0.1.0
- Note
- Columns with the same name are replaced by the rightmost column.
- The index of the right Series must be included in the left one.
- Data on the right hand side might be copied if indices are not equivalent.
- The resulting index is equivalent to the left operand.
- Inherited from
- Series
Concatenates the Series on the left and the DataFrame on the right hand side.
Concatenates the Series on the left and the DataFrame on the right hand side.
- Value Params
- df
DataFrame.
- Returns
DataFrame, where the Series is the first column.
- Throws
- MergeIndexException
If indices are not compatible.
- See also
- Since
0.1.0
- Note
- Columns with the same name are replaced by the rightmost column.
- The index of the right DataFrame must be included in the left Series.
- Data on the right hand side might be copied if indices are not equivalent.
- The resulting index is equivalent to the left operand.
- Inherited from
- Series