The correct code to use if you cannot view all your data because it contains too many columns is:
data.set_option("display.max.columns", None)
This sets the display option for the maximum number of columns to None, allowing all columns to be displayed.