Fastai V1 and pandas 1.0.0: error in

Pandas 1.0.0 was recently released (end of Jan) and not surprisingly things that worked with pre 1.0.0 releases now fail. breaks when calling pd.option_context(‘display.max_colwidth’, -1). Replacing the -1 with None fixes the problem. This same problem probably occurs in other functions as well.

with pd.option_context(‘display.max_colwidth’, None):

I’ve fixed it everywhere I could find in v1, so this shouldn’t be a problem anymore.