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

0 votes

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 in Machine Learning by akhtar
• 10,580 points

1 answer to this question.

0 votes


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 by MD
• 23,050 points

Related Questions In Machine Learning

0 votes
1 answer
0 votes
0 answers

Not able to import images.

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

May 14 in Machine Learning by sangeethstanly
• 120 points
0 votes
1 answer
+1 vote
2 answers

ValueError: Not enough values to unpack

Make the following changes in your script, ...READ MORE

answered Jun 24, 2019 in Machine Learning by Omkar
• 69,060 points
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,590 points
+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 947 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 in Machine Learning by MD
• 23,050 points