The limit is your memory. (but these restrictions are really big)
But when you want to display a DataFrame in a "Jupyter Notebook", there are certain predefined limits.
For example, you can:
print (pd.options.display.max_columns)
The same idea works with strings:
display.max_rows
Read more about: https://pandas.pydata.org/pandas-docs/stable/options.html
source share