Quando faço o teste e peço para imprimir o z e o p_valor, recebo uma array
z, p_valor = test_A.ztest_ind(alternative='smaller', value=0)
print(z, p_valor)
[ -inf 2.21748892 -0.75758776 3.14470873 0.81025 -2.25531827 0.79749367] [0. 0.98670515 0.2243489 0.99916874 0.79110175 0.01205668 0.78741781]
/home/marcos/anaconda3/lib/python3.7/site-packages/statsmodels/stats/weightstats.py:744: RuntimeWarning: divide by zero encountered in true_divide zstat = (value1 - value2 - diff) / std_diff