Associated Legendre functions of the first kind, Pmn(z) and its derivative, Pmn’(z) of order m and degree n. Returns two arrays of size (m+1,n+1) containing Pmn(z) and Pmn’(z) for all orders from 0..m and degrees from 0..n.
z can be complex.
scipy.special.lqn
scipy.special.lqmn