I have following table:
Username Comment
userx comment(not all)...
usery comment(not all)...
I want to see entire comment column in df
Try this
pd.set_option('display.width', None)
pandas will correctly auto-detect the width of dataframe and will display all columns in single line.
If you want all columns and all rows to be displayed as well use all of below
pd.set_option('display.max_rows', None)
pd.set_option('display.max_columns', None)
pd.set_option('display.width', None)
pd.set_option('display.max_colwidth', -1)