pandas.DatetimeIndex.to_native_types

DatetimeIndex.to_native_types(slicer=None, **kwargs) [source]

Format specified values of self and return them.

Parameters:

slicer : int, array-like

An indexer into self that specifies which values are used in the formatting process.

kwargs : dict

Options for specifying how the values should be formatted. These options include the following:

  1. na_rep : str
    The value that serves as a placeholder for NULL values
  2. quoting : bool or None
    Whether or not there are quoted values in self
  3. date_format : str
    The format used to represent date-like values

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.22.0/generated/pandas.DatetimeIndex.to_native_types.html