Advertisement
Guest User

bau

a guest
Jan 19th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. import pandas as pd
  2. import numpy as np
  3. import matplotlib.pyplot as plt
  4. import seaborn as sns
  5. from scipy import stats
  6.  
  7.  
  8. sports = pd.read_csv('CanadaBasketballHackathonData.csv', encoding = "ISO-8859-1")
  9.  
  10. sports.head()
  11.  
  12. olympics = sports.loc[sports['Region'] == "2016 Olympics"]
  13. olympics_qualify = sports.loc[sports['Region'] == "2016 Olympic Qualifying Tournaments"]
  14.  
  15. full_olympics = olympics.append(olympics_qualify, ignore_index=True)
  16.  
  17. full_olympics.head()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement