Hi, could you please help me to fix the below error for the project 2? thanks.
"IndexError Traceback (most recent call last)
in ()
74
75 # Calling the function to execute project 2
—> 76 getStats(’/home/bintaoli6311/got-your-back/GYB-GMail-Backup-bintaoli0505@gmail.com/’,‘bintaoli0505@gmail.com’)
in getStats(path1, emailidPersonal)
32 elif line.startswith(“Date:”):
33 dateExt=re.findall("[ ].*[ \n]",line)[0].strip()
—> 34 hourSlot=dateExt.split(" “)[4].split(”:")[0]
35 # Appending to the data frame
36 index+=1
IndexError: list index out of range"
Regards,
Bintao Li