Edited series.py