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
WARN: Clarify datetime warning when can't parse in accordance with dayfirst (#47528)
* try improving
* WARN: clarify warning message from to_datetime when dayfirst cant be respected
* add test to count number of warnings emitted
* fix whatsnew note
* fixup test to use set
* update tests
* inconsistently-parsed -> inconsistently parsed
* remove date_string from .format call
* fixup other tests
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.5.0.rst
+1
Original file line number
Diff line number
Diff line change
@@ -727,6 +727,7 @@ Other Deprecations
727
727
- Deprecated the ``display.column_space`` global configuration option (:issue:`7576`)
728
728
- Deprecated the argument ``na_sentinel`` in :func:`factorize`, :meth:`Index.factorize`, and :meth:`.ExtensionArray.factorize`; pass ``use_na_sentinel=True`` instead to use the sentinel ``-1`` for NaN values and ``use_na_sentinel=False`` instead of ``na_sentinel=None`` to encode NaN values (:issue:`46910`)
729
729
- Deprecated :meth:`DataFrameGroupBy.transform` not aligning the result when the UDF returned DataFrame (:issue:`45648`)
730
+
- Clarified warning from :func:`to_datetime` when delimited dates can't be parsed in accordance to specified ``dayfirst`` argument (:issue:`46210`)
0 commit comments