# Unequal length arrays while calculating paired tests

I have two dfs:

df1       and df2
1              3
2              3
2              4
4              6
6              7
7
9


I want to calculate Two-sample PAIRED t-test but I am unable to coz both the dfs don't have the same length.

I am using the t, p = stat.ttest_rel(df1, df2) method from scipy to calculate.

Any help will be greatly appreciated.

• Why do you want to do a paired test?
– Dave
Jul 18 at 12:55