A retail company has daily sales data stored in a NumPy arra…

A retail company has daily sales data stored in a NumPy array. Explain how you would use NumPy to calculate the average daily sales, find the day with maximum sales, and identify how many days had sales above a certain threshold. Why would NumPy be faster than using Python loops for these calculations?

A company tracks website performance with a (30, 24) array r…

A company tracks website performance with a (30, 24) array representing 30 days of hourly page views. Explain how you would use NumPy to: (1) find the day with the highest total traffic, (2) calculate the average traffic for each hour of the day, and (3) identify all hours that exceeded 1000 views.