I am a new learner for Jupyter Notebook and I started with the Intro to Data Science book,
In chapter 2 I am running this code but I am unable to see any outputs after the execution of the code.
I've no clue what's happening and why I am not seeing the results. I am running it on windows (Python 3).
Kindly help me and suggest me any good basic tutorials or videos which can be helpful.
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
data = {’year ’: [
2010 , 2011 , 2012 ,
2010 , 2011 , 2012 ,
2010 , 2011 , 2012
],
’team ’: [
’FCBarcelona ’, ’FCBarcelona ’,
’FCBarcelona ’, ’RMadrid ’,
’RMadrid ’, ’RMadrid ’,
’ValenciaCF ’, ’ValenciaCF ’,
’ValenciaCF ’
],
’wins ’: [30, 28, 32, 29, 32, 26, 21, 17, 19],
’draws ’: [6, 7, 4, 5, 4, 7, 8, 10, 8],
’losses ’: [2, 3, 2, 4, 2, 5, 9, 11, 11]
}
football = pd.DataFrame(data , columns = [
’year ’, ’team ’, ’wins ’, ’draws ’, ’losses ’
]
)