Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Set your np random seed to 5 6 Q 1 : Create a random integer array of integers 0 to 1 9 of size 1

Set your np random seed to 56 Q1: Create a random integer array of integers 0 to 19 of size 10 by 10. Assign to Q1. Only create this object once! If you create it multiple times you will overwrite your array with new values: Q2: Create a subarray of Q1 called Q2 that contains the following: Q3 Create a subarray that obtains the following values from Q1 and assign them to Q3: [[187][41][77]] Q4: Use the reshape method to generate the following from Q3 and assign it to Q4: [[1874][177]] Q5: Create two random integer array of values 0 to 14 of size ten called x and y. Concatenate x and y using the concatenate method. Assign it to Q5. Q6: Use the split method on Q5 to create the following Q6a: [5325] Q6b: [1511114104] Q6c: [397677] Q6d: [1404] Q7: Use the sum method to calculate the sum of Q5. Assign it to Q7. Q8: Create a random int array consisting of 50 integers from 48 to 85. Assign the mean of that array to Q8. give me these codes no indices

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Current Trends In Database Technology Edbt 2006 Edbt 2006 Workshops Phd Datax Iidb Iiha Icsnw Qlqp Pim Parma And Reactivity On The Web Munich Germany March 2006 Revised Selected Papers Lncs 4254

Authors: Torsten Grust ,Hagen Hopfner ,Arantza Illarramendi ,Stefan Jablonski ,Marco Mesiti ,Sascha Muller ,Paula-Lavinia Patranjan ,Kai-Uwe Sattler ,Myra Spiliopoulou ,Jef Wijsen

2006th Edition

3540467882, 978-3540467885

More Books

Students also viewed these Databases questions

Question

What magazine and ads did you choose to examine?

Answered: 1 week ago