Add Series
Description
Method equivalent of addition operator series + other
.
Usage
<Series>$add(other)
Arguments
other
|
Series like object of numeric or string values. Converted to Series by
as_polars_series() in this method.
|
Value
Series
See Also
- Arithmetic operators
Examples
#> polars Series: shape: (3,)
#> Series: '' [i32]
#> [
#> 12
#> 14
#> 16
#> ]
#> polars Series: shape: (3,)
#> Series: '' [i32]
#> [
#> 12
#> 14
#> 16
#> ]
#> polars Series: shape: (3,)
#> Series: '' [i32]
#> [
#> 2
#> 3
#> 4
#> ]
#> polars Series: shape: (1,)
#> Series: '' [str]
#> [
#> "a-z"
#> ]