MulaiMulai sekarang secara gratis

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!

Latihan ini adalah bagian dari kursus

Python for MATLAB Users

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# 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 dan Jalankan Kode