pandas.Period.strftime — pandas 1.3.5 documentation
pandas.pydata.org › pandaspandas.Period.strftime¶ Period. strftime ¶ Returns the string representation of the Period, depending on the selected fmt. fmt must be a string containing one or several directives. The method recognizes the same directives as the time.strftime() function of the standard Python distribution, as well as the specific additional directives %f ...
pandas.Series.dt.strftime — pandas 1.3.5 documentation
pandas.pydata.org › pandaspandas.Series.dt.strftime. ¶. Series.dt.strftime(*args, **kwargs) [source] ¶. Convert to Index using specified date_format. Return an Index of formatted strings specified by date_format, which supports the same string format as the python standard library. Details of the string format can be found in python string format doc.