File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -803,7 +803,7 @@ def tz_convert(self, tz) -> DatetimeArray:
803803
804804 Parameters
805805 ----------
806- tz : str, pytz.timezone, dateutil.tz.tzfile or None
806+ tz : str, pytz.timezone, dateutil.tz.tzfile, datetime.tzinfo or None
807807 Time zone for time. Corresponding timestamps would be converted
808808 to this time zone of the Datetime Array/Index. A `tz` of None will
809809 convert to UTC and remove the timezone information.
@@ -892,7 +892,7 @@ def tz_localize(
892892
893893 Parameters
894894 ----------
895- tz : str, pytz.timezone, dateutil.tz.tzfile or None
895+ tz : str, pytz.timezone, dateutil.tz.tzfile, datetime.tzinfo or None
896896 Time zone to convert timestamps to. Passing ``None`` will
897897 remove the time zone information preserving local time.
898898 ambiguous : 'infer', 'NaT', bool array, default 'raise'
You can’t perform that action at this time.
0 commit comments