LoslegenKostenlos loslegen

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!

Diese Übung ist Teil des Kurses

Python for MATLAB Users

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# 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 bearbeiten und ausführen