diff --git a/python/helpers/pydev/_pydevd_bundle/tables/pydevd_numpy.py b/python/helpers/pydev/_pydevd_bundle/tables/pydevd_numpy.py index cb8590243fc5..05c6d5545584 100644 --- a/python/helpers/pydev/_pydevd_bundle/tables/pydevd_numpy.py +++ b/python/helpers/pydev/_pydevd_bundle/tables/pydevd_numpy.py @@ -10,7 +10,10 @@ NP_ROWS_TYPE = "int64" is_pd = False try: import pandas as pd - + version = pd.__version__ + majorVersion = int(version[0]) + pd.set_option('display.max_colwidth', None) + is_pd = majorVersion>=1 is_pd = True except: pass