diff --git a/100_Numpy_exercises_with_hints.md b/100_Numpy_exercises_with_hints.md index 75d0d29f..86f115d3 100644 --- a/100_Numpy_exercises_with_hints.md +++ b/100_Numpy_exercises_with_hints.md @@ -15,7 +15,7 @@ File automatically generated. See the documentation to update questions/answers/ #### 1. Import the numpy package under the name `np` (★☆☆) `hint: import … as` #### 2. Print the numpy version and the configuration (★☆☆) -`hint: np.__version__, np.show_config)` +`hint: np.__version__, np.show_config())` #### 3. Create a null vector of size 10 (★☆☆) `hint: np.zeros` #### 4. How to find the memory size of any array (★☆☆) @@ -247,4 +247,4 @@ np.sqrt(-1) == np.emath.sqrt(-1) #### 99. Given an integer n and a 2D array X, select from X the rows which can be interpreted as draws from a multinomial distribution with n degrees, i.e., the rows which only contain integers and which sum to n. (★★★) `hint: np.logical_and.reduce, np.mod` #### 100. Compute bootstrapped 95% confidence intervals for the mean of a 1D array X (i.e., resample the elements of an array with replacement N times, compute the mean of each sample, and then compute percentiles over the means). (★★★) -`hint: np.percentile` \ No newline at end of file +`hint: np.percentile`