Running Pytest produces multiple instances of the following depreciation warning:
tests/test_get_library_source.py: 10 warnings
/home/uniqueg/Work/zavolab/htsinfer/htsinfer/get_library_source.py:271: FutureWarning: In a future version of pandas all arguments of StringMethods.split except for the argument 'pat' will be keyword-only.
]] = dat.target_id.str.split('|', 4, expand=True)
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
The issue could be fixed (and thus future versions of Pandas supported) by making use of the n keyword argument in the .split() method.
Running Pytest produces multiple instances of the following depreciation warning:
The issue could be fixed (and thus future versions of Pandas supported) by making use of the
n
keyword argument in the.split()
method.