Last active
December 20, 2018 06:59
-
-
Save rohanjoseph93/a08cbe7c58eb50f422ae42f542d47091 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import libraries | |
import pandas as pd | |
from scipy import stats | |
import os | |
os.chdir('C:\\Users\\rohan\\Documents\\Analytics\\Data') | |
#import file and apply one sample t test | |
a = pd.read_excel('onesamplet.xlsx') | |
stats.ttest_1samp(a,14) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment