Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- from scipy import stats
- import numpy as np
- #Read the data into a dataframe
- df = pd.read_csv("World Cup 2018.csv")
- index2 = df.loc[df['start_time']]
- print(index2['home_score'])
- Test = numpy.corrcoef(index2.start_time, index2.home_score)[0, 1]
- print(Test)
Add Comment
Please, Sign In to add comment