Following is a timed coding practice test consisting of questions that are not graded.
Note
- For all coding questions, please use the following command in your code after the pandas import statement to make sure that your dataframe is printed properly:
- pd.set_option(‘display.max_columns’, 500)
- Missing this might lead to not all the columns being printed and the correct code being rejected.
- .Please use only the “round()” function for rounding off values. Your code might be rejected if you use any other method for rounding off values.
Additional Resources:
Here are some additional libraries and functions that will help you to solve the questions. Also, a demonstration of the necessary functions and tools is present here.
- Normal Distribution using scipy.stats.
- Binomial Distribution using scipy.stats.
- Finding Combinations of a list of entities using itertools.