ENH: make guess_datetime_format public
- [X] closes #54727 (Replace xxxx with the GitHub issue number)
- [X] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [X] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [NA] Added [type annotations](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#type-hints) to new arguments/methods/functions.
- [X] Added an entry in the latest `doc/source/whatsnew/v2.1.1.rst` file if fixing a bug or adding a new feature.

> Could you add this to the API reference documentation?

is the API reference documentation in` doc/source/reference/api`? If so, I'm seeing that path in the .gitignore file - is there a procedure to update the API reference under this context?
 I think you can just add an entry to `doc/source/reference/general_functions.rst` Thanks for the review and comments @mroeschke and @MarcoGorelli 
- added an entry to doc/source/reference/general_functions.rst ✅ 
- updated warning in docstring as sphinx directive ✅ 
- added examples to docstring ✅  Can you fix the failing ci checks please 👋  I'm getting a bit stuck with these failing checks - which seem to be mostly due to the following attribute error:
`AttributeError: module 'pandas' has no attribute 'guess_datetime_format'`

I updated the docstring in parsing.pyx with a sphinx `..warning::` directive and added two examples (learned that formatting was important which was a good lesson); however not sure how to address the failing jobs - any feedback or advice on how to troubleshoot?

 This pull request is stale because it has been open for thirty days with no activity. Please [update](https://pandas.pydata.org/pandas-docs/stable/development/contributing.html#updating-your-pull-request) and respond to this comment if you're still interested in working on this. hi @nnlnr - is this still active? if you could fixup the conflicts I can finish it up 👋 @MarcoGorelli  - thanks! That would be great - let me fix up the conflicts and circle back here website build looks good:

![image](https://github.com/pandas-dev/pandas/assets/33491632/ce87e0b4-f2ac-417f-a5ba-e67c020370a1)

merging then, thanks @nnlnr ! Could you also add a whatsnew note in 2.2 under the `Other Enhancements` section? Thanks @nnlnr  and @MarcoGorelli  Thanks @MarcoGorelli  @mroeschke!!  🎉 🙏 