Back

Make a plot with Pandas

Pandas

Stamps

Initial conditions

Categories:

Google Cloud


To get a DataFrame containing the data we need we first have to wrangle the raw query output. Enter the following code in a new cell to convert the list of arrival_delay_deciles into a Pandas Series

CODE...
...
Prog

Since we want to relate departure delay times to arrival delay times we have to concatenate our percentiles table to the departure_delay field in our original DataFrame. Execute the following cod

CODE...
...
Prog

Before plotting the contents of our DataFrame, we'll want to drop extreme values stored in the 0% and 100% fields. Execute the following code in a new cell:

CODE...
...
Prog

Final conditions:

;

Organize your work