-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
Closed
Labels
DeprecateFunctionality to remove in pandasFunctionality to remove in pandasOutput-Formatting__repr__ of pandas objects, to_string__repr__ of pandas objects, to_stringRegressionFunctionality that used to work in a prior pandas versionFunctionality that used to work in a prior pandas version
Milestone
Description
Code Sample, a copy-pastable example if possible
import pandas as pd
pd.set_option("display.max_colwidth", -1)Problem description
There is a regression with "display.max_colwidth". In the past, it was only accepting integer. The way to no limit the size was to pass -1. In pandas 1,0, this option becomes more consistent and not limiting the width should be set with None. However, the support for negative integer was removed.
Thus, one would need to either set to -1 or None depending on the pandas version. It would be best to support both options. Potentially, support for negative integer could be removed with a deprecation cycle.
Metadata
Metadata
Assignees
Labels
DeprecateFunctionality to remove in pandasFunctionality to remove in pandasOutput-Formatting__repr__ of pandas objects, to_string__repr__ of pandas objects, to_stringRegressionFunctionality that used to work in a prior pandas versionFunctionality that used to work in a prior pandas version