xorbits.pandas.DataFrame.tz_convert#

DataFrame.tz_convert(tz, axis=0, level=None, copy: bool = True) pandas._typing.NDFrameT#

Convert tz-aware axis to target time zone.

Parameters
  • tz (str or tzinfo object) –

  • axis (the axis to convert) –

  • level (int, str, default None) – If axis is a MultiIndex, convert a specific level. Otherwise must be None.

  • copy (bool, default True) – Also make a copy of the underlying data.

Returns

Object with time zone converted axis.

Return type

Series/DataFrame

Raises

TypeError – If the axis is tz-naive.

This docstring was copied from pandas.core.frame.DataFrame.