fix(deps): update dependency pandas to v3 - abandoned#571
Open
renovate[bot] wants to merge 4 commits intomainfrom
Open
fix(deps): update dependency pandas to v3 - abandoned#571renovate[bot] wants to merge 4 commits intomainfrom
renovate[bot] wants to merge 4 commits intomainfrom
Conversation
4fb8b63 to
229f493
Compare
c371352 to
2ccddd1
Compare
2ccddd1 to
8521b8c
Compare
Address all compatibility issues introduced by the pandas 2.x → 3.0
upgrade:
- Replace DatetimeIndex.view(np.int64) with .as_unit("ns").asi8
across numerical_calculus, utility_functions, reindex, detect/utils,
and signals/generator to ensure nanosecond resolution regardless of
the index's native resolution.
- Replace DatetimeIndex.astype("datetime64[ns]") with .as_unit("ns")
in ts_utils, gaps_identification, and low_density_identification.
- Replace index.to_numpy(np.int64) with .as_unit("ns").asi8 in
completeness.py (find_period returns nanoseconds as documented).
- Replace pd.TimedeltaIndex(..., unit="s") with pd.to_timedelta(...,
unit="s") in arma_predictor and holt_winters_predictor (unit kwarg
removed in pandas 3.0).
- Add .copy() before passing arrays to numba in value_decrease_indication
(pandas 3.0 Copy-on-Write makes .to_numpy() read-only).
- Replace Timestamp.value-based int64 formula in polynomial.py with
(index - index[0]).total_seconds().to_numpy().
- Fix tests: use .iloc instead of .values for mutation (CoW), and
replace Timestamp.value-based time conversion with .total_seconds().
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #571 +/- ##
==========================================
- Coverage 91.09% 91.09% -0.01%
==========================================
Files 111 111
Lines 4201 4199 -2
Branches 552 552
==========================================
- Hits 3827 3825 -2
Misses 231 231
Partials 143 143
🚀 New features to boost your workflow:
|
- Replace deprecated freq='H' with 'h' in plot_operational_availability - Use .iloc[locations] = outliers.values instead of integer-array indexing on a DatetimeIndex Series (KeyError in pandas 3.0)
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Contributor
Author
Autoclosing SkippedThis PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~=2.3.0→~=3.0.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
pandas-dev/pandas (pandas)
v3.0.1: pandas 3.0.1Compare Source
We are pleased to announce the release of pandas 3.0.1.
This is a patch release in the 3.0.x series and includes some regression fixes and bug fixes. We recommend that all users of the 3.0.x series upgrade to this version.
See the full whatsnew for a list of all the changes.
Pandas 3.0.0 supports Python 3.11 and higher.
The release can be installed from PyPI:
Or from conda-forge
Please report any issues with the release on the pandas issue tracker.
Thanks to all the contributors who made this release possible.
v3.0.0: pandas 3.0.0Compare Source
We are pleased to announce the release of pandas 3.0.0, a major release from the pandas 2.x series. This release includes some new features, bug fixes, and performance improvements, as well as possible breaking changes.
The pandas 3.0 release removed a functionality that was deprecated in previous releases. It is recommended to first upgrade to pandas 2.3 and to ensure your code is working without warnings, before upgrading to pandas 3.0.
Highlights include:
pd.colsyntaxSee the full whatsnew for a list of all the changes.
Pandas 3.0.0 supports Python 3.11 and higher.
The release can be installed from PyPI
Or from conda-forge
Please report any issues with the release on the pandas issue tracker.
Thanks to all the contributors who made this release possible.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.