Masters in Statistics with Python

Use the np.histogram() function to determine the busiest six hours of the day. Save the result to times_hist on line 12.

Use the following range and number of bins.

  • Range: 0 to 24
  • Bins: 4

Can you determine which six-hour period is the busiest?

In the above program, how to get the “times_hist” on line 12.

Is this for a school project/test?
If so, we don’t answer such questions on the forums.

https://discuss.codecademy.com/guidelines

If it’s not related to that, then please post the link to the CC lesson for reference.

Hi I’am a professional, learning Data Science to grow in career. Thank you for your response. In Codecademy where we need to ask such doubts.

Can you provide a link to the lesson?

How to provide the Link