@@ -993,7 +993,7 @@ def tz_localize(self, tz, ambiguous="raise", nonexistent="raise", errors=None):
993993 ambiguous times)
994994 - 'NaT' will return NaT where there are ambiguous times
995995 - 'raise' will raise an AmbiguousTimeError if there are ambiguous
996- times
996+ times.
997997
998998 nonexistent : 'shift_forward', 'shift_backward, 'NaT', timedelta, \
999999 default 'raise'
@@ -1007,11 +1007,12 @@ def tz_localize(self, tz, ambiguous="raise", nonexistent="raise", errors=None):
10071007 - 'NaT' will return NaT where there are nonexistent times
10081008 - timedelta objects will shift nonexistent times by the timedelta
10091009 - 'raise' will raise an NonExistentTimeError if there are
1010- nonexistent times
1010+ nonexistent times.
10111011
10121012 .. versionadded:: 0.24.0
10131013
10141014 errors : {'raise', 'coerce'}, default None
1015+ The method to handle errors:
10151016
10161017 - 'raise' will raise a NonExistentTimeError if a timestamp is not
10171018 valid in the specified time zone (e.g. due to a transition from
@@ -1871,7 +1872,7 @@ def sequence_to_dt64ns(
18711872 dayfirst : bool, default False
18721873 yearfirst : bool, default False
18731874 ambiguous : str, bool, or arraylike, default 'raise'
1874- See pandas._libs.tslibs.conversion.tz_localize_to_utc
1875+ See pandas._libs.tslibs.conversion.tz_localize_to_utc.
18751876 int_as_wall_time : bool, default False
18761877 Whether to treat ints as wall time in specified timezone, or as
18771878 nanosecond-precision UNIX epoch (wall time in UTC).
@@ -2015,7 +2016,7 @@ def objects_to_datetime64ns(
20152016 dayfirst : bool
20162017 yearfirst : bool
20172018 utc : bool, default False
2018- Whether to convert timezone-aware timestamps to UTC
2019+ Whether to convert timezone-aware timestamps to UTC.
20192020 errors : {'raise', 'ignore', 'coerce'}
20202021 allow_object : bool
20212022 Whether to return an object-dtype ndarray instead of raising if the
0 commit comments