Databricks Binary Search Python Example