Associated Legendre functions of the second kind, Qmn(z) and its derivative, Qmn'(z) of order m and degree n. Returns two arrays of size (m+1, n+1) containing Qmn(z) and Qmn'(z) for all orders from 0..m and degrees from 0..n.
z can be complex.
scipy.special.lpmn
scipy.special.eval_legendre