Randomly generate 15 numbers rounded to 2 decimal places using the Numpy random function “normal()” with a mean of 20 and standard deviation of 5. Use seed of 1. Create a Pandas series of these 15 randomly generated numbers. Suppose that these numbers represent hourly wages of fifteen workers. Use a Pandas functions determine the average wage rate and the corresponding sample standard deviation Use a Boolean mask and Pandas function determine how many workers make less than $15 per hour Use a Boolean mask and Pandas function generate summary descriptive statistics for those earning less than $20 an hour Suppose that 5% raise for all individuals is approved. Create a new Pandas series for the new wage rate rounded to 2 decimal places
Randomly generate 15 numbers rounded to 2 decimal places using the Numpy random function “normal()” with a mean of 20 and standard deviation of 5. Use seed of 1. Create a Pandas series of these 15 randomly generated numbers. Suppose that these numbers represent hourly wages of fifteen workers.
Use a Pandas functions determine the average wage rate and the corresponding sample standard deviation
Use a Boolean mask and Pandas function determine how many workers make less than $15 per hour
Use a Boolean mask and Pandas function generate summary descriptive statistics for those earning less than $20 an hour
Suppose that 5% raise for all individuals is approved. Create a new Pandas series for the new wage rate rounded to 2 decimal places
Step by step
Solved in 4 steps with 2 images