Dear Maintainer,

According to [1][2]|

 Support for negative integer for :attr:`pd.options.display.max_colwidth`
 is deprecated in favor of using ``None`` (:issue:`31532`)|

I guess this line:

 with pd.option_context('display.max_colwidth', -1):

should be changed in:

 with pd.option_context('display.max_colwidth', None):

in [3].

I've not tested #1053942[4] disappears after this bug is fixed.

Kind Regards
 
[1] https://github.com/pandas-dev/pandas/pull/31569
[2] 
https://sources.debian.org/src/pandas/2.1.4%2Bdfsg-4/doc/source/whatsnew/v1.0.1.rst/#L46
[3] 
https://sources.debian.org/src/q2templates/2023.9.0%2Bds-1/q2templates/util.py/#L46
[4] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053942

Reply via email to