equinor / completor

Advanced multi-segmented well completion tool
https://equinor.github.io/completor/
GNU Lesser General Public License v3.0
0 stars 0 forks source link

fix: Handle pandas deprecation warnings #156

Closed Aleksander-Karlsson closed 1 week ago

Aleksander-Karlsson commented 1 week ago

Description

Include a description of the change done

Resolve deprecation warnings in Pandas.

DeprecationWarning: In a future version, `df.iloc[:, i] = newvals` will attempt to set the values inplace instead of always setting a new array. To retain the old behavior, use either `df[df.columns[i]] = newvals` or, if columns are non-unique, `df.isetitem(i, newvals)`

Why

The motivation for the change (if applicable)

How

How the change is implemented (if it's not self evident in the diff)

Close: #XXX

Checklist:

Before submitting this PR, please make sure: