Write a function row_sums that takes a numpy array np_array as its input parameter. Within the function, determine the sum of each row. (Note that there are ful methods in numpy to so you don’t have to write a whole bunch of code!) Store the sum of each row as a list. Return the list of the row sums from the function.
Please let us know your comments regarding the correct answer to the question. Each of your comments will be evaluated by us and correct comments will be shared.