not able to see all columns and rows of a pandas DataFrame

+1 vote

Hi Guys,

I uploaded one csv file in my jupyter notebook. I created one dataframe in pandas to read that csv file. But I am not able to see all the columns and rows.

How can I see my whole dataset?

Thank You

Apr 8, 2020 in Machine Learning by akhtar
• 38,260 points
5,533 views

1 answer to this question.

0 votes

Hi@akhtar,

Your data set contains lots of rows and columns, but jupyter shows you some of your data by default. You can see your whole dataset by adding the below given codes.

import pandas as pd
pd.set_option('display.max_rows', None)
pd.set_option('display.max_columns', None)
pd.set_option('display.width', None)

Now try with this, it will work.

answered Apr 8, 2020 by MD
• 95,460 points
I have also the same problem, its solved by that code thanks a lot for help bro

Hi, @There,

Thank you for your contribution to the Edureka Community.

Register/Sign up on the community to gain points for further contributions. You may ask questions, answer, upvote, and downvote an answer. Each of these would fetch you points and you could be among the top contributors and win exciting merchandise from Edureka.

Cheers!

thankyou sooo much

Related Questions In Machine Learning

0 votes
1 answer
0 votes
1 answer

Can I draw a regression line and show parameters using scatterplot with a pandas dataframe?

There isn't a parameter for DataFrame.plot(). Seaborn, ...READ MORE

answered Mar 7, 2022 in Machine Learning by Dev
• 6,000 points
2,958 views
0 votes
0 answers

Not able to import images.

It show my syntax is incorrect.Please help ...READ MORE

May 15, 2020 in Machine Learning by sangeethstanly
• 120 points
830 views
0 votes
1 answer

Python : Cannot Import Data using Pandas

So< if your error says: ...READ MORE

answered Dec 7, 2018 in Data Analytics by Upasana
• 8,620 points
5,688 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,470 views
0 votes
1 answer

How can I train a model and calculate the accuracy of CBR algorithm?

Hi@Abubakar, You can find lots of documents on ...READ MORE

answered Oct 17, 2020 in Machine Learning by MD
• 95,460 points
815 views
+1 vote
1 answer

ValueError: could not convert string to float in Machine learning.

Hi@akhtar, You are trying to use constant variable ...READ MORE

answered Apr 14, 2020 in Machine Learning by MD
• 95,460 points
27,039 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