def get_transversals(base, gens):
    if not base:
        return []
    stabs = _distribute_gens_by_base(base, gens)
    orbits, transversals = _orbits_transversals_from_bsgs(base, stabs)
    transversals = [{x: h._array_form for x, h in y.items()} for y in
                    transversals]
    return transversals
Given a list of package, return the list of installed packages.
dataset/ETHPy150Open sympy/sympy/sympy/combinatorics/tensor_can.py/get_transversals--crossover with--dataset/ETHPy150Open ros-infrastructure/rosdep/src/rosdep2/platforms/pip.py/pip_detect