From 222ac249992184b3a35c37fabd0530e6a6cdf23d Mon Sep 17 00:00:00 2001 From: Matthew Roeschke Date: Fri, 13 Aug 2021 14:25:54 -0700 Subject: [PATCH] DOC: Clarify dtype of returned object from window ops --- pandas/core/window/doc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/window/doc.py b/pandas/core/window/doc.py index b80a73a930818..9a645f55ffa39 100644 --- a/pandas/core/window/doc.py +++ b/pandas/core/window/doc.py @@ -16,7 +16,7 @@ def create_section_header(header: str) -> str: template_returns = dedent( """ Series or DataFrame - Return type is the same as the original object.\n + Return type is the same as the original object with ``np.float64`` dtype.\n """ ).replace("\n", "", 1)