I am using a function X , that takes np.ndarray, shape=(num_pairs, 2), dtype=int
values .
I have just a list l=[a,b]
and I want to give this list to the above function X as input.
I get the error as * l must be ndim 2. You supplied 1 *
Is there any way around to submit this list to the function ?