Skip to content
Discussion options

You must be logged in to vote

Hi,

I believe that the correct code to replicate the SciPy result is:

import pingouin as pg
group1 = df[df["Skupina"] == 1]["masa"]
group2 = df[df["Skupina"] == 2]["masa"]
pg.ttest(group1, group2)

Alternatively, you can use:

import pingouin as pg
pg.pairwise_tests(data=df, dv="masa", between="Skupina")

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@SterArcher
Comment options

@remrama
Comment options

@SterArcher
Comment options

Answer selected by SterArcher
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question 🙋 Further information is requested
3 participants
Converted from issue

This discussion was converted from issue #462 on March 21, 2025 17:23.