@@ -406,7 +406,7 @@ def _generate_range(
406406 index = cls ._simple_new (values , freq = freq , dtype = tz_to_dtype (_tz ))
407407
408408 if tz is not None and index .tz is None :
409- arr = conversion .tz_localize_to_utc (
409+ arr = tzconversion .tz_localize_to_utc (
410410 index .asi8 , tz , ambiguous = ambiguous , nonexistent = nonexistent
411411 )
412412
@@ -967,7 +967,7 @@ def tz_localize(self, tz, ambiguous="raise", nonexistent="raise"):
967967 tz = timezones .maybe_get_tz (tz )
968968 # Convert to UTC
969969
970- new_dates = conversion .tz_localize_to_utc (
970+ new_dates = tzconversion .tz_localize_to_utc (
971971 self .asi8 , tz , ambiguous = ambiguous , nonexistent = nonexistent
972972 )
973973 new_dates = new_dates .view (DT64NS_DTYPE )
@@ -1881,7 +1881,7 @@ def sequence_to_dt64ns(
18811881 dayfirst : bool, default False
18821882 yearfirst : bool, default False
18831883 ambiguous : str, bool, or arraylike, default 'raise'
1884- See pandas._libs.tslibs.conversion .tz_localize_to_utc.
1884+ See pandas._libs.tslibs.tzconversion .tz_localize_to_utc.
18851885
18861886 Returns
18871887 -------
@@ -1961,7 +1961,7 @@ def sequence_to_dt64ns(
19611961 if tz is not None :
19621962 # Convert tz-naive to UTC
19631963 tz = timezones .maybe_get_tz (tz )
1964- data = conversion .tz_localize_to_utc (
1964+ data = tzconversion .tz_localize_to_utc (
19651965 data .view ("i8" ), tz , ambiguous = ambiguous
19661966 )
19671967 data = data .view (DT64NS_DTYPE )
0 commit comments