This function is rather imprecise around m==1. For more precision around this point, use ellipkm1.
scipy.special.ellipj
scipy.special.ellipkm1
Enter search terms or a module, class or function name.