Question: PYTHON ASSIGNMENT: I do not need you to answer the questions since you do not have all the files i need to upload, i more
PYTHON ASSIGNMENT: I do not need you to answer the questions since you do not have all the files i need to upload, i more just need to know the code to write for each question to pull up and analyse the data.
1. Import the pandas and matplotlib.pyplot packages
2. Load the whitewine.csv dataset and assign it to a dataframe named as: df
3.1 Inspect df by previewing its first 5 rows
3.2 Inspect df by providing information related to its columns, their data types, and the numbers of their rows
4. show the descriptive statistics (e.g., mean, std, min, max) of df (no need to use any parameters).
5. show the correlations of all columns in df (no need to use any parameters).
6. Create scatter plots for each pair of the columns (highest and lowest correlations) identified above. Set the alpha value to 0.3. Use different marker and color for each of the scatter plots. Make sure xlabel and ylabel are specified with corresponding column names in each scatter plot.
7 .Create histograms for all columns in df, set the bins to 20. Histogram can have xlabel as well, just like scatter plot. Use each column's name to set the xlabel for each histogram.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
