diff --git a/doc/source/dsintro.rst b/doc/source/dsintro.rst index d674ee293e4ed..927cabb9cbd71 100644 --- a/doc/source/dsintro.rst +++ b/doc/source/dsintro.rst @@ -720,6 +720,21 @@ option: pd.DataFrame(np.random.randn(3, 12)) +Note : You can also adjust the max width of the individual columns by using `display.max_colwidth` +option: + +.. ipython:: python + + datafile={'filename':['filename_01','filename_02'], + 'path':["media/user_name/storage/folder_01/filename_01", + "media/user_name/storage/folder_02/filename_02"]} + + pd.set_option('display.max_colwidth',30) + pd.DataFrame(data=datafile) + + pd.set_option('display.max_colwidth',100) + pd.DataFrame(data=datafile) + .. ipython:: python :suppress: