This problem requires a Pro subscription. Upgrade to access all 15 industry domains and 1,500+ questions.
Upgrade to ProYou are a Data Scientist at Grubhub. The demand-forecasting team needs time-based features to predict order volume. For every order, you need to extract the hour of day, day of the week, and two binary flags: whether the order was placed on a weekend, and whether it fell during a peak ordering window.
You are a Data Scientist at Grubhub. The demand-forecasting team needs time-based features to predict order volume. For every order, you need to extract the hour of day, day of the week, and two binary flags: whether the order was placed on a weekend, and whether it fell during a peak ordering window.