diff --git a/pyproject.toml b/pyproject.toml index 45d01eb..4f89b16 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -145,8 +145,6 @@ markers = [ "integration: Mark test as an integration test", ] filterwarnings = [ - "ignore:PyArray_GetNumericOps.*", - "ignore:PyArray_SetNumericOps.*", ] diff --git a/rawxio/utils.py b/rawxio/utils.py index 347e209..0d5b18e 100644 --- a/rawxio/utils.py +++ b/rawxio/utils.py @@ -10,7 +10,7 @@ def shift_array_indices( columns = list(cols.intersection(df.columns)) if not cols: return df - df[columns] = df[columns].applymap(lambda x: x + amount) + df[columns] = df[columns].map(lambda x: x + amount) return df