Get startedGet started for free

Getting started with NumPy arrays

The Fremont Bridge is a major thoroughfare for cyclists commuting into downtown Seattle from the north. Understanding how cycling traffic varies throughout the year is important for any future development into cycling infrastructure that connects to this high traffic route.

A numpy array daily_riders, is loaded into the session, which has the average number of daily riders across the Fremont Bridge for each month in 2016, starting in January and ending in December. Go explore this array!

This exercise is part of the course

Python for MATLAB Users

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Determine the type and length of daily_riders
data_type = ____(____)
data_length = len(____)

print("daily_riders is a {} of length {}".format(data_type.__name__, data_length))
Edit and Run Code