# Create a pandas series s of numbers from 1 to 20 # Create a pandas DataFrame df of 8 rows 4 columns of random numbers between 0 to 10 with each row index being numbers 1 to 8, and columns being red, green, blue, and alpha # Run describe on df # Take the transpose of df to see result # Sort df by alpha and store in df2 # Multiply first 4 sorted rows of df2 by 2 # Add 5 to each value in alpha column of df2 # Get only the rows where both red and green are above 5 and store in df3 # Get only the columns blue and alpha from df3 and store into df4 # Load into pandas dataframe df5 StudentPerformanceFactors.csv # Remove any rows with missing data from df5 # Describe df5 # Sort the grades from best to worst # Grab only the men and store in df5_men # Calculate the mean of exam scores in df5_men # BONUS: Get average time spent studying for men who got 80 or over