HEPCloud / decisionengine_modules

Apache License 2.0
2 stars 19 forks source link

Feature/vito pandas2 updates #462

Closed vitodb closed 1 year ago

vitodb commented 1 year ago

With pandas 2.x DataFrame.append() has been deprecated, it is needed to use pandas.concat() instead. With pandas 2.x we also get a warning for a future deprecation:

FutureWarning: Calling float on a single element Series is deprecated and will raise a TypeError in the future. Use float(ser.iloc[0]) instead.

This has also been addressed.

codecov[bot] commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (07292a4) 47.36% compared to head (094a39b) 47.36%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #462 +/- ## ======================================= Coverage 47.36% 47.36% ======================================= Files 54 54 Lines 2903 2903 Branches 497 497 ======================================= Hits 1375 1375 Misses 1427 1427 Partials 101 101 ``` | Flag | Coverage Δ | | |---|---|---| | python-3.8 | `47.33% <0.00%> (ø)` | | | python-3.9 | `47.36% <0.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HEPCloud#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://app.codecov.io/gh/HEPCloud/decisionengine_modules/pull/462?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HEPCloud) | Coverage Δ | | |---|---|---| | [...ngine\_modules/glideinwms/glide\_frontend\_element.py](https://app.codecov.io/gh/HEPCloud/decisionengine_modules/pull/462?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HEPCloud#diff-c3JjL2RlY2lzaW9uZW5naW5lX21vZHVsZXMvZ2xpZGVpbndtcy9nbGlkZV9mcm9udGVuZF9lbGVtZW50LnB5) | `11.22% <ø> (ø)` | | | [...c/decisionengine\_modules/htcondor/sources/job\_q.py](https://app.codecov.io/gh/HEPCloud/decisionengine_modules/pull/462?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=HEPCloud#diff-c3JjL2RlY2lzaW9uZW5naW5lX21vZHVsZXMvaHRjb25kb3Ivc291cmNlcy9qb2JfcS5weQ==) | `78.04% <0.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.