Solve pandas deprecation warning
- Dominant language
- Python
- Stars
- 37
- Forks
- 38
- Avg merge
- 1h 45m
- Merged PRs (30d)
- 1
Description
```
tests/test_wellcompletiondata.py::test_eightcells_with_wellconnstatus
/opt/hostedtoolcache/Python/3.13.14/x64/lib/python3.13/site-packages/pandas/core/internals/concat.py:510: DeprecationWarning: The 'generic' unit for NumPy timedelta is deprecated, and will raise an error in the future. This includes implicit conversion of bare integers (e.g. `+ 1`).Please use a specific unit instead.
return dtype.type("NaT")
```
Example:
https://github.com/equinor/res2df/actions/runs/27925662162/job/82627482601?pr=589
Contributor guide
Research direction
Start by running tests/test_wellcompletiondata.py::test_eightcells_with_wellconnstatus under the Python 3.13 and pandas setup shown in the linked Actions run. Trace the test's data construction and the warning source, then confirm the test passes without the NumPy timedelta deprecation warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- pandas, python
- Domain
- data, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100