Python Forum
Seeing al the data in a dataframe or numpy.array - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Seeing al the data in a dataframe or numpy.array (/thread-37706.html)



Seeing al the data in a dataframe or numpy.array - Led_Zeppelin - Jul-11-2022

I am programming in Python and reading large file. Itis a csv file. When I code df on a single line it gives me a lot of information on the file, the data to be specific. However, it does give me enough info.

When going horizontally, going across a row the data columns stop after about 10 columns and uses an ellipsis (...) to say this is continued and it then finishes the whole row by picking up and showing the data for the last ten columns. That leaves of over 30 missing columns in my case.

Now I want to see those columns and what is in them. I do not want an ellipsis. I want the data instead of those missing columns.

I know that this also happens in a similar fashion when going vertically down a column. Several rows are missing and in their place is an ellipsis.

How do I see all the data and no ellipsis?

Any help appreciated.

Respectfully,

LZ


RE: Seeing al the data in a dataframe or numpy.array - Larz60+ - Jul-11-2022

set options:
pd.set_option("display.max_rows", None, "display.max_columns", None)