

def add_series(self, name, values, number_format=0):
    "\n        Add a series to this data set entitled *name* and having the data\n        points specified by *values*, an iterable of numeric values.\n        *num_fmt* specifies how the series values will be displayed, and may\n        be a string, e.g. '#,##0', or an integer in the range 0-22 or 37-49,\n        signifying one of the built-in Excel number formats. The valid\n        integer values and their meaning are documented on the\n        :ref:`ExcelNumFormat` page.\n        "
    series_idx = len(self._series_lst)
    series = _SeriesData(series_idx, name, values, self._categories, number_format)
    self._series_lst.append(series)

dataset/ETHPy150Open scanny/python-pptx/pptx/chart/data.py ChartData.add_series/original