Update error_check.py

Removed writing DataFrame to disk.