some style fixes, allowing min, max builtins as args
"""Functions to select pairs
"""
+# pylint: disable=redefined-builtin
from __future__ import annotations
-from typing import TYPE_CHECKING, Dict, Optional, Any
+from typing import TYPE_CHECKING
from pandas import DataFrame
import numpy
from scipy.stats import rankdata
