pd.func

package pd.func

Value members

Concrete methods

def map(a: SeriesDouble, f: Double => Double): Series[Double]

Applies a row-wise function on a Series.

Applies a row-wise function on a Series.

Value Params
a

Series.

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.

Returns

Transformed Series.

Since

0.1.0

def map(a: SeriesDouble, b: SeriesDouble, f: (Double, Double) => Double): Series[Double]
def map(a: SeriesDouble, b: SeriesInt, f: (Double, Int) => Double): Series[Double]
def map(a: SeriesInt, f: Int => Int): Series[Int]
def map(a: SeriesInt, b: SeriesInt, f: (Int, Int) => Int): Series[Int]
def map(a: SeriesInt, b: SeriesDouble, f: (Int, Double) => Double): Series[Double]
def mapToDouble(a: SeriesInt, f: Int => Double): Series[Double]