- See also
- Since
0.1.0
- Companion
- object
Value members
Concrete methods
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
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
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
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
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
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
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.
- Returns
Boolean Series.
- See also
- Since
0.1.0
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
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
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
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.
Determines if all (non-null) values are true.
Determines if all (non-null) values are true.
- Returns
False if any value is false and true otherwise.
- Since
0.1.0
Determines if all values are true and none are null.
Determines if all values are true and none are null.
- Returns
True all value are true and false otherwise. False if index is a slice.
- Since
0.1.0
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
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
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].
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].
Renames the Series.
Renames the Series.
- Value Params
- name
New name.
- Since
0.1.0
- Note
Result: Series with new name.
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
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
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].
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].
Copies the data into an immutable Series.
Copies the data into an immutable Series.
- Returns
A Series object.
- See also
- Since
0.1.0
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
Keeps only defined elements and removes all index positions with undefined elements.
Keeps only defined elements and removes all index positions with undefined elements.
- Since
0.1.0
- Note
Result: Equivalent Series without undefined elements and trimmed index.
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.
- See also
- Since
0.1.0
- Note
Result: Same Series but with an uniform index.
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
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
- Any
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 (
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
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.
- Throws
- BaseIndexException
If the base index are different.
- SeriesCastException
If the Series do not have the same type.
- Since
0.1.0
- Note
Result: Series with data from the first series or if undefined from the second. The original index is not altered.
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.
- Since
0.1.0
- Note
Result: Series with undefined values filled. The original index is preserved.
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.
- Throws
- BaseIndexException
If the base index are different.
- SeriesCastException
If the Series do not have the same type.
- Since
0.1.0
- Note
Result: Series with data from the first series or if undefined from the second. The index is expanded to the uniform base index.
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.
- Since
0.1.0
- Note
Result: Series with undefined values filled. The index is expanded to the uniform base index.
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.
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.
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.
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.
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.
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
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 element does not satisfy the condition or is not set (null), true otherwise.
- See also
- Since
0.1.0
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
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
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.
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
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).
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).
- Returns
False if an element is defined for each base index element or otherwise true.
- See also
isDefined for negation.
- Since
0.1.0
Hash code.
Hash code.
- Returns
Hash code derived from index length and name.
- Since
0.1.0
- Definition Classes
- Any
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.
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.
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
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
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
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
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.
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.
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.
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.
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.
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.
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.
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.
Number of rows.
Number of rows.
- Returns
Length of the Series, i.e. number of elements in the index.
- See also
- Since
0.1.0
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
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
Name of the MutableSeries.
Name of the MutableSeries.
- Returns
Name. If no name is set the name is an empty string.
- Since
0.1.0
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
Number of rows.
Number of rows.
- Returns
Length of the Series, i.e. number of elements in the index.
- See also
- Since
0.1.0
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
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.
- Throws
- BaseIndexException
If the base index are different.
- SeriesCastException
If the Series do not have the same type.
- See also
- Since
0.1.0
- Note
Result: Series with data from the first series or if undefined from the second. The original index is not altered.
Puts the value at index ix. If ix is not in the index but within the base index, the index is expanded to the
uniform base index.
Puts the value at index ix. If ix is not in the index but within the base index, the index is expanded to the
uniform base index.
- Value Params
- ix
Row index.
- Returns
Value to be set.
- Throws
- IndexBoundsException
If
ixis not part of the base index.
- See also
- Since
0.1.0
- Note
The access is constant time with the exception of the first
putaccess to a sequential index or the (one-time) expansion of the 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.
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.
- See also
sortIndex for sorting the index by index positions.
- Since
0.1.0
- Note
Result: Series with a
UniformIndex.
Converts the MutableSeries into an immutable Series without copying its content, The data is "ejected" from the
mutable instance by overwriting it with an empty Series. After calling this method on instance series
Converts the MutableSeries into an immutable Series without copying its content, The data is "ejected" from the
mutable instance by overwriting it with an empty Series. After calling this method on instance series
series.isEmpty
returns true.
series.isEmpty }}}
- Returns
A Series object.
- See also
- Since
0.1.0
Sets the value at index ix.
Sets the value at index ix.
- Value Params
- ix
Row index.
- Returns
Value to be set.
- Throws
- NoSuchElementException
If
ixis not in the index.
- See also
- Since
0.1.0
- Note
The access is constant time. Potentially the first
setaccess to a sequential index can be non-constant time.
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
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
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.
- Since
0.1.0
- Note
Result: Series with sorted index.
- The sorting algorithm is stable.
- String values are sorted lexicographically ignoring case differences (see String.compareToIgnoreCase).
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.
- Since
0.1.0
- Note
Result: Series with sorted index.
- The sorting algorithm is stable.
- String values are sorted lexicographically ignoring case differences (see String.compareToIgnoreCase).
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
- Returns
Sub string or empty string if out of bounds.
- See also
String.substring
- Since
0.1.0
- Returns
Sub string or empty string if out of bounds.
- See also
String.substring
- Since
0.1.0
Copies the Series into an array.
Copies the Series into an array.
- Returns
Array of type
Option[T]with numRows elements.- Since
0.1.0
- Returns
Parsed Boolean Series.
- Throws
- java.lang.NumberFormatException
If the string does not contain a parsable Boolean.
- Since
0.1.0
- Returns
Parsed Double Series.
- Throws
- java.lang.NumberFormatException
If the string does not contain a parsable Double.
- Since
0.1.0
Copies the Series into an array.
Copies the Series into an array.
- Returns
Array of type
T.- Since
0.1.0
Copies the Series into a sequence.
Copies the Series into a sequence.
- Returns
Sequence of type
T.- Since
0.1.0
- Returns
Parsed Float Series.
- Throws
- java.lang.NumberFormatException
If the string does not contain a parsable Float.
- Since
0.1.0
- Returns
Parsed Int Series.
- Throws
- java.lang.NumberFormatException
If the string does not contain a parsable Int.
- Since
0.1.0
Copies the Series into a List.
Copies the Series into a List.
- Returns
List of type
Option[T]with numRows elements.- Since
0.1.0
- Returns
Parsed LocalDate Series.
- Throws
- java.time.format.DateTimeParseException
If the string cannot be parsed.
- See also
java.time.LocalDate
- Since
0.1.0
- Returns
Parsed LocalDateTime Series.
- Throws
- java.time.format.DateTimeParseException
If the string cannot be parsed.
- See also
java.time.LocalDateTime
- Since
0.1.0
- Returns
Parsed LocalTime Series.
- Throws
- java.time.format.DateTimeParseException
If the string cannot be parsed.
- See also
java.time.LocalTime
- Since
0.1.0
- Returns
Parsed Long Series.
- Throws
- java.lang.NumberFormatException
If the string does not contain a parsable Long.
- Since
0.1.0
Renders the Series as a table using default parameters.
Renders the Series as a table using default parameters.
- Returns
Formatted table.
- Since
0.1.0
- Definition Classes
- Any
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
- Returns
Parsed ZonedDateTime Series.
- Throws
- java.time.format.DateTimeParseException
If the string cannot be parsed.
- See also
java.time.ZonedDateTime
- Since
0.1.0
Returns the (internal) runtime Scala type of the Series.
Returns the (internal) runtime Scala type of the Series.
- Returns
Type name such as "Int", "MyClass", "Any", "Array[Double]", "List", "Seq", etc.
- Since
0.1.0
- Note
- There is no deep type reflection for 2nd order types except for
Array. - When casting a Series to Any (via pd.implicits.SeriesAny.toAny), the internal type of the Series does not change.
- There is no deep type reflection for 2nd order types except for
Sets the value at index ix to undefined (null). If ix is not in the index but within the base index, the index
is expanded to the uniform base index.
Sets the value at index ix to undefined (null). If ix is not in the index but within the base index, the index
is expanded to the uniform base index.
- Value Params
- ix
Row index.
- Throws
- IndexBoundsException
If
ixis not part of the base index.
- See also
- Since
0.1.0
- Note
The access is constant time with the exception of the first
unsetaccess to a sequential index or the (one-time) expansion of the index.
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.
- Since
0.1.0
- Note
Result: Series with data from parameter
seriesor if a value is undefined inseriesfrom the original series. The original index is not altered.
Inherited methods
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
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
Sorts the index (ascending).
Sorts the index (ascending).
- Returns
Object with sorted index.
- See also
- Since
0.1.0
- Inherited from
- IndexOps