File tree 1 file changed +2
-2
lines changed
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:
803
803
804
804
Parameters
805
805
----------
806
- tz : str, pytz.timezone, dateutil.tz.tzfile or None
806
+ tz : str, pytz.timezone, dateutil.tz.tzfile, datetime.tzinfo or None
807
807
Time zone for time. Corresponding timestamps would be converted
808
808
to this time zone of the Datetime Array/Index. A `tz` of None will
809
809
convert to UTC and remove the timezone information.
@@ -892,7 +892,7 @@ def tz_localize(
892
892
893
893
Parameters
894
894
----------
895
- tz : str, pytz.timezone, dateutil.tz.tzfile or None
895
+ tz : str, pytz.timezone, dateutil.tz.tzfile, datetime.tzinfo or None
896
896
Time zone to convert timestamps to. Passing ``None`` will
897
897
remove the time zone information preserving local time.
898
898
ambiguous : 'infer', 'NaT', bool array, default 'raise'
You can’t perform that action at this time.
0 commit comments