Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoGorelli committed Oct 26, 2023
1 parent 3000b9e commit 0e03f49
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
20 changes: 8 additions & 12 deletions doc/source/reference/general_functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,20 +59,9 @@ Top-level dealing with datetimelike data
timedelta_range
infer_freq

.. autosummary::
:currentmodule: pandas.tseries.frequencies

guess_datetime_format

Top-level dealing with datetimelike data formatting
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. autosummary::
:toctree : api/

pandas.tseries.guess_datetime_format

Top-level dealing with Interval data
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. autosummary::
:toctree: api/

Expand All @@ -85,6 +74,13 @@ Top-level evaluation

eval

Datetime formats
~~~~~~~~~~~~~~~~
.. autosummary::
:toctree: api/

tseries.api.guess_datetime_format

Hashing
~~~~~~~
.. autosummary::
Expand Down
3 changes: 1 addition & 2 deletions pandas/_libs/tslibs/parsing.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -875,8 +875,7 @@ def guess_datetime_format(dt_str: str, bint dayfirst=False) -> str | None:
dayfirst : bool, default False
If True parses dates with the day first, eg 20/01/2005

..warning::

.. warning::
dayfirst=True is not strict, but will prefer to parse
with day first (this is a known bug).

Expand Down

0 comments on commit 0e03f49

Please sign in to comment.