map(func: T_MF): Series {
    return new Series(
      this.values.map((val, idx) => func(val, idx)),
      {name: this.name, index: this.index});
  }
Return a new `Series` created by a map along a `Series`

pandas equivalent: [Series.map](http://pandas.pydata.org/pandas-docs/stable/generated/pandas.Series.map.html)

@param {function} func
 Function to apply along the values

@returns {Series}

@example
const ds = new Series([1, 2, 3, 4], {name: 'New Series'})

// Returns Series([1, 4, 9, 16], {name: 'New Series', index: [1, 2]})
ds.map((val, idx) => val ** 2);