Skip to main content
`Ctrl`+`K`

# pandas.Timestamp.unit

Timestamp.unit

  The abbreviation associated with self._creso.

  Examples

      >>> pd.Timestamp("2020-01-01 12:34:56").unit
      's'

      >>> pd.Timestamp("2020-01-01 12:34:56.123").unit
      'ms'

      >>> pd.Timestamp("2020-01-01 12:34:56.123456").unit
      'us'

      >>> pd.Timestamp("2020-01-01 12:34:56.123456789").unit
      'ns'