Skip to main content
← CoursesData Science AppliedModule 3 · Modeling & Evaluationmerge_asof for backward-join on timepredict48 / 100
💬 Discuss🧪 Playground+75 XP
Task
📝 **Question:** Predict the output bid list for the snippet above. 📋 Pick the right answer. 💡 **Hint:** Re-read the theory above if unsure.

Keep going

🔮 Predict the output

Read the code carefully

# trades at 10:00:00, 10:00:05, 10:00:10
# quotes at 09:59:50 (99.5), 10:00:03 (101.5), 10:00:08 (100.5)
# direction='backward': pick latest quote ≤ trade time
print([99.5, 101.5, 100.5])

What will the program print? Write here:

📣 Help someone learn PythonShare this lesson with a friend — the first 15 are free, no signup.Tweet

💬 Discussion

Be the first to ask a question or share a tip.
Sign in to join the discussion. Reading is free.
Loading discussion…