I have a dataset which includes data of countries BELGIUM and Netherlands. I need to perform the t test, however I receive the following error SyntaxError: invalid syntax. Hope that somebody can help me with this.
from scipy.stats import ttest_ind
data1 = df3[df3['PROVISIONS'] == "BELGIUM") data2 = df3[df3['PROVISIONS'] == "NETHERLANDS")
ttest_ind(data1,data2)