From bd24926bff3cac204a4d459488a9a64c4e8eece1 Mon Sep 17 00:00:00 2001 From: John Zwinck Date: Mon, 20 Mar 2017 16:13:52 +0800 Subject: [PATCH] DOC: Fix typo in docstring param name (#15739) --- pandas/tseries/holiday.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tseries/holiday.py b/pandas/tseries/holiday.py index d3d936693c266..9acb52ebe0e9f 100644 --- a/pandas/tseries/holiday.py +++ b/pandas/tseries/holiday.py @@ -365,7 +365,7 @@ def holidays(self, start=None, end=None, return_name=False): ---------- start : starting date, datetime-like, optional end : ending date, datetime-like, optional - return_names : bool, optional + return_name : bool, optional If True, return a series that has dates and holiday names. False will only return a DatetimeIndex of dates.