Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

UPDATE Read the migration plan to Notebook 7 to learn about the new features and the actions to take

ke if you are using extensions - Please note that updating to Notebook 7 might break some of Don't show anymore
your extensions.

Week4_Lesson2_Numpy_Seminar_3 Last Checkpoint: 27 minutes ago Autosave Failed! Logout

File Edit View Insert Cell Kernel Widgets Help Not Connected error Not Trusted Python 3 (ipykernel) 

 +       Run    Code 

In [38]: Salary[0,3]

Out[38]: 21262500

In [40]: Salary[0][3]

Out[40]: 21262500

In [44]: Salary[Pdict["LeBronJames"],Sdict["2014"]]

Out[44]: 20644400

In [46]: import warnings as w


w.filterwarnings('ignore')
a1 = np.matrix.round(FieldGoals / Games)
a1[Pdict["LeBronJames"],Sdict["2014"]]

Out[46]: 9.0

In [52]: import matplotlib.pyplot as plt


%matplotlib inline
#plt.plot()
#plt.plot(Salary[0])
plt.plot(Salary[0], c = 'Black', ls ='--', marker='s', ms = 5)
plt.xticks(list(range(0,10)), Seasons, rotation = 'vertical')
plt.show()

You might also like