# To run this notebook as done in the README GIFs, you must first locally download the 2015 NYC Taxi Trip Data.
import urllib.request
url_path = "https://modin-datasets.s3.amazonaws.com/testing/yellow_tripdata_2015-01.csv"
urllib.request.urlretrieve(url_path, "taxi.csv")
import warnings
warnings.filterwarnings("ignore")
import pandas as pd
%time df = pd.read_csv("taxi.csv", parse_dates=["tpep_pickup_datetime", "tpep_dropoff_datetime"], quoting=3)
CPU times: user 30.7 s, sys: 4.25 s, total: 35 s Wall time: 35.3 s
%time isnull = df.isnull()
CPU times: user 1.37 s, sys: 300 ms, total: 1.67 s Wall time: 1.67 s
%time rounded_trip_distance = df[["pickup_longitude"]].applymap(round)
CPU times: user 3.07 s, sys: 305 ms, total: 3.37 s Wall time: 3.37 s