Truth.tz_convert

Truth.tz_convert#

missionbio.demultiplex.dna.truth.Truth.tz_convert

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

Convert tz-aware axis to target time zone.

Parameters:
tzstr or tzinfo object
axisthe axis to convert
levelint, str, default None

If axis is a MultiIndex, convert a specific level. Otherwise must be None.

copybool, default True

Also make a copy of the underlying data.

Returns:
Series/DataFrame

Object with time zone converted axis.

Raises:
TypeError

If the axis is tz-naive.


< Class Truth