Write a Python function to process and clean a streaming dataset before it hits our inference endpoint at Berkeley Research Group.