Python pandas: TypeError: Index(...) must be called with a collection of some kind, 'Email' was passed

0 votes

I am trying to create a Pandas Dataframe and the code I am using is as follows:


When I run this line, I get the below error:

TypeError: Index(...) must be called with a collection of some kind, 'Email' was passed

Please help

Mar 28, 2019 in Python by Shri

3 answers to this question.

0 votes

The syntax is not right. The right syntax is as follows:

answered Mar 28, 2019 by Tina
0 votes


answered May 19, 2019 by anonymous
Same as above answer!
0 votes
It is not working because your code is not correct please try to this type of code I think so its working


I hope it is working because I face this type of problem.

Try this.
answered May 12 by anonymous

edited May 13 by Gitika

Related Questions In Python

0 votes
2 answers

Finding the index of a character in python string

You can use word.find('o') as well to ...READ MORE

answered Jun 1, 2018 in Python by george
• 200 points
0 votes
1 answer

How do I generate some random numbers with a distribution using Python?

scipy.stats.rv_discrete is what you ned IMHO. You can supply ...READ MORE

answered Oct 31, 2018 in Python by Anirudh
• 2,080 points

edited Dec 14, 2018 by Anirudh 179 views
–1 vote
1 answer
+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 6, 2019 in Python by Neha
• 330 points

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

Using Python what kind of applications can be built?  follow the link and You will see ...READ MORE

answered Nov 14, 2018 in Python by Theodor
• 740 points