AttributeError: partially initialized module 'pandas' has no attribute 'read_csv' (most likely due to a circular import)
I get the above error when I run the below code
import time
import os
import pandas
while True :
if os.path.exists("files/temps_today.csv") :
data= pandas.read_csv("files/temps_today.csv")
print(data.mean())
else :
print("File does not exist.")
time.sleep(10)