You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
used regular expression in format_is_iso() (#50468)
* performace: used regular expression 50465
* added comments for the code
* fixed broken comment
* verbose regex
* added more seperators
* working excluding format
* test passed
* one seperator in a condition
* removed unnecessary OR statements
* used backreferencing
* minor bug
* modified version
* non regex excluded format
* Update pandas/_libs/tslibs/strptime.pyx
* Update pandas/_libs/tslibs/strptime.pyx
* Update pandas/_libs/tslibs/strptime.pyx
* added whatsnew
Co-authored-by: Shashwat <shashwat>
Co-authored-by: Marco Edward Gorelli <[email protected]>
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v2.0.0.rst
+1
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,7 @@ Other enhancements
103
103
- :meth:`DataFrame.plot.hist` now recognizes ``xlabel`` and ``ylabel`` arguments (:issue:`49793`)
104
104
- Improved error message in :func:`to_datetime` for non-ISO8601 formats, informing users about the position of the first error (:issue:`50361`)
105
105
- Improved error message when trying to align :class:`DataFrame` objects (for example, in :func:`DataFrame.compare`) to clarify that "identically labelled" refers to both index and columns (:issue:`50083`)
106
+
- Performance improvement in :func:`to_datetime` when format is given or can be inferred (:issue:`50465`)
0 commit comments