SArray(range(1, 1000001)). # Log: We want to get the log for each of the rows in the SArray. logs = sa.apply(lambda x: math.log(x)). # Getting the absolute value.