Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pandas/core/config_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def use_numba_cb(key) -> None:
"""

pc_max_info_rows_doc = """
: int
: int or None
df.info() will usually show null-counts for each column.
For large frames this can be quite slow. max_info_rows and max_info_cols
limit this null check only to frames with smaller dimensions than
Expand Down Expand Up @@ -322,7 +322,7 @@ def is_terminal() -> bool:
"max_info_rows",
1690785,
pc_max_info_rows_doc,
validator=is_int,
validator=is_instance_factory((int, type(None))),
)
cf.register_option("max_rows", 60, pc_max_rows_doc, validator=is_nonnegative_int)
cf.register_option(
Expand Down Expand Up @@ -899,4 +899,4 @@ def register_converter_cb(key) -> None:
"dtype, which will be the default in pandas 3.0 "
"(at which point this option will be deprecated).",
validator=is_one_of_factory([True, False]),
)
)