what is attribute error in python

0 votes
can you give me an example to resolve this error?
Mar 27, 2019 in Python by Waseem
• 4,540 points
1,345 views

1 answer to this question.

0 votes
import pandas

df = pd.read_csv('filename')

it will give attribute error.

what you can do is 

import pandas as pd

df = pd.readcsv('filename')

this will resolve the error.
answered Mar 27, 2019 by Mohammad
• 3,230 points

Related Questions In Python

0 votes
0 answers

what is a name error in python?

why am i getting a name error ...READ MORE

Mar 8, 2019 in Python by anonymous
1,087 views
0 votes
1 answer

what is a type error in python?

you get a type error when you ...READ MORE

answered Mar 8, 2019 in Python by Waseem
• 4,540 points
1,451 views
0 votes
0 answers

What is the type-error in python?

How to resolve this error, or keep ...READ MORE

Jul 31, 2019 in Python by Waseem
• 4,540 points
613 views
+2 votes
3 answers

what is the practical use of polymorphism in Python?

Polymorphism is the ability to present the ...READ MORE

answered Mar 31, 2018 in Python by anto.trigg4
• 3,440 points
4,881 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,434 views
0 votes
1 answer
+5 votes
6 answers

Lowercase in Python

You can simply the built-in function in ...READ MORE

answered Apr 11, 2018 in Python by hemant
• 5,790 points
4,071 views
0 votes
2 answers

what is the procedure to the version of python in my computer?

Execute the following command on your terminal: python ...READ MORE

answered Mar 20, 2019 in Python by Alia
927 views
0 votes
1 answer

What is a tuple in python?

A tuple is a collection data type ...READ MORE

answered May 21, 2019 in Python by Mohammad
• 3,230 points
996 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