Sie sind auf Seite 1von 6
BASKETBALL FREE THROWS Homework Exercise Python Programming A-Z™ © Kirill Eremenko

BASKETBALL FREE THROWS

Homework Exercise

BASKETBALL FREE THROWS Homework Exercise Python Programming A-Z™ © Kirill Eremenko

Python Programming A-Z™

© Kirill Eremenko

Python Programming A-Z™ © Kirill Eremenko

Python Programming A-Z™

© Kirill Eremenko

You have been supplied data for two more additional in-game statistics:

Free Throws

Free Throw Attempts

You need to create three plots that portray the following insights:

Free Throw Attempts per game

Accuracy of Free Throws

Player playing style (2 vs 3 points preference) excluding Free Throws*

*Each Free Throw is worth 1 point

The data has been supplied in the form of vectors. You will have to create the two matrices before you proceed with the analysis

Python Programming A-Z™

© Kirill Eremenko

HINT #1 Python Programming A-Z™ © Kirill Eremenko

HINT #1

HINT #1 Python Programming A-Z™ © Kirill Eremenko

Python Programming A-Z™

© Kirill Eremenko

The matrix calculation for part 3 is: (Points - FreeThrows) / FieldGoals Python Programming A-Z™

The matrix calculation for part 3 is:

(Points - FreeThrows) / FieldGoals

The matrix calculation for part 3 is: (Points - FreeThrows) / FieldGoals Python Programming A-Z™ ©
The matrix calculation for part 3 is: (Points - FreeThrows) / FieldGoals Python Programming A-Z™ ©

Python Programming A-Z™

© Kirill Eremenko

HINT #2 Python Programming A-Z™ © Kirill Eremenko

HINT #2

HINT #2 Python Programming A-Z™ © Kirill Eremenko

Python Programming A-Z™

© Kirill Eremenko