You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exercise N36 - Extract the integer part of a random array of positive numbers using 4 different methods np.modf() returns two arrays: one with the fractional part and one with the integer part.
Exercise N81 - Consider an array Z = [1,2,3,4,5,6,7,8,9,10,11,12,13,14], how to generate an array R = [[1,2,3,4], [2,3,4,5], [3,4,5,6], ..., [11,12,13,14]]?
Using np.roll function
Exercise N36 - Extract the integer part of a random array of positive numbers using 4 different methods
np.modf() returns two arrays: one with the fractional part and one with the integer part.
Exercise N81 - Consider an array Z = [1,2,3,4,5,6,7,8,9,10,11,12,13,14], how to generate an array R = [[1,2,3,4], [2,3,4,5], [3,4,5,6], ..., [11,12,13,14]]?
Using np.roll function
The text was updated successfully, but these errors were encountered: