.. SPDX-License-Identifier: BSD-2-Clause
   Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org

.. _ex_pandas_datetime:

Example: Pandas Excel output with datetimes
===========================================

An example of converting a Pandas dataframe with datetimes to an Excel file
with a default datetime and date format using Pandas and XlsxWriter.


.. image:: _images/pandas_datetime.png

.. literalinclude:: ../../../examples/pandas_datetime.py
