是否有最大尺寸,最大没有.列数,最大行数? [英] Is there a max size, max no. of columns, max rows?
本文介绍了是否有最大尺寸,最大没有.列数,最大行数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
.. 如果是这样,pandas 的最大限制是多少?
.. and, if so, what are those max limits of pandas?
抱歉,这个问题看起来很初级,但我在 pandas.pydata.org 上找不到答案.
Sorry, this question seems elementary but I couldn't find an answer at pandas.pydata.org.
推荐答案
限制是你的记忆力.(但这些限制真的很大)
The limit is your memory. ( but these limits are really large )
但是当您想在Jupyter Notebook"中显示 DataFrame 表时,有一些预定义的限制.
But when you want to display a DataFrame table in "Jupyter Notebook", there is some predefined limits.
例如您可以:
print (pd.options.display.max_columns) # <--- this will display your limit
pd.options.display.max_columns = 500 # this will set limit of columns to 500
同样的想法适用于行:
display.max_rows
更多详情:https://pandas.pydata.org/pandas-docs/stable/options.html
这篇关于是否有最大尺寸,最大没有.列数,最大行数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文