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
DEPR: passing mixed offsets with utc=False into to_datetime (#54014)
* add raising FutureWarning in _return_parsed_timezone_results and in array_to_datetime, fix tests
* correct the definition of _return_parsed_timezone_results, added a test for FutureWarning, fix tests
* fix tests in pandas/tests/extension/test_arrow.py
* correct the definition of _return_parsed_timezone_results
* fix an exanple in docs: Parsing a CSV with mixed timezones
* correct def _array_to_datetime_object, add a test for mixed format, fix errors in docs
* correct example in whatsnew/v0.24.0.rst and fix pylint failures
* correct str for message in FutureWarning in the test with format mixed
* fix an error in an example in whatsnew/v0.24.0.rst
* correct examples and the description of the param utc in docstring of to_datetime, correct an example in whatsnew/v1.1.0.rst
* update whatsnew/v2.1.0.rst
* correct docstring for to_datetime, example in whatsnew/v0.24.0.rst, rename test functions
* refactor tests for to_datetime
* refactor test for to_datetime
* add example to whatsnew/v2.1.0.rst
* correct the example
* correct the example in whatsnew/v2.1.0.rst
* correct def _array_to_datetime_object and fix test for read_json
* add catch_warnings to filter the warning in test_read_datetime
* correct msg in catch_warnings to filter the warning in test_read_datetime
* catch the warning in test_from_csv_with_mixed_offsets
* reword whatsnew
* add catch_warnings to converter
* describe how to maintain the old behavior
* add an example how to get the old behavior and : correct the warning message
---------
Co-authored-by: MarcoGorelli <[email protected]>
- Deprecated 'broadcast_axis' keyword in :meth:`Series.align` and :meth:`DataFrame.align`, upcast before calling ``align`` with ``left = DataFrame({col: left for col in right.columns}, index=right.index)`` (:issue:`51856`)
301
346
- Deprecated 'downcast' keyword in :meth:`Index.fillna` (:issue:`53956`)
302
347
- Deprecated 'fill_method' and 'limit' keywords in :meth:`DataFrame.pct_change`, :meth:`Series.pct_change`, :meth:`DataFrameGroupBy.pct_change`, and :meth:`SeriesGroupBy.pct_change`, explicitly call ``ffill`` or ``bfill`` before calling ``pct_change`` instead (:issue:`53491`)
0 commit comments