This error appeared:
Traceback (most recent call last):
File "C:/Users/DELL/Desktop/New folder/students.py", line 16, in <module>
y = data.temp
File "C:\Users\DELL\Anaconda3\lib\site-packages\pandas\core\generic.py", line 3614, in __getattr__
return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'temp'