Untitled

Anonymous
plain_text
02/27/2023 10:44 PM
348 B
20
Indexable
alpha = 0.05

results = st.ttest_ind(
    data_actual.query("genre == 'action' and user_score > 0")['user_score'], \
    data_actual.query("genre == 'sports' and user_score > 0")['user_score']
)

print("p-значение: {:.5f}".format(results.pvalue))
Editor is loading...