Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replacement for deprecated namespaces scipy.sparse.csc and scipy.sparse.csr #2372

Merged
merged 3 commits into from
Aug 29, 2024

Conversation

quant12345
Copy link
Contributor

@quant12345 quant12345 commented Aug 10, 2024

This PR removes warnings:

DeprecationWarning: Please import `csr_matrix` from the `scipy.sparse` namespace; the `scipy.sparse.csr` namespace is deprecated and will be removed in SciPy 2.0.0.

DeprecationWarning: Please import `csc_matrix` from the `scipy.sparse` namespace; the `scipy.sparse.csc` namespace is deprecated and will be removed in SciPy 2.0.0.

Here and here (starting from line 75) there is information on this topic.

Tests to check:

pytest pandapower/test/loadflow/test_runpp_3ph.py
pytest pandapower/test/loadflow/test_runpp_3ph_n_line.py

Copy link

codecov bot commented Aug 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.00%. Comparing base (641134d) to head (41db0f5).
Report is 13 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2372   +/-   ##
========================================
  Coverage    76.00%   76.00%           
========================================
  Files          282      282           
  Lines        32945    32945           
========================================
  Hits         25040    25040           
  Misses        7905     7905           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vogt31337 vogt31337 self-requested a review August 28, 2024 11:24
vogt31337
vogt31337 previously approved these changes Aug 28, 2024
@vogt31337 vogt31337 merged commit a044a46 into e2nIEE:develop Aug 29, 2024
2 of 6 checks passed
@quant12345 quant12345 deleted the scipy_matrix branch September 8, 2024 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants