def _wrap_result(self, result, block=None, obj=None):

        if obj is None:
            obj = self._selected_obj

        index = obj.index
        if isinstance(result, np.ndarray):

            # coerce if necessary
            if block is not None:
                if com.is_timedelta64_dtype(block.values.dtype):
                    result = pd.to_timedelta(
                        result.ravel(), unit='ns').values.reshape(result.shape)

            if result.ndim == 1:
                from pandas import Series
                return Series(result, index, name=obj.name)

            return type(obj)(result, index=index, columns=block.columns)
        return result
Read the htpasswd file into memory.
dataset/ETHPy150Open pydata/pandas/pandas/core/window.py/_Window._wrap_result--crossover with--dataset/ETHPy150Open edgewall/trac/contrib/htpasswd.py/HtpasswdFile.load