<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def APO(series, fast=12, slow=26, matype=0):
 """double exponential moving average"""

    return _series_to_series(series, talib.APO, fast, slow, matype)