Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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()
- Determine the shape, number of dimensions and type of elements in the numpy array nparr
- Determine the standard deviation of all elements in nparr
- Determine the position (not the value) of the maximum value element in nparr
- Create an array of the same shape as nparr but filled with zeros
- Create an array of the same shape as nparr but filled with ones
- Create an array of the same shape as nparr but where all elements are the square root values
- 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started