Write a Python function to clean a dataset containing null values and outliers based on a specific rolling window.