i would like assistance on my code after i input y data temp x data drop temp axis 1

0 votes
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'
Jul 30, 2019 in Python by mimo
567 views
Hi @mimo. As mentioned in the error, pandas dataframe has no attribute named "temp". Can you share your code and explain what you are trying to achieve with it?

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Python

0 votes
1 answer

How do I determine if my python shell is executing in 32bit or 64bit mode on OS X?

UPDATED: One way is to look at sys.maxsize as ...READ MORE

answered Dec 11, 2018 in Python by aryya
• 7,460 points
1,771 views
+2 votes
0 answers
0 votes
1 answer

How to change the “tick frequency” on x or y axis in matplotlib?

You could explicitly set where you want ...READ MORE

answered Jan 5, 2021 in Python by Gitika
• 65,770 points
18,070 views
+2 votes
1 answer

How can I record the X,Y limits of a displayed X,Y plot using the matplotlib show() module?

A couple hours after posting this question ...READ MORE

answered Dec 27, 2018 in Python by anonymous
1,166 views
0 votes
1 answer

How can I import tensorflow libraries in my Python code?

You are doing it wrong as tf is not ...READ MORE

answered Dec 31, 2018 in Python by charlie_brown
• 7,720 points
6,361 views
0 votes
1 answer

I have a code that I want to use alter values between two columns in my dataset

Hi @elvin. I read your script and ...READ MORE

answered Mar 17, 2019 in Python by Omkar
• 69,220 points
922 views
0 votes
1 answer
0 votes
1 answer

Python 3.x on python(x,y)?

You can make Python 2 behave the ...READ MORE

answered May 7, 2019 in Python by SDeb
• 13,300 points
2,144 views
+1 vote
0 answers

ValueError help with Simple Exponential Smoothing analysis on my data set.

I'm very new, and attempting to teach ...READ MORE

Jul 31, 2019 in Python by Declan

edited Jul 31, 2019 4,577 views
0 votes
1 answer

How can I run Jupyter code on Pycharm?

You can do this by installing the ...READ MORE

answered Aug 8, 2019 in Python by Zulaikha
• 910 points
1,396 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP