[#64349062] Added 2 new functions in data.py

Added 2 functions in data.py Graph Collection method, code is yet to be
completed.