Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- We have the file data.csv
- 1 - Initialization
- # Question 1.1 (1 point): Initialize the pandas, seaborn and matplotlib.pylot environment.
- # Question 1.2 (1 point): Create a use variable named data from the data import from data.csv. It can be used for the whole project.
- 2 - Web browser
- Display and interpret the data in the data.csv file.
- # Question 2.1 (1 point): Create a page view of the html data. You can limit your page to a few lines.
- # Question 2.2 (1 point): Make an instruction to open your html web page from question 2.1 in a browser.
- 3 - Variables
- # Question 3 (1 point): ): Give the instruction to display the types and attributes of the created data variable in question 1.2.
- 4 - Histograms
- Use the distplot function to plot the histogram of the Overall value. Try to play with the parameters hist, bins and kde.
- # Question 4.1 (1 point): Give two examples of quantitative data and two examples of categorical data. You can use the Overall column as a basis for example from the data.cvs file.
- # Question 4.2 (1 point): Try to draw some conclusions from the histogram. What is the approximate value of the modal? Do you see any outliers? What else do you observe?
- # Question 4.3 (1 point): Use pandas to obtain the mean, median, standard deviation and range of the Overall value.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement