Completed documentation for data.py