get_instructor_schedule("smith", schedule_df = schedule) # partial match
get_instructor_schedule("^Smith,", schedule_df = schedule) # regex: starts with Smith
get_instructor_schedule("Robinson|Smith", schedule_df = schedule) # regex: matches either
Run the code above in your browser using DataLab