code: def taylor(f, n=2, **kwargs):
    
    return sum(Stream(f.series(n=None, **kwargs)).limit(n))
docs: Taylor/Mclaurin polynomial aproximation for the given function.
    The ``n`` (default 2) is the amount of aproximation terms for ``f``. Other
    arguments are keyword-only and will be passed to the ``f.series`` method.