Aan de slagGa gratis aan de slag

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!

Deze oefening maakt deel uit van de cursus

Python for MATLAB Users

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# 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))
Code bewerken en uitvoeren