Question: import pandas as pd import numpy as np # SECtION A data nparr = np.arange(145, 217).reshape(12, 6) # data location data_url = 'https://raw.githubusercontent.com/plotly/datasets/master/2011_february_us_airport_traffic.csv' a_df =

import pandas as pd import numpy as np

# SECtION A data nparr = np.arange(145, 217).reshape(12, 6)

# data location data_url = 'https://raw.githubusercontent.com/plotly/datasets/master/2011_february_us_airport_traffic.csv' a_df = pd.read_csv(data_url, header=0) a_df.head()

  1. Determine the shape, number of dimensions and type of elements in the numpy array nparr
  2. Determine the standard deviation of all elements in nparr
  3. Determine the position (not the value) of the maximum value element in nparr
  4. Create an array of the same shape as nparr but filled with zeros
  5. Create an array of the same shape as nparr but filled with ones
  6. Create an array of the same shape as nparr but where all elements are the square root values
  7. Create an array result of shape 12 by 12 resulting from multiplication of nparr with transpose(nparr). Hint: use np.dot

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!