Closed
Description
Pandas version checks
- I have checked that the issue still exists on the latest versions of the docs on
main
here
Location of the documentation
Documentation problem
it is said in this option's possible values description:
display.max_info_rows : int or None
while the code:
import pandas as pd
pd.set_option('display.max_info_rows', None)
df = pd.DataFrame()
df.info()
causes the 'TypeError' with the message:
TypeError: '>' not supported between instances of 'int' and 'NoneType'
and the adjacent, related option 'display.max_info_columns' is described as ': int' only
Suggested fix for documentation
fix the row:
display.max_info_rows : int or None
to:
display.max_info_rows : int