0

I'm using Spyder and Python 3.6, the dataframe has up to 3,000 rows, when it is sent to print, I get the data truncated, even if I use print (selecc.to_string()), when the dataframe is printed to a TXT file, I can see the complete data, using the code: np.savetxt('ATPRes.txt', selecc,fmt="%s") Any help will be much appreciated, thanks in advance! P.S. Already tried the option given by a previous answer--> with pd.option_context('display.max_rows', None, 'display.max_columns', 3): print(selecc)

1 Answers1

2

use:

#display 9999999 rows
pd.options.display.max_rows = 999999

But be careful, printing out a huge table might take up a lot of memory!