pandas/core/window/ewm.py
def wrap_result(obj: "Series", result: np.ndarray) -> "Series":
    """
    Wrap a single 1D result.
    """
    obj = obj._selected_obj

    return obj._constructor(result, obj.index, name=obj.name)

    Wrap a single 1D result.
    
Wrap a single 1D result.
Wrap a single 1D result .
def wrap_result(obj: "Series", result: np.ndarray) -> "Series":
    obj = obj._selected_obj
    return obj._constructor(result, obj.index, name=obj.name)
def wrap_result ( obj : "Series" , result : np . ndarray ) -> "Series" : obj = obj . _selected_obj return obj . _constructor ( result , obj . index , name = obj . name )
Wrap a single 1D result.
Wrap a single 1D result .
"""
    Wrap a single 1D result.
    """
obj
"Series"
result
np.ndarray