diff --git a/src/neo4j/_async/work/result.py b/src/neo4j/_async/work/result.py index 9dfb11ae..8bce864b 100644 --- a/src/neo4j/_async/work/result.py +++ b/src/neo4j/_async/work/result.py @@ -885,6 +885,8 @@ async def to_df( If :data:`True`, columns that exclusively contain :class:`time.DateTime` objects, :class:`time.Date` objects, or :data:`None`, will be converted to :class:`pandas.Timestamp`. + If :data:`False`, columns of the above types will be left as driver + types (dtype ``object``). :raises ImportError: if `pandas` library is not available. :raises ResultConsumedError: if the transaction from which this result diff --git a/src/neo4j/_sync/work/result.py b/src/neo4j/_sync/work/result.py index 33380694..f7da66c5 100644 --- a/src/neo4j/_sync/work/result.py +++ b/src/neo4j/_sync/work/result.py @@ -885,6 +885,8 @@ def to_df( If :data:`True`, columns that exclusively contain :class:`time.DateTime` objects, :class:`time.Date` objects, or :data:`None`, will be converted to :class:`pandas.Timestamp`. + If :data:`False`, columns of the above types will be left as driver + types (dtype ``object``). :raises ImportError: if `pandas` library is not available. :raises ResultConsumedError: if the transaction from which this result